#include <HcalCellType.h>
Classes | |
struct | HcalCell |
Public Member Functions | |
int | actualReadoutDirection () const |
double | depth () const |
z or r position, depending on whether it's barrel or endcap More... | |
double | depthMax () const |
double | depthMin () const |
int | depthSegment () const |
bool | depthType () const |
HcalSubdetector | detType () const |
int | etaBin () const |
which eta ring it belongs to, starting from one More... | |
double | etaMax () const |
cell edge, always positive & greater than etaMin More... | |
double | etaMin () const |
lower cell edge. Always positive More... | |
double | halfSize () const |
HcalCellType (HcalSubdetector detType, int etaBin, int phiBin, int depthSegment, const HcalCell &cell, int readoutDirection=0, double samplingFactor=0, int numberZ=0, int nmodule=0, double halfSize=0, int units=0) | |
HcalCellType (const HcalCellType &right) | |
std::vector< int > | missingPhiMinus () const |
std::vector< int > | missingPhiPlus () const |
missing phi rings More... | |
int | nHalves () const |
Number of halves (forward/backward) More... | |
int | nPhiBins () const |
the number of these cells in a ring More... | |
int | nPhiMissingBins () const |
int | nPhiModule () const |
const HcalCellType & | operator= (const HcalCellType &right) |
double | phiBinWidth () const |
phi bin width, in degrees More... | |
double | phiOffset () const |
phi offset in degrees More... | |
double | samplingFactor () const |
ratio of real particle energy to deposited energy in the SimHi More... | |
void | setDepth (int bin, double dmin, double dmax) |
void | setEta (int bin, double etamin, double etamax) |
void | setMissingPhi (std::vector< int > &, std::vector< int > &) |
void | setPhi (int bins, int unit, double dphi, double phioff) |
int | unitPhi () const |
~HcalCellType () | |
Protected Member Functions | |
HcalCellType () | |
Private Attributes | |
int | theActualReadoutDirection |
double | theDepthMax |
double | theDepthMin |
int | theDepthSegment |
HcalSubdetector | theDetType |
int | theEtaBin |
double | theEtaMax |
double | theEtaMin |
double | theHalfSize |
std::vector< int > | theMissingPhiMinus |
std::vector< int > | theMissingPhiPlus |
int | theNumberOfPhiBins |
int | theNumberOfZ |
double | thePhiBinWidth |
double | thePhiOffset |
bool | theRzFlag |
double | theSamplingFactor |
int | theUnitPhi |
Definition at line 12 of file HcalCellType.h.
HcalCellType::HcalCellType | ( | HcalSubdetector | detType, |
int | etaBin, | ||
int | phiBin, | ||
int | depthSegment, | ||
const HcalCell & | cell, | ||
int | readoutDirection = 0 , |
||
double | samplingFactor = 0 , |
||
int | numberZ = 0 , |
||
int | nmodule = 0 , |
||
double | halfSize = 0 , |
||
int | units = 0 |
||
) |
Definition at line 11 of file HcalCellType.cc.
References HcalCellType::HcalCell::deta, HcalCellType::HcalCell::dphi, HcalCellType::HcalCell::drz, HcalCellType::HcalCell::eta, HcalCellType::HcalCell::flagrz, HcalCellType::HcalCell::phi, HcalCellType::HcalCell::rz, theDepthMax, theDepthMin, theEtaMax, theEtaMin, theHalfSize, theNumberOfPhiBins, thePhiBinWidth, thePhiOffset, and theRzFlag.
HcalCellType::HcalCellType | ( | const HcalCellType & | right | ) |
Definition at line 33 of file HcalCellType.cc.
References theActualReadoutDirection, theDepthMax, theDepthMin, theDepthSegment, theDetType, theEtaBin, theEtaMax, theEtaMin, theHalfSize, theMissingPhiMinus, theMissingPhiPlus, theNumberOfPhiBins, theNumberOfZ, thePhiBinWidth, thePhiOffset, theRzFlag, theSamplingFactor, and theUnitPhi.
HcalCellType::~HcalCellType | ( | ) |
Definition at line 79 of file HcalCellType.cc.
|
protected |
|
inline |
which cell will actually do the readout for this cell 1 means move hits in this cell up, and -1 means down 0 means do nothing
Definition at line 68 of file HcalCellType.h.
References theActualReadoutDirection.
Referenced by operator<<().
|
inline |
z or r position, depending on whether it's barrel or endcap
Definition at line 77 of file HcalCellType.h.
References theDepthMax, and theDepthMin.
|
inline |
Definition at line 79 of file HcalCellType.h.
References theDepthMax.
Referenced by HcalDDDGeometryLoader::makeCell(), and operator<<().
|
inline |
Definition at line 78 of file HcalCellType.h.
References theDepthMin.
Referenced by HcalDDDGeometryLoader::makeCell(), and operator<<().
|
inline |
which depth segment it is, starting from 1 absolute within the tower, so HE depth of the overlap doesn't start at 1.
Definition at line 47 of file HcalCellType.h.
References theDepthSegment.
Referenced by operator<<().
|
inline |
Definition at line 80 of file HcalCellType.h.
References theRzFlag.
Referenced by HcalDDDGeometryLoader::makeCell(), and operator<<().
|
inline |
1=HB, 2=HE, 3=HO, 4=HF (sub detector type) as in DataFormats/HcalDetId/interface/HcalSubdetector.h
Definition at line 38 of file HcalCellType.h.
References theDetType.
Referenced by operator<<().
|
inline |
which eta ring it belongs to, starting from one
Definition at line 41 of file HcalCellType.h.
References theEtaBin.
Referenced by operator<<().
|
inline |
cell edge, always positive & greater than etaMin
Definition at line 74 of file HcalCellType.h.
References theEtaMax.
Referenced by HcalDDDGeometryLoader::makeCell(), and operator<<().
|
inline |
lower cell edge. Always positive
Definition at line 71 of file HcalCellType.h.
References theEtaMin.
Referenced by HcalDDDGeometryLoader::makeCell(), and operator<<().
|
inline |
Definition at line 81 of file HcalCellType.h.
References theHalfSize.
Referenced by HcalDDDGeometryLoader::makeCell(), and operator<<().
|
inline |
Definition at line 88 of file HcalCellType.h.
References theMissingPhiMinus.
Referenced by operator<<().
|
inline |
missing phi rings
Definition at line 87 of file HcalCellType.h.
References theMissingPhiPlus.
Referenced by operator<<().
|
inline |
Number of halves (forward/backward)
Definition at line 63 of file HcalCellType.h.
References theNumberOfZ.
Referenced by operator<<().
|
inline |
the number of these cells in a ring
Definition at line 51 of file HcalCellType.h.
References theNumberOfPhiBins.
Referenced by operator<<().
int HcalCellType::nPhiMissingBins | ( | ) | const |
Definition at line 86 of file HcalCellType.cc.
References theMissingPhiMinus, theMissingPhiPlus, theNumberOfZ, and tmp.
|
inline |
Definition at line 52 of file HcalCellType.h.
References thePhiBinWidth.
Referenced by operator<<().
const HcalCellType & HcalCellType::operator= | ( | const HcalCellType & | right | ) |
Definition at line 55 of file HcalCellType.cc.
References theActualReadoutDirection, theDepthMax, theDepthMin, theDepthSegment, theDetType, theEtaBin, theEtaMax, theEtaMin, theHalfSize, theMissingPhiMinus, theMissingPhiPlus, theNumberOfPhiBins, theNumberOfZ, thePhiBinWidth, thePhiOffset, theRzFlag, theSamplingFactor, and theUnitPhi.
|
inline |
phi bin width, in degrees
Definition at line 55 of file HcalCellType.h.
References thePhiBinWidth.
Referenced by operator<<().
|
inline |
phi offset in degrees
Definition at line 58 of file HcalCellType.h.
References thePhiOffset.
Referenced by operator<<().
|
inline |
ratio of real particle energy to deposited energy in the SimHi
Definition at line 84 of file HcalCellType.h.
References theSamplingFactor.
Referenced by operator<<().
void HcalCellType::setDepth | ( | int | bin, |
double | dmin, | ||
double | dmax | ||
) |
Definition at line 98 of file HcalCellType.cc.
References newFWLiteAna::bin, theDepthMax, theDepthMin, and theDepthSegment.
void HcalCellType::setEta | ( | int | bin, |
double | etamin, | ||
double | etamax | ||
) |
Definition at line 92 of file HcalCellType.cc.
References newFWLiteAna::bin, theEtaBin, theEtaMax, and theEtaMin.
void HcalCellType::setMissingPhi | ( | std::vector< int > & | v1, |
std::vector< int > & | v2 | ||
) |
Definition at line 81 of file HcalCellType.cc.
References theMissingPhiMinus, and theMissingPhiPlus.
Referenced by HcalDDDSimConstants::HcalCellTypes().
void HcalCellType::setPhi | ( | int | bins, |
int | unit, | ||
double | dphi, | ||
double | phioff | ||
) |
Definition at line 104 of file HcalCellType.cc.
References theNumberOfPhiBins, thePhiBinWidth, thePhiOffset, theUnitPhi, and csvLumiCalc::unit.
|
inline |
|
private |
Definition at line 102 of file HcalCellType.h.
Referenced by actualReadoutDirection(), HcalCellType(), and operator=().
|
private |
Definition at line 112 of file HcalCellType.h.
Referenced by depth(), depthMax(), HcalCellType(), operator=(), and setDepth().
|
private |
Definition at line 111 of file HcalCellType.h.
Referenced by depth(), depthMin(), HcalCellType(), operator=(), and setDepth().
|
private |
Definition at line 99 of file HcalCellType.h.
Referenced by depthSegment(), HcalCellType(), operator=(), and setDepth().
|
private |
Definition at line 97 of file HcalCellType.h.
Referenced by detType(), HcalCellType(), and operator=().
|
private |
Definition at line 98 of file HcalCellType.h.
Referenced by etaBin(), HcalCellType(), operator=(), and setEta().
|
private |
Definition at line 108 of file HcalCellType.h.
Referenced by etaMax(), HcalCellType(), operator=(), and setEta().
|
private |
Definition at line 107 of file HcalCellType.h.
Referenced by etaMin(), HcalCellType(), operator=(), and setEta().
|
private |
Definition at line 113 of file HcalCellType.h.
Referenced by halfSize(), HcalCellType(), and operator=().
|
private |
Definition at line 117 of file HcalCellType.h.
Referenced by HcalCellType(), missingPhiMinus(), nPhiMissingBins(), operator=(), and setMissingPhi().
|
private |
Definition at line 116 of file HcalCellType.h.
Referenced by HcalCellType(), missingPhiPlus(), nPhiMissingBins(), operator=(), and setMissingPhi().
|
private |
Definition at line 100 of file HcalCellType.h.
Referenced by HcalCellType(), nPhiBins(), operator=(), and setPhi().
|
private |
Definition at line 101 of file HcalCellType.h.
Referenced by HcalCellType(), nHalves(), nPhiMissingBins(), and operator=().
|
private |
Definition at line 110 of file HcalCellType.h.
Referenced by HcalCellType(), nPhiModule(), operator=(), phiBinWidth(), and setPhi().
|
private |
Definition at line 109 of file HcalCellType.h.
Referenced by HcalCellType(), operator=(), phiOffset(), and setPhi().
|
private |
Definition at line 105 of file HcalCellType.h.
Referenced by depthType(), HcalCellType(), and operator=().
|
private |
Definition at line 114 of file HcalCellType.h.
Referenced by HcalCellType(), operator=(), and samplingFactor().
|
private |
Definition at line 103 of file HcalCellType.h.
Referenced by HcalCellType(), operator=(), setPhi(), and unitPhi().