84 default :
return nullptr;
96 default :
return false;
129 for (
unsigned int c = 0; c < 10; c++)
145 std::ostringstream
ss;
147 loc +=
" " +
ss.str();
152 std::ostringstream
ss;
154 loc +=
" " +
ss.str();
158 std::ostringstream
ss;
160 <<
", slot " <<
slot() <<
", channel " <<
channel()
161 <<
", (eta, phi) = " << Form(
"(%4.2f, %4.2f)",
eta(),
phi());
164 loc +=
" " +
ss.str();
167 ss <<
", (iEta, iPhi, region) = (" <<
iEta() <<
", " <<
iPhi() <<
", " <<
region() <<
")";
168 loc +=
" " +
ss.str();
179 if (
m_iEta < 0)
return false;
180 if (
m_iPhi < 0)
return false;
182 if (
m_slot < 0)
return false;
TVector3 position() const
bool setShape(CaloGain::CaloGain gain, ShapeInfo *shape)
short feedThrough() const
TString location(int verbose=1) const
PartitionId partition() const
short globalPhiRing() const
const ShapeInfo * shape(CaloGain::CaloGain gain) const
void incrementInstanceCount() const
void decrementInstanceCount() const
static short firstEta(CaloId calo, short layer, short region=0)
static short firstLayer(CaloId calo)
static short nEta(CaloId calo, short layer, short region, short iPhi=1)
static short nLayers(CaloId calo)
static short nRegions(CaloId calo, short layer)
static short nSlots(PartitionId part)
static PartitionId partition(CaloId id)
static TString str(CaloId id)
void swap(ElementLinkVector< DOBJ > &lhs, ElementLinkVector< DOBJ > &rhs)