#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 19 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 115 of file HcalLayerDepthMap.cc.
References LEDCalibrationChannels::depth, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, isValid(), phase1PixelTopology::layer, layer2Depth_, and ecaldqm::zside().
Referenced by HcalDDDSimConstants::findDepth(), and getDepthMax().
int HcalLayerDepthMap::getDepth16 | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 130 of file HcalLayerDepthMap.cc.
References dep16C_, LEDCalibrationChannels::depth, LEDCalibrationChannels::iphi, isValid(), and ecaldqm::zside().
Referenced by HcalDDDSimConstants::getDepthEta16(), and HcalDDDSimConstants::getDepthEta16M().
int HcalLayerDepthMap::getDepthMax | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 150 of file HcalLayerDepthMap.cc.
References LEDCalibrationChannels::depth, depthMax_, LEDCalibrationChannels::iphi, isValid(), and ecaldqm::zside().
Referenced by HcalDDDSimConstants::initialize().
int HcalLayerDepthMap::getDepthMax | ( | const int | subdet, |
const int | ieta, | ||
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 159 of file HcalLayerDepthMap.cc.
References LEDCalibrationChannels::depth, getDepth(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, isValid(), maxLayers_, and ecaldqm::zside().
int HcalLayerDepthMap::getDepthMin | ( | const int | subdet, |
const int | iphi, | ||
const int | zside | ||
) | const |
Definition at line 141 of file HcalLayerDepthMap.cc.
References LEDCalibrationChannels::depth, depthMin_, LEDCalibrationChannels::iphi, isValid(), and ecaldqm::zside().
std::pair< int, int > HcalLayerDepthMap::getDepths | ( | const int | eta | ) | const |
Definition at line 168 of file HcalLayerDepthMap.cc.
References depthsEta_, and PVValHelper::eta.
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 254 of file HcalLayerDepthMap.cc.
References LEDCalibrationChannels::iphi, isValid(), wtl0C_, and ecaldqm::zside().
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 191 of file HcalLayerDepthMap.cc.
References LEDCalibrationChannels::depth, depth2LayerB_, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, isValid(), phase1PixelTopology::layer, and ecaldqm::zside().
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 206 of file HcalLayerDepthMap.cc.
References PVValHelper::eta, isValid(), layer2Depth_, hgcalTopologyTester_cfi::layers, phi, edm::second(), and ecaldqm::zside().
Referenced by HcalDDDRecConstants::getDepth(), and HcalDDDRecConstants::getEtaBins().
void HcalLayerDepthMap::getLayerDepth | ( | const int | ieta, |
std::map< int, int > & | layers | ||
) | const |
Definition at line 226 of file HcalLayerDepthMap.cc.
References PVValHelper::eta, layer2Depth_, hgcalTopologyTester_cfi::layers, 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 176 of file HcalLayerDepthMap.cc.
References LEDCalibrationChannels::depth, depth2LayerF_, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, isValid(), phase1PixelTopology::layer, and ecaldqm::zside().
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 245 of file HcalLayerDepthMap.cc.
References dep29C_, LEDCalibrationChannels::depth, LEDCalibrationChannels::iphi, isValid(), and ecaldqm::zside().
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 21 of file HcalLayerDepthMap.cc.
References dep16C_, dep29C_, LEDCalibrationChannels::depth, depth2LayerB_, depth2LayerF_, depthMax_, depthMin_, depthsEta_, PVValHelper::eta, first, LEDCalibrationChannels::ieta, ietaMax_, ietaMin_, LEDCalibrationChannels::iphi, iphi_, dqmdumpme::k, phase1PixelTopology::layer, layer2Depth_, genParticles_cff::map, maxLayers_, subdet_, and wtl0C_.
Referenced by HcalDDDSimConstants::initialize().
bool HcalLayerDepthMap::isValid | ( | const int | det, |
const int | phi, | ||
const int | zside | ||
) | const |
Definition at line 263 of file HcalLayerDepthMap.cc.
References spr::find(), RemoveAddSevLevel::flag, LEDCalibrationChannels::iphi, iphi_, subdet_, and ecaldqm::zside().
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 271 of file HcalLayerDepthMap.cc.
References iphi_, phi, 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().