#include <HcalLayerDepthMap.h>
Public Member Functions | |
int | getDepth (const int subdet, const int ieta, const int iphi, const int zside, const int layer) const |
int | getDepth16 (const int subdet, const int iphi, const int zside) const |
int | getDepthMax (const int subdet, const int iphi, const int zside) const |
int | getDepthMax (const int subdet, const int ieta, const int iphi, const int zside) const |
int | getDepthMin (const int subdet, const int iphi, const int zside) const |
std::pair< int, int > | getDepths (const int eta) const |
double | getLayer0Wt (const int subdet, const int iphi, const int zside) const |
int | getLayerBack (const int subdet, const int ieta, const int iphi, const int zside, const int depth) const |
void | getLayerDepth (const int subdet, const int ieta, const int iphi, const int zside, std::map< int, int > &layers) const |
void | getLayerDepth (const int ieta, std::map< int, int > &layers) const |
int | getLayerFront (const int subdet, const int ieta, const int iphi, const int zside, const int depth) const |
int | getMaxDepthLastHE (const int subdet, const int iphi, const int zside) const |
const std::vector< int > & | getPhis () const |
int | getSubdet () const |
HcalLayerDepthMap () | |
void | initialize (const int subdet, const int ietaMax, const int dep16C, const int dep29C, const double wtl0C, std::vector< int > const &iphi, std::vector< int > const &ieta, std::vector< int > const &layer, std::vector< int > const &depth) |
bool | isValid (const int det, const int phi, const int zside) const |
int | validDet (std::vector< int > &phis) const |
std::pair< int, int > | validEta () const |
~HcalLayerDepthMap () | |
Private Attributes | |
int | dep16C_ |
int | dep29C_ |
std::map< std::pair< int, int > , int > | depth2LayerB_ |
std::map< std::pair< int, int > , int > | depth2LayerF_ |
int | depthMax_ |
int | depthMin_ |
std::map< int, std::pair< int, int > > | depthsEta_ |
int | ietaMax_ |
int | ietaMin_ |
std::vector< int > | iphi_ |
std::map< std::pair< int, int > , int > | layer2Depth_ |
int | subdet_ |
double | wtl0C_ |
Static Private Attributes | |
static const int | maxLayers_ = 18 |
this class stores the map of layer to depth for special phi sections
Definition at line 18 of file HcalLayerDepthMap.h.
HcalLayerDepthMap::HcalLayerDepthMap | ( | ) |
HcalLayerDepthMap::~HcalLayerDepthMap | ( | ) |
Definition at line 18 of file HcalLayerDepthMap.cc.
int HcalLayerDepthMap::getDepth | ( | const int | subdet, |
const int | ieta, | ||
const int | iphi, | ||
const int | zside, | ||
const int | layer | ||
) | const |
Definition at line 111 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, HLT_FULL_cff::depth, isValid(), and layer2Depth_.
Referenced by HcalDDDSimConstants::findDepth(), and getDepthMax().
int HcalLayerDepthMap::getDepth16 | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 126 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, dep16C_, HLT_FULL_cff::depth, and isValid().
Referenced by HcalDDDSimConstants::getDepthEta16(), and HcalDDDSimConstants::getDepthEta16M().
int HcalLayerDepthMap::getDepthMax | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 144 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, HLT_FULL_cff::depth, depthMax_, and isValid().
Referenced by HcalDDDSimConstants::initialize().
int HcalLayerDepthMap::getDepthMax | ( | const int | subdet, |
const int | ieta, | ||
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 152 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, HLT_FULL_cff::depth, getDepth(), isValid(), and maxLayers_.
int HcalLayerDepthMap::getDepthMin | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 136 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, HLT_FULL_cff::depth, depthMin_, and isValid().
std::pair< int, int > HcalLayerDepthMap::getDepths | ( | const int | eta | ) | const |
Definition at line 160 of file HcalLayerDepthMap.cc.
References depthsEta_.
Referenced by HcalDDDSimConstants::getMaxDepth(), HcalDDDSimConstants::getMinDepth(), and HcalDDDRecConstants::initialize().
double HcalLayerDepthMap::getLayer0Wt | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 242 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, isValid(), and wtl0C_.
Referenced by HcalDDDSimConstants::getLayer0Wt().
int HcalLayerDepthMap::getLayerBack | ( | const int | subdet, |
const int | ieta, | ||
const int | iphi, | ||
const int | zside, | ||
const int | depth | ||
) | const |
Definition at line 183 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, depth2LayerB_, isValid(), and phase1PixelTopology::layer.
Referenced by HcalDDDSimConstants::getLayerBack(), HcalDDDRecConstants::getLayerBack(), and HcalDDDRecConstants::initialize().
void HcalLayerDepthMap::getLayerDepth | ( | const int | subdet, |
const int | ieta, | ||
const int | iphi, | ||
const int | zside, | ||
std::map< int, int > & | layers | ||
) | const |
Definition at line 198 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, isValid(), layer2Depth_, and edm::second().
Referenced by HcalDDDRecConstants::getDepth(), and HcalDDDRecConstants::getEtaBins().
void HcalLayerDepthMap::getLayerDepth | ( | const int | ieta, |
std::map< int, int > & | layers | ||
) | const |
Definition at line 217 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, layer2Depth_, edm::second(), and subdet_.
int HcalLayerDepthMap::getLayerFront | ( | const int | subdet, |
const int | ieta, | ||
const int | iphi, | ||
const int | zside, | ||
const int | depth | ||
) | const |
Definition at line 168 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, depth2LayerF_, isValid(), and phase1PixelTopology::layer.
Referenced by HcalDDDSimConstants::getLayerFront(), HcalDDDRecConstants::getLayerFront(), and HcalDDDRecConstants::initialize().
int HcalLayerDepthMap::getMaxDepthLastHE | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 234 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, dep29C_, HLT_FULL_cff::depth, and isValid().
Referenced by HcalDDDSimConstants::getDepthEta29(), and HcalDDDSimConstants::getDepthEta29M().
|
inline |
Definition at line 45 of file HcalLayerDepthMap.h.
References iphi_.
Referenced by HcalDDDRecConstants::getPhiZOne().
|
inline |
Definition at line 31 of file HcalLayerDepthMap.h.
References subdet_.
Referenced by HcalDDDRecConstants::getPhiZOne(), and HcalDDDRecConstants::withSpecialRBXHBHE().
void HcalLayerDepthMap::initialize | ( | const int | subdet, |
const int | ietaMax, | ||
const int | dep16C, | ||
const int | dep29C, | ||
const double | wtl0C, | ||
std::vector< int > const & | iphi, | ||
std::vector< int > const & | ieta, | ||
std::vector< int > const & | layer, | ||
std::vector< int > const & | depth | ||
) |
Definition at line 20 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, dep16C_, dep29C_, depth2LayerB_, depth2LayerF_, depthMax_, depthMin_, depthsEta_, PVValHelper::eta, ietaMax_, ietaMin_, iphi_, isotrackApplyRegressor::k, relval_steps::k2, layer2Depth_, maxLayers_, edm::second(), subdet_, and wtl0C_.
Referenced by HcalDDDSimConstants::initialize().
bool HcalLayerDepthMap::isValid | ( | const int | det, |
const int | phi, | ||
const int | zside | ||
) | const |
Definition at line 250 of file HcalLayerDepthMap.cc.
References spr::find(), iphi_, and subdet_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), HcalDDDSimConstants::findDepth(), getDepth(), getDepth16(), getDepthMax(), getDepthMin(), getLayer0Wt(), getLayerBack(), getLayerDepth(), getLayerFront(), HcalDDDSimConstants::getMaxDepth(), getMaxDepthLastHE(), HcalDDDSimConstants::getMinDepth(), and core.AutoHandle.AutoHandle::ReallyLoad().
int HcalLayerDepthMap::validDet | ( | std::vector< int > & | phis | ) | const |
Definition at line 258 of file HcalLayerDepthMap.cc.
References iphi_, and subdet_.
Referenced by HcalDDDSimConstants::getDepthEta16M(), HcalDDDSimConstants::getDepthEta29M(), HcalDDDRecConstants::getEtaBins(), HcalDDDRecConstants::initialize(), and HcalDDDSimConstants::printTiles().
|
inline |
Definition at line 48 of file HcalLayerDepthMap.h.
References ietaMax_, and ietaMin_.
Referenced by HcalDDDRecConstants::initialize().
|
private |
Definition at line 57 of file HcalLayerDepthMap.h.
Referenced by getDepth16(), and initialize().
|
private |
Definition at line 58 of file HcalLayerDepthMap.h.
Referenced by getMaxDepthLastHE(), HcalLayerDepthMap(), and initialize().
|
private |
Definition at line 63 of file HcalLayerDepthMap.h.
Referenced by getLayerBack(), and initialize().
|
private |
Definition at line 62 of file HcalLayerDepthMap.h.
Referenced by getLayerFront(), and initialize().
|
private |
Definition at line 56 of file HcalLayerDepthMap.h.
Referenced by getDepthMax(), HcalLayerDepthMap(), and initialize().
|
private |
Definition at line 55 of file HcalLayerDepthMap.h.
Referenced by getDepthMin(), HcalLayerDepthMap(), and initialize().
|
private |
Definition at line 64 of file HcalLayerDepthMap.h.
Referenced by getDepths(), and initialize().
|
private |
Definition at line 54 of file HcalLayerDepthMap.h.
Referenced by HcalLayerDepthMap(), initialize(), and validEta().
|
private |
Definition at line 53 of file HcalLayerDepthMap.h.
Referenced by HcalLayerDepthMap(), initialize(), and validEta().
|
private |
Definition at line 60 of file HcalLayerDepthMap.h.
Referenced by getPhis(), initialize(), isValid(), and validDet().
|
private |
Definition at line 61 of file HcalLayerDepthMap.h.
Referenced by getDepth(), getLayerDepth(), and initialize().
|
staticprivate |
Definition at line 51 of file HcalLayerDepthMap.h.
Referenced by getDepthMax(), and initialize().
|
private |
Definition at line 52 of file HcalLayerDepthMap.h.
Referenced by getLayerDepth(), getSubdet(), HcalLayerDepthMap(), initialize(), isValid(), and validDet().
|
private |
Definition at line 59 of file HcalLayerDepthMap.h.
Referenced by getLayer0Wt(), HcalLayerDepthMap(), and initialize().