11 int nEtaHB, nEtaHO, nEtaHF;
18 << nEtaHO <<
":" << nEtaHF <<
":" <<
hcaltopo->
isBH() << std::endl;
45 int nEtaSinglePhi_, nEtaDoublePhi_, nEtaQuadPhi_;
48 nEtaQuadPhi_ =
lastHFRing_ - firstHFQuadPhiRing_ + 1;
56 std::cout <<
"CaloTowerTopology: (3) " << nEtaSinglePhi_ <<
":" 57 << nEtaDoublePhi_ <<
":" << nEtaQuadPhi_ <<
":" <<
nSinglePhi_ 98 int ia =
id.ietaAbs();
102 && (ip >= 1) && (ip <= 72)
111 std::vector<DetId>
dd;
122 if ((iphi%2)==0) iphi--;
128 if (((iphi-1)%4)==0) {
129 if (iphi==1) iphi=71;
143 std::vector<DetId>
dd;
155 if ((iphi%2)==0) iphi--;
161 if (((iphi-1)%4)==0) {
162 if (iphi==1) iphi=71;
178 int iphi_n=tid.
iphi()+1;
179 if (iphi_n>72) iphi_n=1;
182 if (iphi_n>72) iphi_n-=72;
185 if (iphi_n>72) iphi_n-=72;
188 std::vector<DetId>
dd;
196 int iphi_s=tid.
iphi()-1;
197 if (iphi_s==0) iphi_s=72;
200 if (iphi_s<=0) iphi_s+=72;
205 std::vector<DetId>
dd;
211 return std::vector<DetId>();
215 return std::vector<DetId>();
220 const int ie ( tid.
ietaAbs() );
221 const int ip ( tid.
iphi() - 1 ) ;
std::vector< DetId > down(const DetId &id) const override
std::vector< DetId > up(const DetId &id) const override
int convertHcaltoCT(int hcal_ieta, HcalSubdetector subdet) const
std::vector< DetId > north(const DetId &id) const override
int ietaAbs() const
get the absolute value of the tower ieta
CaloTopology const * topology(0)
uint32_t kSizeForDenseIndexing
CaloTowerTopology(const HcalTopology *topology)
standard constructor
int firstHEDoublePhiRing_
CaloTowerDetId detIdFromDenseIndex(uint32_t din) const
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 > east(const DetId &id) const override
int zside() const
get the z-side of the tower (1/-1)
int firstHFQuadPhiRing() const
bool valid(const DetId &id) const override
is this detid present in the Topology?
std::vector< DetId > west(const DetId &id) const override
int convertCTtoHcal(int ct_ieta) const
int firstHEQuadPhiRing() const
int ieta() const
get the tower ieta
std::vector< DetId > south(const DetId &id) const override
bool validDenseIndex(uint32_t din) const
virtual bool validDetId(const CaloTowerDetId &id) const