1 #ifndef GEOMETRY_CALOTOPOLOGY_HCALTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_HCALTOPOLOGY_H 1
38 int exclude(
HcalSubdetector subdet,
int ieta1,
int ieta2,
int iphi1,
int iphi2,
int depth1=1,
int depth2=4);
47 virtual unsigned int ncells()
const;
58 virtual std::vector<DetId>
east(
const DetId&
id)
const;
60 virtual std::vector<DetId>
west(
const DetId&
id)
const;
62 virtual std::vector<DetId>
north(
const DetId&
id)
const;
64 virtual std::vector<DetId>
south(
const DetId&
id)
const;
66 virtual std::vector<DetId>
up(
const DetId&
id)
const;
68 virtual std::vector<DetId>
down(
const DetId&
id)
const;
101 int & nDepthBins,
int & startingBin)
const;
unsigned int getCALIBSize() const
unsigned int getHFSize() const
std::vector< int > unitPhiHF
int decIEta(const HcalDetId &id, HcalDetId neighbors[2]) const
unsigned int numberOfShapes_
unsigned int detId2denseIdPreLS1(const DetId &id) const
virtual unsigned int detId2denseId(const DetId &id) const
return a linear packed id
unsigned int getHOSize() const
std::vector< double > dPhiTableHF
void excludeSubdetector(HcalSubdetector subdet)
std::vector< HcalDDDRecConstants::HcalEtaBin > etaBinsHB_
int phiBin(HcalSubdetector subdet, int etaRing, double phi) const
std::vector< int > unitPhi
virtual std::vector< DetId > down(const DetId &id) const
bool validDetId(HcalSubdetector subdet, int ieta, int iphi, int depth) const
virtual std::vector< DetId > south(const DetId &id) const
unsigned int detId2denseIdHT(const DetId &id) const
return a linear packed id from HT
unsigned int detId2denseIdHF(const DetId &id) const
return a linear packed id from HF
void exclude(const HcalDetId &id)
HcalTopologyMode::TriggerMode triggerMode_
int nPhiBins(int etaRing) const
how many phi segments in this ring
int incIEta(const HcalDetId &id, HcalDetId neighbors[2]) const
bool decrementDepth(HcalDetId &id) const
HcalTopology(const HcalDDDRecConstants *hcons)
unsigned int detId2denseIdHB(const DetId &id) const
return a linear packed id from HB
bool decIPhi(const HcalDetId &id, HcalDetId &neighbor) const
bool validHcal(const HcalDetId &id) const
bool neighbor(int endcap, int sector, int SectIndex, int id, int sub, int station)
std::vector< HcalDDDRecConstants::HcalEtaBin > etaBinsHE_
HcalTopologyMode::TriggerMode triggerMode() const
HcalTopologyMode::Mode mode() const
virtual int topoVersion() const
return a version which identifies the given topology
int singlePhiBins() const
bool isExcluded(const HcalDetId &id) const
bool incIPhi(const HcalDetId &id, HcalDetId &neighbor) const
bool validRaw(const HcalDetId &id) const
int decAIEta(const HcalDetId &id, HcalDetId neighbors[2]) const
unsigned int getNumberOfShapes() const
int maxDepth(HcalSubdetector subdet) const
HcalTopologyMode::Mode mode_
int etaRing(HcalSubdetector subdet, double eta) const
eta and phi index from eta, phi values
void setDepthSegmentation(unsigned ring, const std::vector< int > &readoutDepths)
int firstHETripleDepthRing() const
static std::string producerTag()
unsigned int getHTSize() const
virtual std::vector< DetId > west(const DetId &id) const
int doublePhiBins() const
void depthBinInformation(HcalSubdetector subdet, int etaRing, int &nDepthBins, int &startingBin) const
finds the number of depth bins and which is the number to start with
virtual DetId denseId2detId(unsigned int) const
return a linear packed id
std::vector< double > etaTableHF
int firstHEDoublePhiRing() const
SegmentationMap depthSegmentation_
std::vector< double > etaTable
bool validDetIdPreLS1(const HcalDetId &id) const
bool incrementDepth(HcalDetId &id) const
std::pair< int, int > segmentBoundaries(unsigned ring, unsigned depth) const
std::vector< double > phioff
void getDepthSegmentation(unsigned ring, std::vector< int > &readoutDepths) const
virtual std::vector< DetId > north(const DetId &id) const
virtual bool valid(const DetId &id) const
int firstHFQuadPhiRing() const
unsigned int getHESize() const
virtual std::vector< DetId > up(const DetId &id) const
std::vector< double > dPhiTable
std::pair< double, double > etaRange(HcalSubdetector subdet, int ieta) const
int firstHETripleDepthRing_
unsigned int detId2denseIdHO(const DetId &id) const
return a linear packed id from HO
std::vector< HcalDetId > exclusionList_
unsigned int detId2denseIdHE(const DetId &id) const
return a linear packed id from HE
int firstHEQuadPhiRing() const
virtual std::vector< DetId > east(const DetId &id) const
unsigned int getHBSize() const
int incAIEta(const HcalDetId &id, HcalDetId neighbors[2]) const
unsigned int detId2denseIdCALIB(const DetId &id) const
return a linear packed id from CALIB
virtual unsigned int ncells() const
return a count of valid cells (for dense indexing use)
double etaMax(HcalSubdetector subdet) const
int firstHEDoublePhiRing_
const HcalDDDRecConstants * hcons_
std::map< unsigned, std::vector< int > > SegmentationMap
bool validHT(const HcalTrigTowerDetId &id) const