Difference between revisions of "SBS Replay Variable Names"

From SBS wiki
Jump to: navigation, search
Line 1: Line 1:
 
<<[[Student_Analysis|<B>Student Analysis</B>]]
 
<<[[Student_Analysis|<B>Student Analysis</B>]]
  
==HCal Variable Definitions==
+
=HCal Variable Definitions=
  
===Notes===
+
==Notes==
 
* These definitions from the following source files defined in SBS-offline. See [https://github.com/JeffersonLab/SBS-offline github] for more information.
 
* These definitions from the following source files defined in SBS-offline. See [https://github.com/JeffersonLab/SBS-offline github] for more information.
 
** SBSCalorimeter.cxx
 
** SBSCalorimeter.cxx
 
** SBSGenericDetector.cxx
 
** SBSGenericDetector.cxx
 
* One can search any working build of SBS-offline for “rVarDef” to find the location of these definitions.
 
* One can search any working build of SBS-offline for “rVarDef” to find the location of these definitions.
** From the build src directory:  
+
** From the build src directory: grep -nr “rvardef*” .
  grep -nr “rvardef*” .
+
 
 +
==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()" },

Revision as of 17:20, 16 March 2022

<<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*” .

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()" },