![]() |
![]() |
#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 zside, int depthSegment, const HcalCell &cell, int readoutDirection=0, double samplingFactor=0, double halfSize=0) | |
HcalCellType (const HcalCellType &right) | |
int | nPhiBins () const |
the number of these cells in a ring More... | |
int | nPhiModule () const |
const HcalCellType & | operator= (const HcalCellType &right) |
double | phiBinWidth () const |
phi bin width More... | |
double | phiOffset () const |
std::vector< std::pair< int, double > > | phis () const |
Phi modules and the central phi values. 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 | setPhi (const std::vector< std::pair< int, double >> &phis, const std::vector< int > &iphiMiss, double foff, double dphi, int unit) |
void | setPhi (const std::vector< std::pair< int, double >> &phis) |
int | unitPhi () const |
int | zside () 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 |
double | thePhiBinWidth |
double | thePhiOffset |
std::vector< std::pair< int, double > > | thePhis |
bool | theRzFlag |
double | theSamplingFactor |
int | theSide |
int | theUnitPhi |
Definition at line 13 of file HcalCellType.h.
HcalCellType::HcalCellType | ( | HcalSubdetector | detType, |
int | etaBin, | ||
int | zside, | ||
int | depthSegment, | ||
const HcalCell & | cell, | ||
int | readoutDirection = 0 , |
||
double | samplingFactor = 0 , |
||
double | halfSize = 0 |
||
) |
Definition at line 12 of file HcalCellType.cc.
References HcalCellType::HcalCell::deta, HcalCellType::HcalCell::dphi, HcalCellType::HcalCell::drz, HcalCellType::HcalCell::eta, HcalCellType::HcalCell::flagrz, HcalCellType::HcalCell::rz, theDepthMax, theDepthMin, theEtaMax, theEtaMin, theHalfSize, thePhiBinWidth, thePhiOffset, theRzFlag, and theUnitPhi.
HcalCellType::HcalCellType | ( | const HcalCellType & | right | ) |
Definition at line 31 of file HcalCellType.cc.
References theActualReadoutDirection, theDepthMax, theDepthMin, theDepthSegment, theDetType, theEtaBin, theEtaMax, theEtaMin, theHalfSize, thePhiBinWidth, thePhiOffset, thePhis, theRzFlag, theSamplingFactor, theSide, and theUnitPhi.
HcalCellType::~HcalCellType | ( | ) |
Definition at line 73 of file HcalCellType.cc.
Referenced by HcalCellType::HcalCell::HcalCell().
|
protected |
Referenced by HcalCellType::HcalCell::HcalCell(), and samplingFactor().
|
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 65 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 46 of file HcalCellType.h.
References setDepth(), and theDepthSegment.
Referenced by HcalCellType::HcalCell::HcalCell(), and 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 36 of file HcalCellType.h.
References theDetType.
Referenced by HcalCellType::HcalCell::HcalCell(), and operator<<().
|
inline |
which eta ring it belongs to, starting from one
Definition at line 39 of file HcalCellType.h.
References theEtaBin.
Referenced by HcalCellType::HcalCell::HcalCell(), and operator<<().
|
inline |
cell edge, always positive & greater than etaMin
Definition at line 71 of file HcalCellType.h.
References theEtaMax.
Referenced by HcalDDDGeometryLoader::makeCell(), and operator<<().
|
inline |
lower cell edge. Always positive
Definition at line 68 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 HcalCellType::HcalCell::HcalCell(), HcalDDDGeometryLoader::makeCell(), and operator<<().
|
inline |
the number of these cells in a ring
Definition at line 50 of file HcalCellType.h.
References thePhis.
Referenced by operator<<().
|
inline |
Definition at line 51 of file HcalCellType.h.
References thePhiBinWidth.
Referenced by operator<<().
const HcalCellType & HcalCellType::operator= | ( | const HcalCellType & | right | ) |
Definition at line 51 of file HcalCellType.cc.
References theActualReadoutDirection, theDepthMax, theDepthMin, theDepthSegment, theDetType, theEtaBin, theEtaMax, theEtaMin, theHalfSize, thePhiBinWidth, thePhiOffset, thePhis, theRzFlag, theSamplingFactor, theSide, and theUnitPhi.
Referenced by HcalCellType::HcalCell::HcalCell().
|
inline |
phi bin width
Definition at line 54 of file HcalCellType.h.
References thePhiBinWidth.
Referenced by operator<<().
|
inline |
|
inline |
Phi modules and the central phi values.
Definition at line 74 of file HcalCellType.h.
References thePhis.
Referenced by setDepth(), setPhi(), and unitPhi().
|
inline |
ratio of real particle energy to deposited energy in the SimHi
Definition at line 84 of file HcalCellType.h.
References HcalCellType(), and theSamplingFactor.
Referenced by HcalCellType::HcalCell::HcalCell(), and operator<<().
void HcalCellType::setDepth | ( | int | bin, |
double | dmin, | ||
double | dmax | ||
) |
Definition at line 81 of file HcalCellType.cc.
References stringResolutionProvider_cfi::bin, spr::find(), phi, phis(), setPhi(), theDepthMax, theDepthMin, theDepthSegment, thePhiBinWidth, thePhiOffset, thePhis, theUnitPhi, and csvLumiCalc::unit.
Referenced by depthSegment().
void HcalCellType::setEta | ( | int | bin, |
double | etamin, | ||
double | etamax | ||
) |
Definition at line 75 of file HcalCellType.cc.
References stringResolutionProvider_cfi::bin, theEtaBin, theEtaMax, and theEtaMin.
Referenced by zside().
void HcalCellType::setPhi | ( | const std::vector< std::pair< int, double >> & | phis, |
const std::vector< int > & | iphiMiss, | ||
double | foff, | ||
double | dphi, | ||
int | unit | ||
) |
Referenced by HcalDDDSimConstants::HcalCellTypes(), setDepth(), and unitPhi().
|
inline |
Definition at line 60 of file HcalCellType.h.
References phis(), and thePhis.
|
inline |
Definition at line 56 of file HcalCellType.h.
References HcalCellType::HcalCell::dphi, phis(), setPhi(), theUnitPhi, and csvLumiCalc::unit.
Referenced by operator<<().
|
inline |
Definition at line 40 of file HcalCellType.h.
References stringResolutionProvider_cfi::bin, setEta(), and theSide.
Referenced by HcalCellType::HcalCell::HcalCell(), and operator<<().
|
private |
Definition at line 97 of file HcalCellType.h.
Referenced by actualReadoutDirection(), HcalCellType(), and operator=().
|
private |
Definition at line 104 of file HcalCellType.h.
Referenced by depth(), depthMax(), HcalCellType(), operator=(), and setDepth().
|
private |
Definition at line 103 of file HcalCellType.h.
Referenced by depth(), depthMin(), HcalCellType(), operator=(), and setDepth().
|
private |
Definition at line 95 of file HcalCellType.h.
Referenced by depthSegment(), HcalCellType(), operator=(), and setDepth().
|
private |
Definition at line 92 of file HcalCellType.h.
Referenced by detType(), HcalCellType(), and operator=().
|
private |
Definition at line 93 of file HcalCellType.h.
Referenced by etaBin(), HcalCellType(), operator=(), and setEta().
|
private |
Definition at line 102 of file HcalCellType.h.
Referenced by etaMax(), HcalCellType(), operator=(), and setEta().
|
private |
Definition at line 101 of file HcalCellType.h.
Referenced by etaMin(), HcalCellType(), operator=(), and setEta().
|
private |
Definition at line 107 of file HcalCellType.h.
Referenced by halfSize(), HcalCellType(), and operator=().
|
private |
Definition at line 106 of file HcalCellType.h.
Referenced by HcalCellType(), nPhiModule(), operator=(), phiBinWidth(), and setDepth().
|
private |
Definition at line 105 of file HcalCellType.h.
Referenced by HcalCellType(), operator=(), phiOffset(), and setDepth().
|
private |
Definition at line 110 of file HcalCellType.h.
Referenced by HcalCellType(), nPhiBins(), operator=(), phis(), setDepth(), and setPhi().
|
private |
Definition at line 99 of file HcalCellType.h.
Referenced by depthType(), HcalCellType(), and operator=().
|
private |
Definition at line 108 of file HcalCellType.h.
Referenced by HcalCellType(), operator=(), and samplingFactor().
|
private |
Definition at line 94 of file HcalCellType.h.
Referenced by HcalCellType(), operator=(), and zside().
|
private |
Definition at line 96 of file HcalCellType.h.
Referenced by HcalCellType(), operator=(), setDepth(), and unitPhi().