#include <HcalTopology.h>
Public Member Functions | |
const HcalDDDRecConstants * | dddConstants () const |
int | decIEta (const HcalDetId &id, HcalDetId neighbors[2]) const |
bool | decIPhi (const HcalDetId &id, HcalDetId &neighbor) const |
bool | decrementDepth (HcalDetId &id) const |
DetId | denseId2detId (unsigned int) const override |
return a linear packed id More... | |
void | depthBinInformation (HcalSubdetector subdet, int etaRing, int iphi, int zside, int &nDepthBins, int &startingBin) const |
finds the number of depth bins and which is the number to start with More... | |
unsigned int | detId2denseId (const DetId &id) const override |
return a linear packed id More... | |
unsigned int | detId2denseIdCALIB (const DetId &id) const |
return a linear packed id from CALIB More... | |
unsigned int | detId2denseIdHB (const DetId &id) const |
return a linear packed id from HB More... | |
unsigned int | detId2denseIdHE (const DetId &id) const |
return a linear packed id from HE More... | |
unsigned int | detId2denseIdHF (const DetId &id) const |
return a linear packed id from HF More... | |
unsigned int | detId2denseIdHO (const DetId &id) const |
return a linear packed id from HO More... | |
unsigned int | detId2denseIdHT (const DetId &id) const |
return a linear packed id from HT More... | |
int | doublePhiBins () const |
std::vector< DetId > | down (const DetId &id) const override |
std::vector< DetId > | east (const DetId &id) const override |
double | etaMax (HcalSubdetector subdet) const |
std::pair< double, double > | etaRange (HcalSubdetector subdet, int ieta) const |
int | etaRing (HcalSubdetector subdet, double eta) const |
eta and phi index from eta, phi values More... | |
void | exclude (const HcalDetId &id) |
int | exclude (HcalSubdetector subdet, int ieta1, int ieta2, int iphi1, int iphi2, int depth1=1, int depth2=4) |
void | excludeSubdetector (HcalSubdetector subdet) |
int | firstHBRing () const |
int | firstHEDoublePhiRing () const |
int | firstHEQuadPhiRing () const |
int | firstHERing () const |
int | firstHETripleDepthRing () const |
int | firstHFQuadPhiRing () const |
int | firstHFRing () const |
int | firstHORing () const |
unsigned int | getCALIBSize () const |
void | getDepthSegmentation (const unsigned ring, std::vector< int > &readoutDepths, const bool flag=false) const |
unsigned int | getHBSize () const |
unsigned int | getHESize () const |
unsigned int | getHFSize () const |
unsigned int | getHOSize () const |
unsigned int | getHTSize () const |
bool | getMergePositionFlag () const |
unsigned int | getNumberOfShapes () const |
int | getPhiZOne (std::vector< std::pair< int, int > > &phiz) const |
HcalTopology (const HcalDDDRecConstants *hcons, const bool mergePosition=false) | |
HcalTopology (HcalTopologyMode::Mode mode, int maxDepthHB, int maxDepthHE, HcalTopologyMode::TriggerMode tmode=HcalTopologyMode::TriggerMode_2009) | |
HcalDetId | idBack (const HcalDetId &id) const |
HcalDetId | idFront (const HcalDetId &id) const |
int | incIEta (const HcalDetId &id, HcalDetId neighbors[2]) const |
bool | incIPhi (const HcalDetId &id, HcalDetId &neighbor) const |
bool | incrementDepth (HcalDetId &id) const |
bool | isBH () const |
int | lastHBRing () const |
int | lastHERing () const |
int | lastHFRing () const |
int | lastHORing () const |
int | maxDepth (HcalSubdetector subdet) const |
int | maxDepthHB () const |
int | maxDepthHE () const |
bool | mergedDepth29 (HcalDetId id) const |
HcalDetId | mergedDepthDetId (const HcalDetId &id) const |
std::vector< int > | mergedDepthList29 (HcalDetId id) const |
HcalTopologyMode::Mode | mode () const |
unsigned int | ncells () const override |
return a count of valid cells (for dense indexing use) More... | |
std::vector< DetId > | north (const DetId &id) const override |
int | nPhiBins (int etaRing) const |
how many phi segments in this ring More... | |
int | nPhiBins (HcalSubdetector subdet, int etaRing) const |
int | phiBin (HcalSubdetector subdet, int etaRing, double phi) const |
std::pair< int, int > | segmentBoundaries (const unsigned ring, const unsigned depth, const bool flag=false) const |
void | setDepthSegmentation (const unsigned ring, const std::vector< int > &readoutDepths, const bool flag) |
int | singlePhiBins () const |
std::vector< DetId > | south (const DetId &id) const override |
int | topoVersion () const override |
return a version which identifies the given topology More... | |
HcalTopologyMode::TriggerMode | triggerMode () const |
void | unmergeDepthDetId (const HcalDetId &id, std::vector< HcalDetId > &ids) const |
std::vector< DetId > | up (const DetId &id) const override |
bool | valid (const DetId &id) const override |
bool | validDetId (HcalSubdetector subdet, int ieta, int iphi, int depth) const |
bool | validHcal (const HcalDetId &id) const |
bool | validHcal (const HcalDetId &id, const unsigned int flag) const |
bool | validHT (const HcalTrigTowerDetId &id) const |
std::vector< DetId > | west (const DetId &id) const override |
bool | withSpecialRBXHBHE () const |
Public Member Functions inherited from CaloSubdetectorTopology | |
CaloSubdetectorTopology () | |
standard constructor More... | |
virtual bool | denseIdConsistent (int topoVer) const |
return whether this topology is consistent with the numbering in the given topology More... | |
virtual std::vector< DetId > | getAllNeighbours (const DetId &id) const |
virtual std::vector< DetId > | getNeighbours (const DetId &id, const CaloDirection &dir) const |
virtual std::vector< DetId > | getWindow (const DetId &id, const int &northSouthSize, const int &eastWestSize) const |
virtual DetId | goDown (const DetId &id) const |
virtual DetId | goEast (const DetId &id) const |
virtual DetId | goNorth (const DetId &id) const |
virtual DetId | goSouth (const DetId &id) const |
virtual DetId | goUp (const DetId &id) const |
virtual DetId | goWest (const DetId &id) const |
virtual | ~CaloSubdetectorTopology () |
virtual destructor More... | |
Static Public Member Functions | |
static std::string | producerTag () |
Private Types | |
enum | { kHBhalf = 1296, kHEhalf = 1296, kHOhalf = 1080, kHFhalf = 864, kHThalf = 2088, kZDChalf = 11, kCASTORhalf = 224, kCALIBhalf = 693, kHThalfPhase1 = 2520, kHcalhalf = kHBhalf + kHEhalf + kHOhalf + kHFhalf } |
enum | { kSizeForDenseIndexingPreLS1 = 2*kHcalhalf } |
enum | { kHBSizePreLS1 = 2*kHBhalf } |
enum | { kHESizePreLS1 = 2*kHEhalf } |
enum | { kHOSizePreLS1 = 2*kHOhalf } |
enum | { kHFSizePreLS1 = 2*kHFhalf } |
enum | { kHTSizePreLS1 = 2*kHThalf } |
enum | { kHTSizePhase1 = 2*kHThalfPhase1 } |
enum | { kCALIBSizePreLS1 = 2*kCALIBhalf } |
typedef std::map< unsigned, std::vector< int > > | SegmentationMap |
Private Member Functions | |
int | decAIEta (const HcalDetId &id, HcalDetId neighbors[2]) const |
unsigned int | detId2denseIdPreLS1 (const DetId &id) const |
int | incAIEta (const HcalDetId &id, HcalDetId neighbors[2]) const |
bool | isExcluded (const HcalDetId &id) const |
bool | validDetIdPreLS1 (const HcalDetId &id) const |
bool | validRaw (const HcalDetId &id) const |
Additional Inherited Members | |
Protected Types inherited from CaloSubdetectorTopology | |
typedef std::pair< int, int > | Coordinate |
Protected Member Functions inherited from CaloSubdetectorTopology | |
Coordinate | getNeighbourIndex (const Coordinate &coord, const CaloDirection &dir) const |
The HcalTopology class contains a set of constants which represent the topology (tower relationship) of the CMS HCAL as built. These constants can be used to determine neighbor relationships and existence of cells.
For use with limited setups (testbeam, cosmic stands, etc), the topology can be limited by creating a rejection list – a list of cells which would normally exist in the full CMS HCAL, but are not present for the specified topology.
Definition at line 25 of file HcalTopology.h.
|
private |
Definition at line 229 of file HcalTopology.h.
|
private |
Enumerator | |
---|---|
kHBhalf | |
kHEhalf | |
kHOhalf | |
kHFhalf | |
kHThalf | |
kZDChalf | |
kCASTORhalf | |
kCALIBhalf | |
kHThalfPhase1 | |
kHcalhalf |
Definition at line 233 of file HcalTopology.h.
|
private |
Enumerator | |
---|---|
kSizeForDenseIndexingPreLS1 |
Definition at line 243 of file HcalTopology.h.
|
private |
Enumerator | |
---|---|
kHBSizePreLS1 |
Definition at line 244 of file HcalTopology.h.
|
private |
Enumerator | |
---|---|
kHESizePreLS1 |
Definition at line 245 of file HcalTopology.h.
|
private |
Enumerator | |
---|---|
kHOSizePreLS1 |
Definition at line 246 of file HcalTopology.h.
|
private |
Enumerator | |
---|---|
kHFSizePreLS1 |
Definition at line 247 of file HcalTopology.h.
|
private |
Enumerator | |
---|---|
kHTSizePreLS1 |
Definition at line 248 of file HcalTopology.h.
|
private |
Enumerator | |
---|---|
kHTSizePhase1 |
Definition at line 249 of file HcalTopology.h.
|
private |
Enumerator | |
---|---|
kCALIBSizePreLS1 |
Definition at line 250 of file HcalTopology.h.
HcalTopology::HcalTopology | ( | const HcalDDDRecConstants * | hcons, |
const bool | mergePosition = false |
||
) |
Definition at line 16 of file HcalTopology.cc.
References gather_cfg::cout, dPhiTable, dPhiTableHF, PVValHelper::eta, etaBinsHB_, etaBinsHE_, etaHE2HF_, etaHF2HE_, etaTable, etaTableHF, plotBeamSpotDB::first, firstHBRing_, firstHEDoublePhiRing_, firstHEQuadPhiRing_, firstHERing_, firstHETripleDepthRing_, firstHFQuadPhiRing_, firstHFRing_, firstHORing_, HcalDDDRecConstants::getDepth(), HcalDDDRecConstants::getEtaBins(), HcalDDDRecConstants::getEtaRange(), HcalDDDRecConstants::getEtaTable(), HcalDDDRecConstants::getEtaTableHF(), HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getNEta(), HcalDDDRecConstants::getNPhi(), HcalDDDRecConstants::getPhiOffs(), HcalDDDRecConstants::getPhiTable(), HcalDDDRecConstants::getPhiTableHF(), HcalDDDRecConstants::getTopoMode(), HcalDDDRecConstants::getTriggerMode(), HBSize_, hcons_, HESize_, HFSize_, HOSize_, HTSize_, mps_fire::i, createfilelist::int, IPHI_MAX, gen::k, kHBSizePreLS1, kHESizePreLS1, kHFSizePreLS1, kHOSizePreLS1, kHTSizePhase1, kHTSizePreLS1, lastHBRing_, lastHERing_, lastHFRing_, lastHORing_, HcalTopologyMode::LHC, M_PI, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxEta_, maxPhiHE_, mode_, DetIdAssociatorESProducer_cff::nEta, nEtaHB_, nEtaHE_, numberOfShapes_, phioff, relativeConstraints::ring, edm::second(), setDepthSegmentation(), HcalTopologyMode::SLHC, topoVersion_, triggerMode_, HcalTopologyMode::TriggerMode_2009, csvLumiCalc::unit, unitPhi, unitPhiHF, and units().
Referenced by HcalTopologyIdealEP::produce().
HcalTopology::HcalTopology | ( | HcalTopologyMode::Mode | mode, |
int | maxDepthHB, | ||
int | maxDepthHE, | ||
HcalTopologyMode::TriggerMode | tmode = HcalTopologyMode::TriggerMode_2009 |
||
) |
Definition at line 144 of file HcalTopology.cc.
References firstHBRing_, firstHERing_, HBSize_, HESize_, HFSize_, HOSize_, HTSize_, IPHI_MAX, kHBSizePreLS1, kHESizePreLS1, kHFSizePreLS1, kHOSizePreLS1, kHTSizePhase1, kHTSizePreLS1, lastHBRing_, lastHERing_, HcalTopologyMode::LHC, maxDepthHF_, maxPhiHE_, mode_, nEtaHB_, nEtaHE_, HcalTopologyMode::SLHC, topoVersion_, triggerMode_, and HcalTopologyMode::TriggerMode_2009.
|
inline |
Definition at line 167 of file HcalTopology.h.
References hcons_.
Referenced by HcalRaddamMuon::analyze(), CaloTruthAccumulator::beginLuminosityBlock(), HcalHBHEMuonAnalyzer::depth16HE(), HGCalTriggerTools::eventSetup(), HcalGeometry::getClosestCell(), HGCalTriggerTools::getLayerZ(), HGCalTriggerGeometryHexLayerBasedImp1::initialize(), CaloTPGTranscoderULUT::setup(), HGCalTriggerNtupleHGCTriggerCells::simhits(), HGCalTriggerNtupleHGCDigis::simhits(), and HcaluLUTTPGCoder::update().
Get the neighbors of the given cell with lower absolute ieta
Decreasing in |ieta|, there are be two neighbors of 40 and 21
Definition at line 618 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, etaHF2HE_, firstHEDoublePhiRing(), firstHEQuadPhiRing(), firstHERing(), firstHFQuadPhiRing(), firstHFRing(), HcalBarrel, HcalEndcap, IPHI_MAX, gen::n, valid(), and ecaldqm::zside().
Referenced by decIEta(), idBack(), and incIEta().
Get the neighbors of the given cell with lower (signed) ieta
Definition at line 590 of file HcalTopology.cc.
References decAIEta(), incAIEta(), and ecaldqm::zside().
Referenced by east(), and producerTag().
Get the neighbor (if present) of the given cell with lower iphi
Definition at line 548 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, firstHEDoublePhiRing(), firstHEQuadPhiRing(), firstHFQuadPhiRing(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, IPHI_MAX, maxPhiHE_, convertSQLiteXML::ok, valid(), and validRaw().
Referenced by producerTag(), and south().
bool HcalTopology::decrementDepth | ( | HcalDetId & | id | ) | const |
Get the detector in front of this one
Definition at line 758 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, HcalDetId::depth(), depthBinInformation(), etaBinsHB_, etaBinsHE_, etaHF2HE_, etaRing(), firstHERing(), firstHFRing(), HcalDDDRecConstants::getDepthEta29(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hcons_, mps_fire::i, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), lastHERing(), mode_, nEtaHB_, HcalTopologyMode::SLHC, HcalDetId::subdet(), validRaw(), HcalDetId::zside(), and ecaldqm::zside().
Referenced by down(), and producerTag().
|
overridevirtual |
return a linear packed id
Reimplemented from CaloSubdetectorTopology.
Definition at line 1189 of file HcalTopology.cc.
References gather_cfg::cout, TauDecayModes::dec, reco::dp, firstHBRing(), firstHERing(), HBSize_, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HESize_, HOSize_, recoMuon::in, IPHI_MAX, kHBhalf, kHEhalf, kHFhalf, kHOhalf, kSizeForDenseIndexingPreLS1, lastHBRing(), lastHERing(), maxDepthHB_, maxDepthHE_, maxDepthHF_, maxPhiHE_, ncells(), nEtaHB_, nEtaHE_, DetId::rawId(), sd, and topoVersion_.
Referenced by HcalGeometry::localCorners(), CaloGeometryDBEP< T, U >::produceAligned(), and producerTag().
void HcalTopology::depthBinInformation | ( | HcalSubdetector | subdet, |
int | etaRing, | ||
int | iphi, | ||
int | zside, | ||
int & | nDepthBins, | ||
int & | startingBin | ||
) | const |
finds the number of depth bins and which is the number to start with
Definition at line 659 of file HcalTopology.cc.
References MessageLogger_cfi::cerr, firstHERing(), firstHETripleDepthRing(), HcalDDDRecConstants::getDepthEta16(), HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getMinDepth(), HcalTopologyMode::H2HE, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hcons_, lastHBRing(), lastHERing(), maxDepthHF_, mode_, and HcalTopologyMode::SLHC.
Referenced by CaloTowerConstituentsMap::constituentsOf(), decrementDepth(), HcalTrigTowerGeometry::detIds(), doublePhiBins(), and incrementDepth().
|
overridevirtual |
return a linear packed id
Reimplemented from CaloSubdetectorTopology.
Definition at line 1153 of file HcalTopology.cc.
References gather_cfg::cout, TauDecayModes::dec, HcalDetId::depth(), detId2denseIdPreLS1(), firstHBRing(), firstHERing(), HBSize_, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HESize_, HOSize_, HcalDetId::ieta(), HcalDetId::iphi(), IPHI_MAX, lastHBRing(), lastHERing(), maxDepthHB_, maxDepthHE_, maxDepthHF_, maxPhiHE_, nEtaHB_, nEtaHE_, HcalDetId::subdet(), and topoVersion_.
Referenced by HcalGeometry::getGeometry(), HcalGeometry::getGeometryBase(), HcalGeometry::indexFor(), HcalDDDGeometry::newCellImpl(), HcalGeometry::newCellImpl(), CaloGeometryDBEP< T, U >::produceAligned(), and producerTag().
unsigned int HcalTopology::detId2denseIdCALIB | ( | const DetId & | id | ) | const |
return a linear packed id from CALIB
Definition at line 1095 of file HcalTopology.cc.
References funct::abs(), HcalCalibDetId::calibFlavor(), HcalCalibDetId::CalibrationBox, HcalCalibDetId::cboxChannel(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalCalibDetId::hcalSubdet(), HcalCalibDetId::HOCrosstalk, HcalCalibDetId::ieta(), HcalCalibDetId::iphi(), HcalCalibDetId::zside(), and ecaldqm::zside().
Referenced by HcalLogicalMapGenerator::buildCALIBMap(), HcalLogicalMapGenerator::buildHOXMap(), HcalLogicalMap::checkHashIds(), HcalLogicalMap::getHcalFrontEndId(), HcalCondObjectContainerBase::indexFor(), and maxDepthHE().
unsigned int HcalTopology::detId2denseIdHB | ( | const DetId & | id | ) | const |
return a linear packed id from HB
Definition at line 1000 of file HcalTopology.cc.
References HcalDetId::depth(), reco::dp, firstHBRing(), HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), IPHI_MAX, kHBhalf, lastHBRing(), maxDepthHB_, nEtaHB_, topoVersion_, and HcalDetId::zside().
Referenced by HcalLogicalMapGenerator::buildHBEFTMap(), HcalLogicalMap::checkHashIds(), HcalLogicalMap::getHcalFrontEndId(), HcalCondObjectContainerBase::indexFor(), and maxDepthHE().
unsigned int HcalTopology::detId2denseIdHE | ( | const DetId & | id | ) | const |
return a linear packed id from HE
Definition at line 1017 of file HcalTopology.cc.
References HcalDetId::depth(), reco::dp, firstHERing(), HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), kHEhalf, lastHERing(), maxDepthHE_, maxPhiHE_, nEtaHE_, topoVersion_, and HcalDetId::zside().
Referenced by HcalLogicalMapGenerator::buildHBEFTMap(), HcalLogicalMap::checkHashIds(), HcalLogicalMap::getHcalFrontEndId(), HcalCondObjectContainerBase::indexFor(), and maxDepthHE().
unsigned int HcalTopology::detId2denseIdHF | ( | const DetId & | id | ) | const |
return a linear packed id from HF
Definition at line 1055 of file HcalTopology.cc.
References HcalDetId::depth(), reco::dp, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), IPHI_MAX, kHFhalf, maxDepthHF_, topoVersion_, and HcalDetId::zside().
Referenced by HcalLogicalMapGenerator::buildHBEFTMap(), HcalLogicalMap::checkHashIds(), HcalLogicalMap::getHcalFrontEndId(), HcalCondObjectContainerBase::indexFor(), and maxDepthHE().
unsigned int HcalTopology::detId2denseIdHO | ( | const DetId & | id | ) | const |
return a linear packed id from HO
Definition at line 1039 of file HcalTopology.cc.
References HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), IPHI_MAX, kHOhalf, topoVersion_, and HcalDetId::zside().
Referenced by HcalLogicalMapGenerator::buildHOXMap(), HcalLogicalMap::checkHashIds(), HcalLogicalMap::getHcalFrontEndId(), HcalCondObjectContainerBase::indexFor(), and maxDepthHE().
unsigned int HcalTopology::detId2denseIdHT | ( | const DetId & | id | ) | const |
return a linear packed id from HT
Definition at line 1074 of file HcalTopology.cc.
References HcalTrigTowerDetId::ietaAbs(), HcalTrigTowerDetId::iphi(), kHThalf, kHTSizePhase1, kHTSizePreLS1, HcalTrigTowerDetId::version(), HcalTrigTowerDetId::zside(), and ecaldqm::zside().
Referenced by HcalLogicalMap::checkHashIds(), CaloTPGTranscoderULUT::getOutputLUTId(), HcalCondObjectContainerBase::indexFor(), and maxDepthHE().
|
private |
Definition at line 973 of file HcalTopology.cc.
References HcalDetId::depth(), reco::dp, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalDetId::ietaAbs(), HcalDetId::iphi(), kHBhalf, kHEhalf, kHFhalf, kHOhalf, sd, HcalDetId::subdet(), and HcalDetId::zside().
Referenced by detId2denseId(), and idBack().
|
inline |
Definition at line 101 of file HcalTopology.h.
References depthBinInformation(), doublePhiBins_, etaRing(), and ecaldqm::zside().
Get the neighbors of the given cell in down direction (inward)
Implements CaloSubdetectorTopology.
Definition at line 329 of file HcalTopology.cc.
References HcalDetId::changeForm(), decrementDepth(), triggerObjects_cff::id, and HcalDetId::oldFormat().
Referenced by producerTag().
Flag=0 for unmerged Id's; =1 for for merged Id's; =2 for either Get the neighbors of the given cell in east direction
Implements CaloSubdetectorTopology.
Definition at line 279 of file HcalTopology.cc.
References decIEta(), and mps_fire::i.
Referenced by spr::newHCALIdEW(), and producerTag().
double HcalTopology::etaMax | ( | HcalSubdetector | subdet | ) | const |
Definition at line 937 of file HcalTopology.cc.
References PVValHelper::eta, etaTable, etaTableHF, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, lastHBRing_, lastHERing_, lastHORing_, and nEtaHE_.
Referenced by HcalGeometry::getCells(), HcalGeometry::getClosestCell(), and maxDepthHE().
std::pair< double, double > HcalTopology::etaRange | ( | HcalSubdetector | subdet, |
int | ieta | ||
) | const |
Definition at line 956 of file HcalTopology.cc.
References etaTable, etaTableHF, firstHFRing_, HcalForward, cuy::ii, createfilelist::int, lastHERing_, HcalTopologyMode::LHC, and mode_.
Referenced by HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHFStatusBitFromRecHits::hfSetFlagFromRecHits(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), HcaluLUTTPGCoder::make_cosh_ieta_map(), maxDepthHE(), and HcalTrigTowerGeometry::towerEtaBounds().
int HcalTopology::etaRing | ( | HcalSubdetector | subdet, |
double | eta | ||
) | const |
eta and phi index from eta, phi values
Definition at line 836 of file HcalTopology.cc.
References etaTable, etaTableHF, firstHBRing_, firstHFRing_, HcalForward, gen::k, and lastHERing_.
Referenced by decrementDepth(), doublePhiBins(), HcalGeometry::etaRing(), incrementDepth(), and mergedDepthList29().
void HcalTopology::exclude | ( | const HcalDetId & | id | ) |
Add a cell to exclusion list
Definition at line 262 of file HcalTopology.cc.
References exclusionList_, mps_fire::i, and triggerObjects_cff::id.
Referenced by exclude(), HcalTopologyRestrictionParser::parse(), and triggerMode().
int HcalTopology::exclude | ( | HcalSubdetector | subdet, |
int | ieta1, | ||
int | ieta2, | ||
int | iphi1, | ||
int | iphi2, | ||
int | depth1 = 1 , |
||
int | depth2 = 4 |
||
) |
Exclude an eta/phi/depth range for a given subdetector
Definition at line 339 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, exclude(), excludeHB_, excludeHE_, excludeHF_, excludeHO_, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, triggerObjects_cff::id, SiStripPI::max, min(), gen::n, and validRaw().
void HcalTopology::excludeSubdetector | ( | HcalSubdetector | subdet | ) |
Exclude an entire subdetector
Definition at line 269 of file HcalTopology.cc.
References excludeHB_, excludeHE_, excludeHF_, excludeHO_, HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
Referenced by HcalTopologyRestrictionParser::parse(), and triggerMode().
|
inline |
Definition at line 87 of file HcalTopology.h.
References firstHBRing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), CaloTowerTopology::convertCTtoHcal(), CaloTowerTopology::convertHcaltoCT(), denseId2detId(), detId2denseId(), detId2denseIdHB(), HcaluLUTTPGCoder::HcaluLUTTPGCoder(), and CaloTowerHardcodeGeometryLoader::load().
|
inline |
Definition at line 96 of file HcalTopology.h.
References firstHEDoublePhiRing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), decAIEta(), decIPhi(), HcalTrigTowerGeometry::detIds(), CaloTowersCreationAlgo::getThresholdAndWeight(), incAIEta(), incIPhi(), HcalHardcodeGeometryLoader::makeHECells(), nPhiBins(), HcalTrigTowerGeometry::towerIds(), and validRaw().
|
inline |
Definition at line 97 of file HcalTopology.h.
References firstHEQuadPhiRing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), decAIEta(), decIPhi(), incAIEta(), incIPhi(), nPhiBins(), and validRaw().
|
inline |
Definition at line 89 of file HcalTopology.h.
References firstHERing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), CaloTowerTopology::convertCTtoHcal(), CaloTowerTopology::convertHcaltoCT(), decAIEta(), decrementDepth(), denseId2detId(), depthBinInformation(), detId2denseId(), detId2denseIdHE(), HcalTrigTowerGeometry::detIds(), HcaluLUTTPGCoder::HcaluLUTTPGCoder(), CaloTowerHardcodeGeometryLoader::load(), validDetIdPreLS1(), and validRaw().
|
inline |
Definition at line 99 of file HcalTopology.h.
References firstHETripleDepthRing_.
Referenced by depthBinInformation(), HcalHardcodeGeometryLoader::makeHECells(), and validRaw().
|
inline |
Definition at line 98 of file HcalTopology.h.
References firstHFQuadPhiRing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), decAIEta(), decIPhi(), incAIEta(), incIPhi(), nPhiBins(), validDetIdPreLS1(), and validRaw().
|
inline |
Definition at line 91 of file HcalTopology.h.
References firstHFRing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), CaloTowerTopology::convertCTtoHcal(), CaloTowerTopology::convertHcaltoCT(), decAIEta(), decrementDepth(), HcalTrigTowerGeometry::detIds(), HcalTrigTowerGeometry::firstHFRingInTower(), HcaluLUTTPGCoder::HcaluLUTTPGCoder(), CaloTowerHardcodeGeometryLoader::load(), CaloTowerHardcodeGeometryLoader::makeCell(), validDetIdPreLS1(), and validRaw().
|
inline |
Definition at line 93 of file HcalTopology.h.
References firstHORing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), and CaloTowerTopology::convertHcaltoCT().
|
inline |
Definition at line 143 of file HcalTopology.h.
References CALIBSize_.
Referenced by HcalCondObjectContainerBase::sizeFor().
void HcalTopology::getDepthSegmentation | ( | const unsigned | ring, |
std::vector< int > & | readoutDepths, | ||
const bool | flag = false |
||
) | const |
for each of the ~17 depth segments, specify which readout bin they belong to if the ring is not found, the first one with a lower ring will be returned.
Definition at line 895 of file HcalTopology.cc.
References depthSegmentation_, depthSegmentationOne_, Exception, and relativeConstraints::ring.
Referenced by HcalDbHardcode::getLayersInDepth(), HcalHardcodeGeometryLoader::load(), mergedDepthList29(), HcalHardcodeCalibrations::produceRespCorrs(), and segmentBoundaries().
|
inline |
Definition at line 138 of file HcalTopology.h.
References HBSize_.
Referenced by HcalGeometry::init(), and HcalCondObjectContainerBase::sizeFor().
|
inline |
Definition at line 139 of file HcalTopology.h.
References HESize_.
Referenced by HcalGeometry::init(), and HcalCondObjectContainerBase::sizeFor().
|
inline |
Definition at line 141 of file HcalTopology.h.
References HFSize_.
Referenced by HcalGeometry::init(), HcalHardcodeGeometryLoader::load(), HcalFlexiHardcodeGeometryLoader::load(), CaloGeometryDBEP< T, U >::produceAligned(), and HcalCondObjectContainerBase::sizeFor().
|
inline |
Definition at line 140 of file HcalTopology.h.
References HOSize_.
Referenced by HcalGeometry::init(), and HcalCondObjectContainerBase::sizeFor().
|
inline |
Definition at line 142 of file HcalTopology.h.
References HTSize_.
Referenced by CaloTPGTranscoderULUT::setup(), and HcalCondObjectContainerBase::sizeFor().
|
inline |
Definition at line 170 of file HcalTopology.h.
References mergePosition_.
Referenced by CaloTowersCreationAlgo::assignHitHcal(), CaloTowerConstituentsMap::constituentsOf(), CaloTowersCreationAlgo::hadShwPosFromCells(), HcalRecHitsAnalyzer::hcalSevLvl(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::importRecHits(), HcalGeometry::init(), HBHEPlan1Combiner::produce(), HcalHitSelection::skim(), and PFRecHitQTestHCALChannel::test().
|
inline |
Definition at line 164 of file HcalTopology.h.
References numberOfShapes_.
Referenced by HcalGeometry::numberOfShapes(), and CaloGeometryDBEP< T, U >::produceAligned().
|
inline |
Definition at line 136 of file HcalTopology.h.
References HcalDDDRecConstants::getPhiZOne(), and hcons_.
Definition at line 177 of file HcalTopology.h.
References decAIEta(), detId2denseIdPreLS1(), hcons_, HcalDDDRecConstants::idBack(), incAIEta(), isExcluded(), validDetIdPreLS1(), and validRaw().
Referenced by CaloTowersCreationAlgo::hadShwPosFromCells(), and CaloTowersCreationAlgo::hadShwrPos().
Definition at line 176 of file HcalTopology.h.
References hcons_, and HcalDDDRecConstants::idFront().
Referenced by CaloTowersCreationAlgo::assignHitHcal(), HcalGeometry::getGeometry(), HcalGeometry::getPosition(), CaloTowersCreationAlgo::hadShwPosFromCells(), CaloTowersCreationAlgo::hadShwrPos(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsAnalyzer::hcalSevLvl(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::importRecHits(), HcalHitSelection::skim(), and PFRecHitQTestHCALChannel::test().
Get the neighbors of the given cell with higher absolute ieta
Increasing in |ieta|, there is always at most one neighbor
Definition at line 596 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, etaHE2HF_, firstHEDoublePhiRing(), firstHEQuadPhiRing(), firstHFQuadPhiRing(), HcalEndcap, HcalForward, lastHBRing(), lastHERing(), gen::n, valid(), and ecaldqm::zside().
Referenced by decIEta(), idBack(), and incIEta().
Get the neighbors of the given cell with higher (signed) ieta
Definition at line 585 of file HcalTopology.cc.
References decAIEta(), incAIEta(), and ecaldqm::zside().
Referenced by producerTag(), and west().
Get the neighbor (if present) of the given cell with higher iphi
Definition at line 510 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, firstHEDoublePhiRing(), firstHEQuadPhiRing(), firstHFQuadPhiRing(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, IPHI_MAX, maxPhiHE_, convertSQLiteXML::ok, valid(), and validRaw().
Referenced by north(), and producerTag().
bool HcalTopology::incrementDepth | ( | HcalDetId & | id | ) | const |
Get the detector behind this one
Definition at line 714 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, HcalDetId::depth(), depthBinInformation(), etaRing(), HcalDDDRecConstants::getDepthEta16(), HcalTopologyMode::H2HE, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hcons_, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), lastHBRing(), lastHERing(), lastHORing(), mode_, HcalTopologyMode::SLHC, HcalDetId::subdet(), validRaw(), HcalDetId::zside(), and ecaldqm::zside().
Referenced by HcalGeometry::getClosestCell(), producerTag(), and up().
|
inline |
Definition at line 165 of file HcalTopology.h.
References hcons_, and HcalDDDRecConstants::isBH().
Referenced by CaloTowerTopology::CaloTowerTopology().
|
private |
Definition at line 244 of file HcalTopology.cc.
References excludeHB_, excludeHE_, excludeHF_, excludeHO_, exclusionList_, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, mps_fire::i, and triggerObjects_cff::id.
Referenced by idBack(), and validHcal().
|
inline |
Definition at line 88 of file HcalTopology.h.
References lastHBRing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), CaloTowerTopology::convertHcaltoCT(), denseId2detId(), depthBinInformation(), detId2denseId(), detId2denseIdHB(), HcalTrigTowerGeometry::detIds(), CaloTPGTranscoderULUT::getOutputLUTSize(), reco::hcalSubdetector(), HcaluLUTTPGCoder::HcaluLUTTPGCoder(), incAIEta(), incrementDepth(), CaloTPGTranscoderULUT::isOnlyQIE11(), CaloTowerHardcodeGeometryLoader::load(), HcaluLUTTPGCoder::update(), and validRaw().
|
inline |
Definition at line 90 of file HcalTopology.h.
References lastHERing_.
Referenced by CaloTowersCreationAlgo::assignHitHcal(), CaloTowerTopology::CaloTowerTopology(), CaloTowerTopology::convertHcaltoCT(), decrementDepth(), denseId2detId(), depthBinInformation(), detId2denseId(), detId2denseIdHE(), HcalTrigTowerGeometry::detIds(), CaloTPGTranscoderULUT::getOutputLUTSize(), reco::hcalSubdetector(), HcaluLUTTPGCoder::HcaluLUTTPGCoder(), incAIEta(), incrementDepth(), CaloTowerHardcodeGeometryLoader::load(), HcalHardcodeGeometryLoader::load(), CaloTowersCreationAlgo::makeHcalDropChMap(), HcalHardcodeGeometryLoader::makeHECells(), HcalHardcodeCalibrations::produceRespCorrs(), HcalTrigTowerGeometry::towerIds(), and validRaw().
|
inline |
Definition at line 92 of file HcalTopology.h.
References lastHFRing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), CaloTowerTopology::convertHcaltoCT(), reco::hcalSubdetector(), HcaluLUTTPGCoder::HcaluLUTTPGCoder(), CaloTowerHardcodeGeometryLoader::load(), validDetIdPreLS1(), and validRaw().
|
inline |
Definition at line 94 of file HcalTopology.h.
References lastHORing_.
Referenced by CaloTowerTopology::CaloTowerTopology(), CaloTowerTopology::convertHcaltoCT(), HcalTrigTowerGeometry::detIds(), incrementDepth(), and validRaw().
int HcalTopology::maxDepth | ( | HcalSubdetector | subdet | ) | const |
Definition at line 829 of file HcalTopology.cc.
References HcalBarrel, HcalEndcap, HcalForward, maxDepthHB_, maxDepthHE_, and maxDepthHF_.
Referenced by HcalGeometry::getCells(), HcaluLUTTPGCoder::HcaluLUTTPGCoder(), and maxDepthHE().
|
inline |
|
inline |
Definition at line 146 of file HcalTopology.h.
References detId2denseIdCALIB(), detId2denseIdHB(), detId2denseIdHE(), detId2denseIdHF(), detId2denseIdHO(), detId2denseIdHT(), etaMax(), etaRange(), maxDepth(), and maxDepthHE_.
|
inline |
Definition at line 107 of file HcalTopology.h.
References egammaForCoreTracking_cff::depth, hcons_, and HcalDDDRecConstants::mergedDepthList29().
Referenced by CaloTowersCreationAlgo::assignHitHcal(), reco::helper::JetIDHelper::classifyJetComponents(), and CaloTowersCreationAlgo::makeHcalDropChMap().
Definition at line 169 of file HcalTopology.h.
References hcons_, and HcalDDDRecConstants::mergedDepthDetId().
Referenced by CaloTowerConstituentsMap::constituentsOf(), HcalGeometry::correctId(), CaloTowersCreationAlgo::makeHcalDropChMap(), and SimplePlan1RechitCombiner::mapRechit().
|
inline |
Definition at line 110 of file HcalTopology.h.
References PVValHelper::eta, etaRing(), getDepthSegmentation(), hcons_, HcalDDDRecConstants::mergedDepthList29(), nPhiBins(), phi, phiBin(), relativeConstraints::ring, segmentBoundaries(), and setDepthSegmentation().
|
inline |
Definition at line 31 of file HcalTopology.h.
References mode_.
Referenced by HcalHardcodeGeometryLoader::load(), HcalFlexiHardcodeGeometryLoader::load(), HcalHardcodeGeometryLoader::makeHBCells(), and HcalHardcodeGeometryLoader::makeHECells().
|
overridevirtual |
return a count of valid cells (for dense indexing use)
Reimplemented from CaloSubdetectorTopology.
Definition at line 1297 of file HcalTopology.cc.
References HBSize_, HESize_, HFSize_, and HOSize_.
Referenced by denseId2detId(), HcalGeometry::getSummary(), HcalHardcodeGeometryLoader::load(), HcalFlexiHardcodeGeometryLoader::load(), CaloGeometryDBEP< T, U >::produceAligned(), producerTag(), and HcalGeometry::sizeForDenseIndex().
Get the neighbors of the given cell in north direction
Implements CaloSubdetectorTopology.
Definition at line 299 of file HcalTopology.cc.
References HcalDetId::changeForm(), incIPhi(), HcalDetId::oldFormat(), and DetId::rawId().
Referenced by spr::newHCALIdNS(), and producerTag().
int HcalTopology::nPhiBins | ( | int | etaRing | ) | const |
how many phi segments in this ring
Definition at line 805 of file HcalTopology.cc.
References doublePhiBins_, dPhiTable, firstHBRing_, firstHEDoublePhiRing(), firstHEQuadPhiRing(), firstHFQuadPhiRing(), HcalDDDRecConstants::getEtaRange(), hcons_, M_PI, and singlePhiBins_.
Referenced by CaloTowerHardcodeGeometryLoader::makeCell(), and mergedDepthList29().
int HcalTopology::nPhiBins | ( | HcalSubdetector | subdet, |
int | etaRing | ||
) | const |
Definition at line 818 of file HcalTopology.cc.
References dPhiTable, dPhiTableHF, firstHBRing_, firstHFRing_, HcalForward, createfilelist::int, and M_PI.
int HcalTopology::phiBin | ( | HcalSubdetector | subdet, |
int | etaRing, | ||
double | phi | ||
) | const |
Definition at line 858 of file HcalTopology.cc.
References dPhiTable, dPhiTableHF, firstHBRing_, firstHFRing_, HcalBarrel, HcalEndcap, HcalForward, M_PI, phioff, csvLumiCalc::unit, unitPhi, and unitPhiHF.
Referenced by mergedDepthList29(), and HcalGeometry::phiBin().
|
inlinestatic |
Definition at line 40 of file HcalTopology.h.
References decIEta(), decIPhi(), decrementDepth(), denseId2detId(), egammaForCoreTracking_cff::depth, detId2denseId(), down(), east(), RemoveAddSevLevel::flag, incIEta(), incIPhi(), incrementDepth(), ncells(), north(), south(), topoVersion(), up(), valid(), validDetId(), validHcal(), validHT(), and west().
std::pair< int, int > HcalTopology::segmentBoundaries | ( | const unsigned | ring, |
const unsigned | depth, | ||
const bool | flag = false |
||
) | const |
returns the boundaries of the depth segmentation, so that the first result is the first segment, and the second result is the first one of the next segment. Used for calculating physical bounds.
Definition at line 927 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, and getDepthSegmentation().
Referenced by mergedDepthList29().
void HcalTopology::setDepthSegmentation | ( | const unsigned | ring, |
const std::vector< int > & | readoutDepths, | ||
const bool | flag | ||
) |
Definition at line 917 of file HcalTopology.cc.
References depthSegmentation_, depthSegmentationOne_, and relativeConstraints::ring.
Referenced by HcalTopology(), and mergedDepthList29().
|
inline |
Get the neighbors of the given cell in south direction
Implements CaloSubdetectorTopology.
Definition at line 309 of file HcalTopology.cc.
References HcalDetId::changeForm(), decIPhi(), HcalDetId::oldFormat(), and DetId::rawId().
Referenced by spr::newHCALIdNS(), and producerTag().
|
overridevirtual |
return a version which identifies the given topology
Reimplemented from CaloSubdetectorTopology.
Definition at line 1301 of file HcalTopology.cc.
References topoVersion_.
Referenced by HcalCondObjectContainerBase::HcalCondObjectContainerBase(), producerTag(), and HcalCondObjectContainerBase::setTopo().
|
inline |
Definition at line 32 of file HcalTopology.h.
References exclude(), excludeSubdetector(), and triggerMode_.
Referenced by CaloTPGTranscoderULUT::getOutputLUTSize(), HcalTrigTowerGeometry::HcalTrigTowerGeometry(), CaloTPGTranscoderULUT::isOnlyQIE11(), and HcaluLUTTPGCoder::update().
|
inline |
Definition at line 171 of file HcalTopology.h.
References hcons_, and HcalDDDRecConstants::unmergeDepthDetId().
Referenced by HcalCollapseAnalyzer::analyze(), HcalGeometry::getBackPosition(), and HcalGeometry::getCorners().
Get the neighbors of the given cell in up direction (outward)
Implements CaloSubdetectorTopology.
Definition at line 319 of file HcalTopology.cc.
References HcalDetId::changeForm(), triggerObjects_cff::id, incrementDepth(), and HcalDetId::oldFormat().
Referenced by spr::matrixHCALIdsDepth(), and producerTag().
|
overridevirtual |
Is this a valid cell id?
Reimplemented from CaloSubdetectorTopology.
Definition at line 189 of file HcalTopology.cc.
References DetId::Hcal, and validHcal().
Referenced by WriteL1TriggerObjectsTxt::analyze(), HcalLutAnalyzer::analyze(), decAIEta(), decIPhi(), HcalGeometry::getCells(), incAIEta(), incIPhi(), CaloMiscalibMapHcal::prefillMap(), producerTag(), CaloTPGTranscoderULUT::setup(), HcaluLUTTPGCoder::update(), HcaluLUTTPGCoder::updateXML(), and HGCalTriggerGeometryHexLayerBasedImp1::validCellId().
bool HcalTopology::validDetId | ( | HcalSubdetector | subdet, |
int | ieta, | ||
int | iphi, | ||
int | depth | ||
) | const |
Definition at line 199 of file HcalTopology.cc.
References validHcal().
Referenced by producerTag().
|
private |
Is this a valid cell id, ignoring the exclusion list
Basic rules used to derive this code:
HB has 72 towers in iphi. Ieta 1-14 have depth=1, Ieta 15-16 have depth=1 or 2.
HE ieta=16-20 have 72 towers in iphi ieta=21-29 have 36 towers in iphi ieta=16 is depth 3 only ieta=17 is depth 1 only ieta=18-26 & 29 have depth 1 and 2 ieta=27-28 has depth 1-3
HF ieta=29-39 have 36 in iphi ieta=40-41 have 18 in iphi (71,3,7,11...) all have two depths
HO has 15 towers in ieta and 72 in iphi and depth = 4 (one value)
At H2:
HE ieta 17 is two depths HE ieta 22- have 36 towers in iphi (starts one higher) HE ieta 24- has three depths
Definition at line 398 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, reco::dp, firstHERing(), firstHFQuadPhiRing(), firstHFRing(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, IPHI_MAX, lastHFRing(), and sd.
Referenced by idBack().
bool HcalTopology::validHcal | ( | const HcalDetId & | id | ) | const |
Is this a valid cell id?
Definition at line 194 of file HcalTopology.cc.
References isExcluded(), and validRaw().
Referenced by HcalDigitizer::accumulateCaloHits(), HcalHBHEMuonAnalyzer::analyze(), CaloTowersCreationAlgo::hadShwrPos(), producerTag(), valid(), validDetId(), and validHcal().
bool HcalTopology::validHcal | ( | const HcalDetId & | id, |
const unsigned int | flag | ||
) | const |
Is this a valid cell in context of Plan1
Definition at line 228 of file HcalTopology.cc.
References hcons_, HcalDDDRecConstants::isPlan1MergedId(), HcalDDDRecConstants::isPlan1ToBeMergedId(), or, and validHcal().
bool HcalTopology::validHT | ( | const HcalTrigTowerDetId & | id | ) | const |
Definition at line 204 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, IPHI_MAX, triggerMode_, HcalTopologyMode::TriggerMode_2009, HcalTopologyMode::TriggerMode_2017, HcalTopologyMode::TriggerMode_2018legacy, and jets_cff::version.
Referenced by HcalLutAnalyzer::analyze(), CaloTPGTranscoderULUT::HTvalid(), CaloTPGTranscoderULUT::loadHCALCompress(), producerTag(), and validRaw().
|
private |
Is this a valid cell id?
Definition at line 446 of file HcalTopology.cc.
References egammaForCoreTracking_cff::depth, etaBinsHE_, firstHEDoublePhiRing(), firstHEQuadPhiRing(), firstHERing(), firstHETripleDepthRing(), firstHFQuadPhiRing(), firstHFRing(), HcalDDDRecConstants::getDepthEta16(), HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getNoff(), HcalTopologyMode::H2, HcalTopologyMode::H2HE, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalTriggerTower, hcons_, mps_fire::i, IPHI_MAX, lastHBRing(), lastHERing(), lastHFRing(), lastHORing(), maxEta_, HcalDDDRecConstants::maxHFDepth(), trackingParticleSelector_cfi::maxPhi, maxPhiHE_, mode_, convertSQLiteXML::ok, HcalTopologyMode::SLHC, validHT(), and ecaldqm::zside().
Referenced by decIPhi(), decrementDepth(), exclude(), idBack(), incIPhi(), incrementDepth(), and validHcal().
Get the neighbors of the given cell in west direction
Implements CaloSubdetectorTopology.
Definition at line 289 of file HcalTopology.cc.
References mps_fire::i, and incIEta().
Referenced by spr::newHCALIdEW(), and producerTag().
|
inline |
Definition at line 168 of file HcalTopology.h.
References hcons_, and HcalDDDRecConstants::withSpecialRBXHBHE().
|
private |
Definition at line 219 of file HcalTopology.h.
Referenced by getCALIBSize().
|
private |
Definition at line 230 of file HcalTopology.h.
Referenced by getDepthSegmentation(), and setDepthSegmentation().
|
private |
Definition at line 231 of file HcalTopology.h.
Referenced by getDepthSegmentation(), and setDepthSegmentation().
|
private |
Definition at line 209 of file HcalTopology.h.
Referenced by doublePhiBins(), and nPhiBins().
|
private |
Definition at line 222 of file HcalTopology.h.
Referenced by HcalTopology(), nPhiBins(), and phiBin().
|
private |
Definition at line 222 of file HcalTopology.h.
Referenced by HcalTopology(), nPhiBins(), and phiBin().
|
private |
Definition at line 204 of file HcalTopology.h.
Referenced by decrementDepth(), and HcalTopology().
|
private |
Definition at line 204 of file HcalTopology.h.
Referenced by decrementDepth(), HcalTopology(), and validRaw().
|
private |
Definition at line 211 of file HcalTopology.h.
Referenced by HcalTopology(), and incAIEta().
|
private |
Definition at line 211 of file HcalTopology.h.
Referenced by decAIEta(), decrementDepth(), and HcalTopology().
|
private |
Definition at line 222 of file HcalTopology.h.
Referenced by etaMax(), etaRange(), etaRing(), and HcalTopology().
|
private |
Definition at line 222 of file HcalTopology.h.
Referenced by etaMax(), etaRange(), etaRing(), and HcalTopology().
|
private |
Definition at line 194 of file HcalTopology.h.
Referenced by exclude(), excludeSubdetector(), and isExcluded().
|
private |
Definition at line 194 of file HcalTopology.h.
Referenced by exclude(), excludeSubdetector(), and isExcluded().
|
private |
Definition at line 194 of file HcalTopology.h.
Referenced by exclude(), excludeSubdetector(), and isExcluded().
|
private |
Definition at line 194 of file HcalTopology.h.
Referenced by exclude(), excludeSubdetector(), and isExcluded().
|
private |
Definition at line 193 of file HcalTopology.h.
Referenced by exclude(), and isExcluded().
|
private |
Definition at line 199 of file HcalTopology.h.
Referenced by etaRing(), firstHBRing(), HcalTopology(), nPhiBins(), and phiBin().
|
private |
Definition at line 207 of file HcalTopology.h.
Referenced by firstHEDoublePhiRing(), and HcalTopology().
|
private |
Definition at line 207 of file HcalTopology.h.
Referenced by firstHEQuadPhiRing(), and HcalTopology().
|
private |
Definition at line 200 of file HcalTopology.h.
Referenced by firstHERing(), and HcalTopology().
|
private |
Definition at line 208 of file HcalTopology.h.
Referenced by firstHETripleDepthRing(), and HcalTopology().
|
private |
Definition at line 207 of file HcalTopology.h.
Referenced by firstHFQuadPhiRing(), and HcalTopology().
|
private |
Definition at line 201 of file HcalTopology.h.
Referenced by etaRange(), etaRing(), firstHFRing(), HcalTopology(), nPhiBins(), and phiBin().
|
private |
Definition at line 202 of file HcalTopology.h.
Referenced by firstHORing(), and HcalTopology().
|
private |
Definition at line 214 of file HcalTopology.h.
Referenced by denseId2detId(), detId2denseId(), getHBSize(), HcalTopology(), and ncells().
|
private |
Definition at line 191 of file HcalTopology.h.
Referenced by dddConstants(), decrementDepth(), depthBinInformation(), getPhiZOne(), HcalTopology(), idBack(), idFront(), incrementDepth(), isBH(), mergedDepth29(), mergedDepthDetId(), mergedDepthList29(), nPhiBins(), unmergeDepthDetId(), validHcal(), validRaw(), and withSpecialRBXHBHE().
|
private |
Definition at line 215 of file HcalTopology.h.
Referenced by denseId2detId(), detId2denseId(), getHESize(), HcalTopology(), and ncells().
|
private |
Definition at line 217 of file HcalTopology.h.
Referenced by getHFSize(), HcalTopology(), and ncells().
|
private |
Definition at line 216 of file HcalTopology.h.
Referenced by denseId2detId(), detId2denseId(), getHOSize(), HcalTopology(), and ncells().
|
private |
Definition at line 218 of file HcalTopology.h.
Referenced by getHTSize(), and HcalTopology().
|
private |
Definition at line 199 of file HcalTopology.h.
Referenced by etaMax(), HcalTopology(), and lastHBRing().
|
private |
Definition at line 200 of file HcalTopology.h.
Referenced by etaMax(), etaRange(), etaRing(), HcalTopology(), and lastHERing().
|
private |
Definition at line 201 of file HcalTopology.h.
Referenced by HcalTopology(), and lastHFRing().
|
private |
Definition at line 202 of file HcalTopology.h.
Referenced by etaMax(), HcalTopology(), and lastHORing().
|
private |
Definition at line 210 of file HcalTopology.h.
Referenced by denseId2detId(), detId2denseId(), detId2denseIdHB(), HcalTopology(), maxDepth(), and maxDepthHB().
|
private |
Definition at line 210 of file HcalTopology.h.
Referenced by denseId2detId(), detId2denseId(), detId2denseIdHE(), HcalTopology(), maxDepth(), and maxDepthHE().
|
private |
Definition at line 210 of file HcalTopology.h.
Referenced by denseId2detId(), depthBinInformation(), detId2denseId(), detId2denseIdHF(), HcalTopology(), and maxDepth().
|
private |
Definition at line 212 of file HcalTopology.h.
Referenced by HcalTopology(), and validRaw().
|
private |
Definition at line 212 of file HcalTopology.h.
Referenced by decIPhi(), denseId2detId(), detId2denseId(), detId2denseIdHE(), HcalTopology(), incIPhi(), and validRaw().
|
private |
Definition at line 192 of file HcalTopology.h.
Referenced by getMergePositionFlag().
|
private |
Definition at line 196 of file HcalTopology.h.
Referenced by decrementDepth(), depthBinInformation(), etaRange(), HcalTopology(), incrementDepth(), mode(), and validRaw().
|
private |
Definition at line 205 of file HcalTopology.h.
Referenced by decrementDepth(), denseId2detId(), detId2denseId(), detId2denseIdHB(), and HcalTopology().
|
private |
Definition at line 205 of file HcalTopology.h.
Referenced by denseId2detId(), detId2denseId(), detId2denseIdHE(), etaMax(), and HcalTopology().
|
private |
Definition at line 220 of file HcalTopology.h.
Referenced by getNumberOfShapes(), and HcalTopology().
|
private |
Definition at line 223 of file HcalTopology.h.
Referenced by HcalTopology(), and phiBin().
|
private |
Definition at line 209 of file HcalTopology.h.
Referenced by nPhiBins(), and singlePhiBins().
|
private |
Definition at line 226 of file HcalTopology.h.
Referenced by denseId2detId(), detId2denseId(), detId2denseIdHB(), detId2denseIdHE(), detId2denseIdHF(), detId2denseIdHO(), HcalTopology(), and topoVersion().
|
private |
Definition at line 197 of file HcalTopology.h.
Referenced by HcalTopology(), triggerMode(), and validHT().
|
private |
Definition at line 224 of file HcalTopology.h.
Referenced by HcalTopology(), and phiBin().
|
private |
Definition at line 224 of file HcalTopology.h.
Referenced by HcalTopology(), and phiBin().