SBS Replay Variable Names

From SBS wiki
Revision as of 17:31, 16 March 2022 by Sseeds (Talk | contribs)

Jump to: navigation, search

<<Student Analysis

HCal Variable Definitions

Notes

  • These definitions from the following source files defined in SBS-offline. See github for more information.
    • SBSCalorimeter.cxx
    • SBSGenericDetector.cxx
  • One can search any working build of SBS-offline for “rVarDef” to find the location of these definitions.
    • From the build src directory: grep -nr “rvardef*” .
  • All definitions recorded in the following order: { <variable extension>, <Definition>, <SBS-offline designation> }
  • All definitions below are accessed from the tree with the prepend sbs.hcal.
    • Ex. sbs.hcal.clus_blk.atime

Definitions

Cluster Variables

   { "nclus", "Number of clusters meeting threshold", "fNclus" },
   { "e",      "Energy (MeV) of largest cluster",    "GetE()" },
   { "e_c",    "Corrected Energy (MeV) of largest cluster",    "GetECorrected()" },
   { "atimeblk", "ADC time of highest energy block in the largest cluster", "GetAtime()" },
   { "tdctimeblk", "TDC time of highest energy block in the largest cluster", "GetTDCtime()" },
   { "eblk",   "Energy (MeV) of highest energy block in the largest cluster",    "GetEBlk()" },
   { "eblk_c", "Corrected Energy (MeV) of highest energy block in the largest cluster",    "GetEBlkCorrected()" },
   { "rowblk", "Row of block with highest energy in the largest cluster",    "GetRow()" },
   { "colblk", "Col of block with highest energy in the largest cluster",    "GetCol()" },
   { "x",      "x-position (mm) of largest cluster", "GetX()" },
   { "y",      "y-position (mm) of largest cluster", "GetY()" },
   { "nblk",   "Number of blocks in the largest cluster",    "GetNblk()" },
   { "idblk",  "Logic number of block with highest energy in cluster",    "GetBlkID()" },

Cluster Member Variables

   { "clus.e", "Energy of cluster", "fOutclus.e"},
   { "clus.atime", "ADC time of cluster", "fOutclus.atime"},
   { "clus.tdctime", "TDC time of cluster", "fOutclus.tdctime"},
   { "clus.e_c","Energy calibrated of cluster", "fOutclus.e_c"},
   { "clus.x", "x-position of cluster", "fOutclus.x"},
   { "clus.y", "y-position of cluster", "fOutclus.y"},
   { "clus.row","block row in cluster with highest energy",    "fOutclus.row" },
   { "clus.col","block col in cluster with highest energy",    "fOutclus.col" },
   { "clus.id","block number in cluster",    "fOutclus.id" },
   { "clus.nblk","number of blocks in cluster",    "fOutclus.n" },
   { "clus.eblk", "Energy of block with highest energy in cluster", "fOutclus.blk_e"},
   { "clus.eblk_c","Energy calibrated of block with highest energy in cluster", "fOutclus.blk_e_c"},

Primary Cluster Member Variables

   { "clus_blk.e", "Energy of block in main cluster", "fMainclusblk.e"},
   { "clus_blk.e_c","Energy calibrated of block in main cluster", "fMainclusblk.e_c"},
   { "clus_blk.x", "x-position of block in main cluster", "fMainclusblk.x"},
   { "clus_blk.y", "y-position of block in main cluster", "fMainclusblk.y"},
   { "clus_blk.row","block row in main cluster",    "fMainclusblk.row" },
   { "clus_blk.atime","block ADC time in main cluster",    "fMainclusblk.atime" },
   { "clus_blk.tdctime","block TDC time in main cluster",    "fMainclusblk.tdctime" },
   { "clus_blk.col","block col in main cluster",    "fMainclusblk.col" },
   { "clus_blk.id","block number in main cluster",    "fMainclusblk.id" },

"Good" Block Variables

   { "goodblock.e", "Energy of good blocks", "fGoodBlocks.e"},
   { "goodblock.atime", "Energy of good blocks", "fGoodBlocks.ADCTime"},
   { "goodblock.tdctime", "Energy of good blocks", "fGoodBlocks.TDCTime"},
   { "goodblock.row", "Row of good blocks", "fGoodBlocks.row"},
   { "goodblock.col", "Col of good blocks", "fGoodBlocks.col"},
   { "goodblock.x", "x pos (m) of good blocks", "fGoodBlocks.x"},
   { "goodblock.y", "y pos (m) of good blocks", "fGoodBlocks.y"},
   { "goodblock.id", "Element ID of good blocks", "fGoodBlocks.id"},