8 #include "CLHEP/Units/GlobalSystemOfUnits.h"
13 int readoutDirection,
double samplingFactor,
14 int numberZ,
int nmodule,
double halfSize,
16 theDetType(detType), theEtaBin(etaBin), theDepthSegment(depthSegment),
17 theNumberOfZ(numberZ), theActualReadoutDirection(readoutDirection),
18 theUnitPhi(units), theSamplingFactor(samplingFactor){
25 int nphi = (int)(10*CLHEP::deg/cell.
dphi);
69 os <<
"Detector " << cell.
detType() <<
" Eta " << cell.
etaBin() <<
" ("
75 << cell.
unitPhi() <<
") Halves " << cell.
nHalves() <<
" Direction "
77 <<
" Sampling Factor " << cell.
samplingFactor() <<
" # of missing cells "
int etaBin() const
which eta ring it belongs to, starting from one
int nPhiMissingBins() const
std::vector< int > theMissingPhiPlus
void setMissingPhi(std::vector< int >, std::vector< int >)
std::vector< int > theMissingPhiMinus
double samplingFactor() const
ratio of real particle energy to deposited energy in the SimHi
std::ostream & operator<<(std::ostream &out, const ALILine &li)
double phiBinWidth() const
phi bin width, in degrees
int theActualReadoutDirection
int nHalves() const
Number of halves (forward/backward)
HcalSubdetector theDetType
HcalSubdetector detType() const
double etaMax() const
cell edge, always positive & greater than etaMin
std::vector< int > missingPhiMinus() const
double etaMin() const
lower cell edge. Always positive
std::vector< std::vector< double > > tmp
TString units(TString variable, Char_t axis)
double phiOffset() const
phi offset in degrees
int nPhiBins() const
the number of these cells in a ring
std::vector< int > missingPhiPlus() const
missing phi rings
int actualReadoutDirection() const