Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hcalControls.h File Reference
#include <Riostream.h>
#include <TString.h>
+ Include dependency graph for hcalControls.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define piMass   0.1356
 

Enumerations

enum  OBJECTKINDS { CALOR, COUNTER }
 
enum  GAINS { HIGH, LOW }
 
enum  STACKS {
  EMC, HINNER, HOUTER, HODO,
  SCINT, CHER
}
 

Functions

static const TString RCFdataDir ("/sphenix/data/data01/t1044-2016a/fnal/")
 
static const TString RCFrootDir ("/sphenix/data/data01/kistenev/rootf/")
 
static const TString HLABdataDir ("/scratch/buffer/bnl/")
 
static const TString HLABrootDir ("/scratch/buffer/bnl/rootf/")
 

Variables

static const int READOUTCHANNELS = 192
 
static const int TRIGGERCHANNELS = 0
 
static const int chinspected = 32
 
static const int triggerinsp = 0
 
static const int CALSTACKS = 6
 
static const int T1044TRIGGERCH = 14
 
static const int T1044HODO = 16
 
static const int NSAMPLES = 24
 
static const Double_t PEDESTAL = 2048.
 
static Int_t TRGAINRANGE = 0
 
static const Int_t STTOTAMPTHR = 10
 
static const Int_t TWRAMPTHR = 1
 
static const Int_t STHITMIN = 3
 
static const Int_t STHITMAX = 14
 
static const Double_t TWRZEROSUPTHR = 1.
 
static const Double_t STZEROSUPTHR = 5.
 
static const Double_t HLGRATIO = 16.
 
static const Float_t hlgratios [] = { 1., 32., 16., 1., 1., 1.}
 
static Int_t emcGainSelection = 1
 
static const int HCALTOWERS = 16
 
static const int HCALROWS = 4
 
static const int HCALCOLUMNS = 4
 
static const int HCALGAINS = 2
 
static const int EMCTOWERS = 64
 
static const int EMCROWS = 8
 
static const int EMCCOLUMNS = 8
 
static const int EMCGAINS = 1
 
static int CHTOTAL = 0
 
static int ACTIVECHANNELS = 0
 
static int detchannels = 0
 
static int hgDetChannels = 0
 
static int lgDetChannels = 0
 
static const int ovrflow = 1990
 
static const int undflow = -1990
 
static const Double_t stECalib [] = {0.008, 0.010, 0.005, 1., 1., 1.}
 
static Double_t stAScale [] = {1., 2., 1., 1., 1., 1.}
 
static const int TILEFIBERS = 4
 
static const int TILECHANNELS = 2*TILEFIBERS
 
static const int TILETRIGGERCH = 8
 
static const int TRIGGERRES = 3
 
static const int CHANNELTHRESHOLDS = 25
 
static const int HITMULTTHRESHOLDS = 8
 
static const int RISETIME = 4
 
static const int FALLTIME = 5
 
static const int NPARAMETERS = 6
 
static const int DISPLAYX = 4
 
static const int chInUse [] = { 115, 113, 119, 117, 123, 121, 127, 125 }
 
static const int feechinsp []
 
static const int hcalInnerCh []
 
static const int hcalOuterCh []
 
static const int emcCh []
 
static const int hodoCh [] = { 96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111}
 
static const int counters []
 
static const Double_t tileSizeX = 25.
 
static const Double_t tileSizeY = 15.
 
static const Int_t minProjEntries = 50
 
static const int feech1 [] = { 115, 119, 123, 127, 113, 117, 121, 125 }
 
static const int feech2 [] = { 115, 113, 119, 117, 123, 121, 127, 125 }
 
static const int trch1125 [] = { 128, 129, 130, 131 }
 
static const int trch1152 [] = { 98, 99, 129, 131 }
 
static const Double_t sc_779 [] = { 3.6, 5.2, 5.2, 4.5, 6.6, 5.3, 7.9, 4.2 }
 
static const Double_t mu_779 [] = { 72.7, 130.6, 141.5, 132.1, 132., 138., 135.5, 68.4 }
 
static const Double_t sc_900 [] = { 6.6, 12.3, 12.9, 12.3, 14.6, 14.2, 12.25, 6.42 }
 
static const Double_t sc_1061 [] = { 6.71, 12.74, 13.13, 12.76, 14.30, 14.35, 12.70, 6.56 }
 
static const Double_t sc_1123 [] = { 6.61, 11.83, 12.77, 12.41, 13.75, 13.55, 12.31, 6.44 }
 

Macro Definition Documentation

#define piMass   0.1356

Definition at line 190 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 190 of file hcalControls.h

Enumeration Type Documentation

enum GAINS
Enumerator:
HIGH 
LOW 

Definition at line 12 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 12 of file hcalControls.h

Enumerator:
CALOR 
COUNTER 

Definition at line 8 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 8 of file hcalControls.h

enum STACKS
Enumerator:
EMC 
HINNER 
HOUTER 
HODO 
SCINT 
CHER 

Definition at line 16 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 16 of file hcalControls.h

Function Documentation

static const TString HLABdataDir ( "/scratch/buffer/bnl/"  )
static

Referenced by hLabHelper::getFileLists(), and hLabHelper::runToPRDFFile().

+ Here is the caller graph for this function:

static const TString HLABrootDir ( "/scratch/buffer/bnl/rootf/"  )
static

Referenced by hLabHelper::getFileLists(), hLabHelper::hLabHelper(), hLabHelper::makeCanvasDirectory(), and hLabHelper::runToRootFile().

+ Here is the caller graph for this function:

static const TString RCFdataDir ( "/sphenix/data/data01/t1044-2016a/fnal/"  )
static

Referenced by hLabHelper::getFileLists(), and hLabHelper::runToPRDFFile().

+ Here is the caller graph for this function:

static const TString RCFrootDir ( "/sphenix/data/data01/kistenev/rootf/"  )
static

Referenced by hLabHelper::getFileLists(), hLabHelper::hLabHelper(), hLabHelper::makeCanvasDirectory(), and hLabHelper::runToRootFile().

+ Here is the caller graph for this function:

Variable Documentation

const int CHANNELTHRESHOLDS = 25
static
const int chinspected = 32
static

Definition at line 33 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 33 of file hcalControls.h

Referenced by hLabHelper::hLabHelper().

const int chInUse[] = { 115, 113, 119, 117, 123, 121, 127, 125 }
static

Definition at line 107 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 107 of file hcalControls.h

int CHTOTAL = 0
static

Definition at line 74 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 74 of file hcalControls.h

Referenced by hcalHelper::hcalHelper(), hLabHelper::hLabHelper(), and tileHelper::tileHelper().

const int counters[]
static
Initial value:
= { 144,145,146,147,148,149,150,
160,161,162,163,164,165,166}

Definition at line 134 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 134 of file hcalControls.h

Referenced by BOOST_AUTO_TEST_CASE(), hcalHelper::hcalHelper(), and KFPartEfficiencies::IncReco().

const int DISPLAYX = 4
static

Definition at line 101 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 101 of file hcalControls.h

Referenced by hLabHelper::evDisplay().

const int emcCh[]
static
Initial value:
= { 5, 4, 7, 6, 1, 0, 3, 2, 13, 12, 15, 14, 9, 8, 11, 10,
21, 20, 23, 22, 17, 16, 19, 18, 29, 28, 31, 30, 25, 24, 27, 26,
37, 36, 39, 38, 33, 32, 35, 34, 45, 44, 47, 46, 41, 40, 43, 42,
53, 52, 55, 54, 49, 48, 51, 50, 61, 60, 63, 62, 57, 56, 59, 58}

Definition at line 129 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 129 of file hcalControls.h

Referenced by hcalHelper::hcalHelper().

const int EMCCOLUMNS = 8
static

Definition at line 71 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 71 of file hcalControls.h

const int EMCGAINS = 1
static

Definition at line 72 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 72 of file hcalControls.h

Int_t emcGainSelection = 1
static

Definition at line 61 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 61 of file hcalControls.h

Referenced by stack::getStackTime(), and tower::update().

const int EMCROWS = 8
static

Definition at line 70 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 70 of file hcalControls.h

const int EMCTOWERS = 64
static

Definition at line 69 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 69 of file hcalControls.h

const int FALLTIME = 5
static

Definition at line 99 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 99 of file hcalControls.h

const int feech1[] = { 115, 119, 123, 127, 113, 117, 121, 125 }
static

Definition at line 144 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 144 of file hcalControls.h

Referenced by tileHelper::updateMap().

const int feech2[] = { 115, 113, 119, 117, 123, 121, 127, 125 }
static

Definition at line 145 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 145 of file hcalControls.h

Referenced by tileHelper::updateMap().

const int feechinsp[]
static
Initial value:
= {64,72,80,88,66,74,82,90,68,76,84,92,70,78,86,94,
65,73,81,89,67,75,83,91,69,77,85,93,71,79,87,95}

Definition at line 114 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 114 of file hcalControls.h

Referenced by hLabHelper::evDisplay(), hLabHelper::fitShape(), hLabHelper::getDetectorTiming(), hLabHelper::hLabHelper(), and hLabHelper::updateMap().

const int HCALCOLUMNS = 4
static

Definition at line 65 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 65 of file hcalControls.h

const int HCALGAINS = 2
static

Definition at line 66 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 66 of file hcalControls.h

const int hcalInnerCh[]
static
Initial value:
= { 64, 72, 80, 88, 66, 74, 82, 90, 68, 76, 84, 92, 70, 78, 86, 94,
65, 73, 81, 89, 67, 75, 83, 91, 69, 77, 85, 93, 71, 79, 87, 95}

Definition at line 118 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 118 of file hcalControls.h

Referenced by hcalHelper::hcalHelper().

const int hcalOuterCh[]
static
Initial value:
= {112,120,128,136,114,122,130,138,116,124,132,140,118,126,134,142,
113,121,129,137,115,123,131,139,117,125,133,141,119,127,135,143}

Definition at line 120 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 120 of file hcalControls.h

Referenced by hcalHelper::hcalHelper().

const int HCALROWS = 4
static

Definition at line 64 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 64 of file hcalControls.h

const int HCALTOWERS = 16
static

Definition at line 63 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 63 of file hcalControls.h

Referenced by stack::stack().

int hgDetChannels = 0
static

Definition at line 77 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 77 of file hcalControls.h

Referenced by hLabHelper::displaySumEvent(), hLabHelper::getDetectorTiming(), and hLabHelper::hLabHelper().

const int HITMULTTHRESHOLDS = 8
static

Definition at line 97 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 97 of file hcalControls.h

Referenced by tileHelper::runtilesummary::runtilesummary().

const Double_t HLGRATIO = 16.
static

Definition at line 59 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 59 of file hcalControls.h

Referenced by stack::getStackTime(), and tower::update().

const Float_t hlgratios[] = { 1., 32., 16., 1., 1., 1.}
static

Definition at line 60 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 60 of file hcalControls.h

Referenced by stack::getStackTime(), stack::stack(), and tower::update().

const int hodoCh[] = { 96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111}
static

Definition at line 133 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 133 of file hcalControls.h

Referenced by hcalHelper::hcalHelper().

int lgDetChannels = 0
static

Definition at line 78 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 78 of file hcalControls.h

Referenced by hLabHelper::displaySumEvent(), hLabHelper::getDetectorTiming(), and hLabHelper::hLabHelper().

const Int_t minProjEntries = 50
static

Definition at line 142 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 142 of file hcalControls.h

Referenced by tileHelper::tilePattern().

const Double_t mu_779[] = { 72.7, 130.6, 141.5, 132.1, 132., 138., 135.5, 68.4 }
static

Definition at line 153 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 153 of file hcalControls.h

const int NPARAMETERS = 6
static
const int NSAMPLES = 24
static

Definition at line 42 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 42 of file hcalControls.h

const int ovrflow = 1990
static

Definition at line 79 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 79 of file hcalControls.h

Referenced by hcalHelper::collectRaw(), and hcalHelper::evLoop().

const Double_t PEDESTAL = 2048.
static

Definition at line 43 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 43 of file hcalControls.h

const int READOUTCHANNELS = 192
static

Definition at line 28 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 28 of file hcalControls.h

const int RISETIME = 4
static

Definition at line 98 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 98 of file hcalControls.h

const Double_t sc_1061[] = { 6.71, 12.74, 13.13, 12.76, 14.30, 14.35, 12.70, 6.56 }
static

Definition at line 157 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 157 of file hcalControls.h

Referenced by tileHelper::updateCalibration().

const Double_t sc_1123[] = { 6.61, 11.83, 12.77, 12.41, 13.75, 13.55, 12.31, 6.44 }
static

Definition at line 160 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 160 of file hcalControls.h

Referenced by tileHelper::updateCalibration().

const Double_t sc_779[] = { 3.6, 5.2, 5.2, 4.5, 6.6, 5.3, 7.9, 4.2 }
static

Definition at line 152 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 152 of file hcalControls.h

Referenced by tileHelper::updateCalibration().

const Double_t sc_900[] = { 6.6, 12.3, 12.9, 12.3, 14.6, 14.2, 12.25, 6.42 }
static

Definition at line 155 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 155 of file hcalControls.h

Referenced by tileHelper::updateCalibration().

Double_t stAScale[] = {1., 2., 1., 1., 1., 1.}
static

Definition at line 86 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 86 of file hcalControls.h

Referenced by hcal::update().

const Double_t stECalib[] = {0.008, 0.010, 0.005, 1., 1., 1.}
static

Definition at line 83 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 83 of file hcalControls.h

Referenced by hcal::setCalibration().

const Int_t STHITMAX = 14
static

Definition at line 54 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 54 of file hcalControls.h

Referenced by stack::getTrigger().

const Int_t STHITMIN = 3
static

Definition at line 53 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 53 of file hcalControls.h

Referenced by stack::getTrigger().

const Int_t STTOTAMPTHR = 10
static

Definition at line 51 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 51 of file hcalControls.h

Referenced by stack::getTrigger().

const Double_t STZEROSUPTHR = 5.
static

Definition at line 58 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 58 of file hcalControls.h

Referenced by stack::getStackTime().

const int T1044HODO = 16
static

Definition at line 41 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 41 of file hcalControls.h

const int T1044TRIGGERCH = 14
static

Definition at line 40 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 40 of file hcalControls.h

const int TILEFIBERS = 4
static

Definition at line 89 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 89 of file hcalControls.h

Referenced by tileHelper::runtilesummary::runtilesummary(), and tileHelper::tileHelper().

const Double_t tileSizeX = 25.
static

Definition at line 140 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 140 of file hcalControls.h

Referenced by tileHelper::tilePattern().

const Double_t tileSizeY = 15.
static

Definition at line 141 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 141 of file hcalControls.h

Referenced by tileHelper::getYFit(), tileHelper::tileImpact(), and tileHelper::tilePattern().

const int TILETRIGGERCH = 8
static

Definition at line 94 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 94 of file hcalControls.h

Referenced by tileHelper::tileHelper(), and tileHelper::updateMap().

const int trch1125[] = { 128, 129, 130, 131 }
static

Definition at line 149 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 149 of file hcalControls.h

Referenced by tileHelper::updateMap().

const int trch1152[] = { 98, 99, 129, 131 }
static

Definition at line 150 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 150 of file hcalControls.h

Referenced by tileHelper::updateMap().

Int_t TRGAINRANGE = 0
static

Definition at line 50 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 50 of file hcalControls.h

Referenced by stack::getTrigger(), and hcalHelper::setCTriggerGRange().

const int TRIGGERCHANNELS = 0
static

Definition at line 30 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 30 of file hcalControls.h

const int triggerinsp = 0
static

Definition at line 34 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 34 of file hcalControls.h

Referenced by hLabHelper::hLabHelper().

const int TRIGGERRES = 3
static

Definition at line 95 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 95 of file hcalControls.h

Referenced by tileHelper::tileTrigger().

const Int_t TWRAMPTHR = 1
static

Definition at line 52 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 52 of file hcalControls.h

Referenced by stack::getStackTrack(), stack::getTrigger(), and tower::update().

const Double_t TWRZEROSUPTHR = 1.
static

Definition at line 57 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 57 of file hcalControls.h

const int undflow = -1990
static

Definition at line 80 of file hcalControls.h.

View newest version in sPHENIX GitHub at line 80 of file hcalControls.h

Referenced by hcalHelper::collectRaw(), and hcalHelper::evLoop().