#include <HcalDDDSimConstants.h>
Public Member Functions | |
HcalCellType::HcalCell | cell (int det, int zside, int depth, int etaR, int iphi) const |
unsigned int | findLayer (int layer, const std::vector< HcalParameters::LayerItem > &layerGroup) const |
std::vector< std::pair< double, double > > | getConstHBHE (const int type) const |
int | getDepthEta16 (int i) const |
int | getDepthEta29 (int i) const |
std::pair< int, double > | getDetEta (double eta, int depth) |
int | getEta (int det, int lay, double hetaR) |
std::pair< int, int > | getEtaDepth (int det, int etaR, int phi, int depth, int lay) |
double | getEtaHO (double &etaR, double &x, double &y, double &z) const |
const std::vector< double > & | getEtaTableHF () const |
const std::vector< double > & | getGparHF () const |
const std::vector< HcalDetId > & | getIdHF2QIE () const |
std::pair< int, int > | getiEtaRange (const int i) const |
const std::vector< double > & | getLayer0Wt () const |
int | getMaxDepth (const int type) const |
std::pair< int, int > | getModHalfHBHE (const int type) const |
std::pair< double, double > | getPhiCons (int det, int ieta) |
const std::vector< double > & | getPhiTableHF () const |
const std::vector< double > & | getRTableHF () const |
std::vector< HcalCellType > | HcalCellTypes () const |
std::vector< HcalCellType > | HcalCellTypes (HcalSubdetector, int ieta=-1, int depth=-1) const |
HcalDDDSimConstants (const HcalParameters *hp) | |
int | maxHFDepth (int ieta, int iphi) const |
unsigned int | numberOfCells (HcalSubdetector) const |
int | phiNumber (int phi, int unit) const |
void | printTiles () const |
int | unitPhi (int det, int etaR) const |
int | unitPhi (double dphi) const |
~HcalDDDSimConstants () | |
Private Member Functions | |
double | deltaEta (int det, int eta, int depth) const |
double | getEta (int det, int etaR, int zside, int depth=1) const |
double | getEta (double r, double z) const |
double | getGain (HcalSubdetector subdet, int depth) const |
int | getShift (HcalSubdetector subdet, int depth) const |
void | initialize () |
unsigned int | layerGroup (unsigned int eta, unsigned int i) const |
unsigned int | layerGroupSize (unsigned int eta) const |
void | printTileHB (int eta, int depth) const |
void | printTileHE (int eta, int depth) const |
Private Attributes | |
int | depthEta16 [2] |
int | depthEta29 [2] |
std::vector< int > | depths [nDepthMax] |
double | dlShort |
double | dzVcal |
double | etaHO [4] |
const HcalParameters * | hpar |
std::vector< HcalDetId > | idHF2QIE |
std::vector< int > | maxDepth |
int | nDepth |
int | nEta |
int | nmodHB |
int | nmodHE |
int | nPhiF |
int | nR |
int | nzHB |
int | nzHE |
double | rminHO |
double | zVcal |
Static Private Attributes | |
static const int | nDepthMax =9 |
this class reads the constant section of the hcal-sim-numbering xml-file
Definition at line 23 of file HcalDDDSimConstants.h.
HcalDDDSimConstants::HcalDDDSimConstants | ( | const HcalParameters * | hp | ) |
Definition at line 11 of file HcalDDDSimConstants.cc.
HcalDDDSimConstants::~HcalDDDSimConstants | ( | ) |
Definition at line 26 of file HcalDDDSimConstants.cc.
HcalCellType::HcalCell HcalDDDSimConstants::cell | ( | int | det, |
int | zside, | ||
int | depth, | ||
int | etaR, | ||
int | iphi | ||
) | const |
Definition at line 32 of file HcalDDDSimConstants.cc.
|
private |
Definition at line 627 of file HcalDDDSimConstants.cc.
unsigned int HcalDDDSimConstants::findLayer | ( | int | layer, |
const std::vector< HcalParameters::LayerItem > & | layerGroup | ||
) | const |
Definition at line 247 of file HcalDDDSimConstants.cc.
std::vector< std::pair< double, double > > HcalDDDSimConstants::getConstHBHE | ( | const int | type | ) | const |
Definition at line 128 of file HcalDDDSimConstants.cc.
|
inline |
Definition at line 33 of file HcalDDDSimConstants.h.
References depthEta16.
Referenced by HcalDDDRecConstants::getDepthEta16().
|
inline |
std::pair< int, double > HcalDDDSimConstants::getDetEta | ( | double | eta, |
int | depth | ||
) |
Definition at line 144 of file HcalDDDSimConstants.cc.
Referenced by HcalNumberingFromDDD::unitID().
int HcalDDDSimConstants::getEta | ( | int | det, |
int | lay, | ||
double | hetaR | ||
) |
Definition at line 167 of file HcalDDDSimConstants.cc.
Referenced by HcalNumberingFromDDD::unitID().
|
private |
Definition at line 665 of file HcalDDDSimConstants.cc.
|
private |
Definition at line 705 of file HcalDDDSimConstants.cc.
std::pair< int, int > HcalDDDSimConstants::getEtaDepth | ( | int | det, |
int | etaR, | ||
int | phi, | ||
int | depth, | ||
int | lay | ||
) |
Definition at line 190 of file HcalDDDSimConstants.cc.
Referenced by HcalNumberingFromDDD::unitID().
double HcalDDDSimConstants::getEtaHO | ( | double & | etaR, |
double & | x, | ||
double & | y, | ||
double & | z | ||
) | const |
Definition at line 221 of file HcalDDDSimConstants.cc.
Referenced by HcalNumberingFromDDD::unitID().
|
inline |
Definition at line 42 of file HcalDDDSimConstants.h.
References HcalParameters::etaTableHF, and hpar.
|
private |
Definition at line 736 of file HcalDDDSimConstants.cc.
|
inline |
|
inline |
|
inline |
Definition at line 41 of file HcalDDDSimConstants.h.
References HcalParameters::etaMax, HcalParameters::etaMin, hpar, and i.
|
inline |
|
inline |
std::pair< int, int > HcalDDDSimConstants::getModHalfHBHE | ( | const int | type | ) | const |
Definition at line 259 of file HcalDDDSimConstants.cc.
std::pair< double, double > HcalDDDSimConstants::getPhiCons | ( | int | det, |
int | ieta | ||
) |
Definition at line 268 of file HcalDDDSimConstants.cc.
Referenced by HcalNumberingFromDDD::unitID().
|
inline |
|
inline |
|
private |
Definition at line 716 of file HcalDDDSimConstants.cc.
std::vector< HcalCellType > HcalDDDSimConstants::HcalCellTypes | ( | ) | const |
Definition at line 288 of file HcalDDDSimConstants.cc.
std::vector< HcalCellType > HcalDDDSimConstants::HcalCellTypes | ( | HcalSubdetector | subdet, |
int | ieta = -1 , |
||
int | depth = -1 |
||
) | const |
Definition at line 328 of file HcalDDDSimConstants.cc.
|
private |
Definition at line 498 of file HcalDDDSimConstants.cc.
|
private |
Definition at line 864 of file HcalDDDSimConstants.cc.
|
private |
Definition at line 852 of file HcalDDDSimConstants.cc.
int HcalDDDSimConstants::maxHFDepth | ( | int | ieta, |
int | iphi | ||
) | const |
Definition at line 415 of file HcalDDDSimConstants.cc.
Referenced by HcalDDDRecConstants::maxHFDepth(), and FastHFShowerLibrary::modifyDepth().
unsigned int HcalDDDSimConstants::numberOfCells | ( | HcalSubdetector | subdet | ) | const |
Definition at line 429 of file HcalDDDSimConstants.cc.
int HcalDDDSimConstants::phiNumber | ( | int | phi, |
int | unit | ||
) | const |
Definition at line 447 of file HcalDDDSimConstants.cc.
Referenced by HcalNumberingFromDDD::unitID().
|
private |
Definition at line 756 of file HcalDDDSimConstants.cc.
|
private |
Definition at line 789 of file HcalDDDSimConstants.cc.
void HcalDDDSimConstants::printTiles | ( | ) | const |
Definition at line 456 of file HcalDDDSimConstants.cc.
int HcalDDDSimConstants::unitPhi | ( | int | det, |
int | etaR | ||
) | const |
Definition at line 485 of file HcalDDDSimConstants.cc.
Referenced by HcalNumberingFromDDD::unitID().
int HcalDDDSimConstants::unitPhi | ( | double | dphi | ) | const |
Definition at line 491 of file HcalDDDSimConstants.cc.
|
private |
Definition at line 89 of file HcalDDDSimConstants.h.
Referenced by getDepthEta16().
|
private |
Definition at line 90 of file HcalDDDSimConstants.h.
Referenced by getDepthEta29().
|
private |
Definition at line 81 of file HcalDDDSimConstants.h.
|
private |
Definition at line 88 of file HcalDDDSimConstants.h.
|
private |
Definition at line 87 of file HcalDDDSimConstants.h.
|
private |
Definition at line 85 of file HcalDDDSimConstants.h.
|
private |
Definition at line 74 of file HcalDDDSimConstants.h.
Referenced by getEtaTableHF(), getGparHF(), getiEtaRange(), getLayer0Wt(), getPhiTableHF(), and getRTableHF().
|
private |
Definition at line 91 of file HcalDDDSimConstants.h.
Referenced by getIdHF2QIE().
|
private |
Definition at line 77 of file HcalDDDSimConstants.h.
Referenced by getMaxDepth().
|
private |
Definition at line 82 of file HcalDDDSimConstants.h.
|
staticprivate |
Definition at line 76 of file HcalDDDSimConstants.h.
|
private |
Definition at line 78 of file HcalDDDSimConstants.h.
|
private |
Definition at line 83 of file HcalDDDSimConstants.h.
|
private |
Definition at line 84 of file HcalDDDSimConstants.h.
|
private |
Definition at line 80 of file HcalDDDSimConstants.h.
|
private |
Definition at line 79 of file HcalDDDSimConstants.h.
|
private |
Definition at line 83 of file HcalDDDSimConstants.h.
|
private |
Definition at line 84 of file HcalDDDSimConstants.h.
|
private |
Definition at line 85 of file HcalDDDSimConstants.h.
|
private |
Definition at line 86 of file HcalDDDSimConstants.h.