8 int nEtaHB, nEtaHE, nEtaHO, nEtaHF;
31 int nEtaSinglePhi_, nEtaDoublePhi_, nEtaQuadPhi_;
34 nEtaQuadPhi_ =
lastHFRing_ - firstHFQuadPhiRing_ + 1;
78 int ia =
id.ietaAbs();
82 && (ip >= 1) && (ip <= 72)
91 std::vector<DetId>
dd;
102 if ((iphi%2)==0) iphi--;
108 if (((iphi-1)%4)==0) {
109 if (iphi==1) iphi=71;
123 std::vector<DetId>
dd;
135 if ((iphi%2)==0) iphi--;
141 if (((iphi-1)%4)==0) {
142 if (iphi==1) iphi=71;
158 int iphi_n=tid.
iphi()+1;
159 if (iphi_n>72) iphi_n=1;
162 if (iphi_n>72) iphi_n-=72;
165 if (iphi_n>72) iphi_n-=72;
168 std::vector<DetId>
dd;
176 int iphi_s=tid.
iphi()-1;
177 if (iphi_s==0) iphi_s=72;
180 if (iphi_s<=0) iphi_s+=72;
185 std::vector<DetId>
dd;
191 return std::vector<DetId>();
195 return std::vector<DetId>();
200 const int ie ( tid.
ietaAbs() );
201 const int ip ( tid.
iphi() - 1 ) ;
virtual std::vector< DetId > down(const DetId &id) const
virtual std::vector< DetId > south(const DetId &id) const
int convertHcaltoCT(int hcal_ieta, HcalSubdetector subdet) const
virtual bool valid(const DetId &id) const
is this detid present in the Topology?
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
virtual std::vector< DetId > north(const DetId &id) const
int iphi() const
get the tower iphi
int firstHEDoublePhiRing() const
const HcalTopology * hcaltopo
uint32_t denseIndex(const DetId &id) const
virtual std::vector< DetId > west(const DetId &id) const
int zside() const
get the z-side of the tower (1/-1)
int firstHFQuadPhiRing() const
virtual std::vector< DetId > east(const DetId &id) const
int convertCTtoHcal(int ct_ieta) const
int firstHEQuadPhiRing() const
virtual std::vector< DetId > up(const DetId &id) const
int ieta() const
get the tower ieta
bool validDenseIndex(uint32_t din) const
virtual bool validDetId(const CaloTowerDetId &id) const