#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 110 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::depth, isValid(), and layer2Depth_.
Referenced by HcalDDDSimConstants::findDepth(), getDepthMax(), and getSubdet().
int HcalLayerDepthMap::getDepth16 | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 125 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, dep16C_, particleFlowClusterECALTimeSelected_cfi::depth, and isValid().
Referenced by HcalDDDSimConstants::getDepthEta16(), HcalDDDSimConstants::getDepthEta16M(), and getSubdet().
int HcalLayerDepthMap::getDepthMax | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 146 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::depth, depthMax_, and isValid().
Referenced by getSubdet(), and HcalDDDSimConstants::initialize().
int HcalLayerDepthMap::getDepthMax | ( | const int | subdet, |
const int | ieta, | ||
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 156 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::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, particleFlowClusterECALTimeSelected_cfi::depth, depthMin_, and isValid().
Referenced by getSubdet().
std::pair< int, int > HcalLayerDepthMap::getDepths | ( | const int | eta | ) | const |
Definition at line 166 of file HcalLayerDepthMap.cc.
References depthsEta_.
Referenced by HcalDDDSimConstants::getMaxDepth(), HcalDDDSimConstants::getMinDepth(), getSubdet(), and HcalDDDRecConstants::initialize().
double HcalLayerDepthMap::getLayer0Wt | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 254 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, isValid(), and wtl0C_.
Referenced by HcalDDDSimConstants::getLayer0Wt(), and getSubdet().
int HcalLayerDepthMap::getLayerBack | ( | const int | subdet, |
const int | ieta, | ||
const int | iphi, | ||
const int | zside, | ||
const int | depth | ||
) | const |
Definition at line 188 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, depth2LayerB_, and isValid().
Referenced by HcalDDDSimConstants::getLayerBack(), getSubdet(), 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 203 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, stringResolutionProvider_cfi::eta, isValid(), layer2Depth_, genParticles_cff::map, and edm::second().
Referenced by HcalDDDRecConstants::getDepth(), HcalDDDRecConstants::getEtaBins(), and getSubdet().
void HcalLayerDepthMap::getLayerDepth | ( | const int | ieta, |
std::map< int, int > & | layers | ||
) | const |
Definition at line 224 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, stringResolutionProvider_cfi::eta, layer2Depth_, genParticles_cff::map, 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 173 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, depth2LayerF_, and isValid().
Referenced by HcalDDDSimConstants::getLayerFront(), getSubdet(), and HcalDDDRecConstants::initialize().
int HcalLayerDepthMap::getMaxDepthLastHE | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 244 of file HcalLayerDepthMap.cc.
References gather_cfg::cout, dep29C_, particleFlowClusterECALTimeSelected_cfi::depth, and isValid().
Referenced by HcalDDDSimConstants::getDepthEta29(), HcalDDDSimConstants::getDepthEta29M(), and getSubdet().
|
inline |
Definition at line 47 of file HcalLayerDepthMap.h.
References iphi_, isValid(), phi, and validDet().
Referenced by HcalDDDRecConstants::getPhiZOne().
|
inline |
Definition at line 28 of file HcalLayerDepthMap.h.
References stringResolutionProvider_cfi::eta, getDepth(), getDepth16(), getDepthMax(), getDepthMin(), getDepths(), getLayer0Wt(), getLayerBack(), getLayerDepth(), getLayerFront(), getMaxDepthLastHE(), LayerTriplets::layers(), subdet_, and HcalDigiParam_cfi::zside.
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_, stringResolutionProvider_cfi::eta, ietaMax_, ietaMin_, iphi_, gen::k, layer2Depth_, genParticles_cff::map, 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 264 of file HcalLayerDepthMap.cc.
References spr::find(), RemoveAddSevLevel::flag, iphi_, and subdet_.
Referenced by ntuple._Object::_checkIsValid(), HcalDDDSimConstants::findDepth(), getDepth(), getDepth16(), getDepthMax(), getDepthMin(), getLayer0Wt(), getLayerBack(), getLayerDepth(), getLayerFront(), HcalDDDSimConstants::getMaxDepth(), getMaxDepthLastHE(), HcalDDDSimConstants::getMinDepth(), getPhis(), and core.AutoHandle.AutoHandle::ReallyLoad().
int HcalLayerDepthMap::validDet | ( | std::vector< int > & | phis | ) | const |
Definition at line 273 of file HcalLayerDepthMap.cc.
References iphi_, and subdet_.
Referenced by HcalDDDSimConstants::getDepthEta16M(), HcalDDDSimConstants::getDepthEta29M(), HcalDDDRecConstants::getEtaBins(), getPhis(), HcalDDDRecConstants::initialize(), and HcalDDDSimConstants::printTiles().
|
inline |
Definition at line 50 of file HcalLayerDepthMap.h.
References ietaMax_, and ietaMin_.
Referenced by HcalDDDRecConstants::initialize().
|
private |
Definition at line 59 of file HcalLayerDepthMap.h.
Referenced by getDepth16(), and initialize().
|
private |
Definition at line 60 of file HcalLayerDepthMap.h.
Referenced by getMaxDepthLastHE(), HcalLayerDepthMap(), and initialize().
|
private |
Definition at line 65 of file HcalLayerDepthMap.h.
Referenced by getLayerBack(), and initialize().
|
private |
Definition at line 64 of file HcalLayerDepthMap.h.
Referenced by getLayerFront(), and initialize().
|
private |
Definition at line 58 of file HcalLayerDepthMap.h.
Referenced by getDepthMax(), HcalLayerDepthMap(), and initialize().
|
private |
Definition at line 57 of file HcalLayerDepthMap.h.
Referenced by getDepthMin(), HcalLayerDepthMap(), and initialize().
|
private |
Definition at line 66 of file HcalLayerDepthMap.h.
Referenced by getDepths(), and initialize().
|
private |
Definition at line 56 of file HcalLayerDepthMap.h.
Referenced by HcalLayerDepthMap(), initialize(), and validEta().
|
private |
Definition at line 55 of file HcalLayerDepthMap.h.
Referenced by HcalLayerDepthMap(), initialize(), and validEta().
|
private |
Definition at line 62 of file HcalLayerDepthMap.h.
Referenced by getPhis(), initialize(), isValid(), and validDet().
|
private |
Definition at line 63 of file HcalLayerDepthMap.h.
Referenced by getDepth(), getLayerDepth(), and initialize().
|
staticprivate |
Definition at line 53 of file HcalLayerDepthMap.h.
Referenced by getDepthMax(), and initialize().
|
private |
Definition at line 54 of file HcalLayerDepthMap.h.
Referenced by getLayerDepth(), getSubdet(), HcalLayerDepthMap(), initialize(), isValid(), and validDet().
|
private |
Definition at line 61 of file HcalLayerDepthMap.h.
Referenced by getLayer0Wt(), HcalLayerDepthMap(), and initialize().