10 int nEtaHB, nEtaHO, nEtaHF;
16 std::cout <<
"CaloTowerTopology:(1) " << nEtaHB <<
":" <<
nEtaHE_ <<
":" << nEtaHO <<
":" << nEtaHF <<
":"
47 int nEtaSinglePhi_, nEtaDoublePhi_, nEtaQuadPhi_;
50 nEtaQuadPhi_ =
lastHFRing_ - firstHFQuadPhiRing_ + 1;
58 std::cout <<
"CaloTowerTopology: (3) " << nEtaSinglePhi_ <<
":" << nEtaDoublePhi_ <<
":" << nEtaQuadPhi_ <<
":"
100 int ia =
id.ietaAbs();
104 && (ip >= 1) && (ip <= 72)
113 std::vector<DetId>
dd;
115 int ieta = tid.
ieta();
116 int iphi = tid.
iphi();
134 if (((iphi - 1) % 4) == 0) {
152 std::vector<DetId>
dd;
155 int ieta = tid.
ieta();
156 int iphi = tid.
iphi();
174 if (((iphi - 1) % 4) == 0) {
194 int iphi_n = tid.
iphi() + 1;
207 std::vector<DetId>
dd;
215 int iphi_s = tid.
iphi() - 1;
226 std::vector<DetId>
dd;
238 const int ip(tid.
iphi() - 1);
int convertHcaltoCT(int hcal_ieta, HcalSubdetector subdet) const
int ietaAbs() const
get the absolute value of the tower ieta
std::vector< DetId > down(const DetId &id) const override
uint32_t kSizeForDenseIndexing
bool valid(const DetId &id) const override
is this detid present in the Topology?
CaloTowerTopology(const HcalTopology *topology)
standard constructor
int firstHEDoublePhiRing_
CaloTowerDetId detIdFromDenseIndex(uint32_t din) const
std::vector< DetId > south(const DetId &id) const override
std::vector< DetId > up(const DetId &id) const override
static const int SubdetId
int iphi() const
get the tower iphi
int firstHEDoublePhiRing() const
const HcalTopology * hcaltopo
uint32_t denseIndex(const DetId &id) const
std::vector< DetId > north(const DetId &id) const override
std::vector< DetId > east(const DetId &id) const override
int zside() const
get the z-side of the tower (1/-1)
int firstHFQuadPhiRing() const
int convertCTtoHcal(int ct_ieta) const
int firstHEQuadPhiRing() const
int ieta() const
get the tower ieta
bool validDenseIndex(uint32_t din) const
virtual bool validDetId(const CaloTowerDetId &id) const
std::vector< DetId > west(const DetId &id) const override