#include <CellInfo.h>
|
| CellInfo () |
| Constructor
More...
|
|
| CellInfo (CaloId calo, short layer=-1, short iEta=-1, short iPhi=-1, short feedThrough=-1, short slot=-1, short channel=-1, ShapeInfo *shapeL=0, ShapeInfo *shapeM=0, ShapeInfo *shapeH=0, const TVector3 &position=TVector3(0, 0, 0), ULong64_t onlid=-1) |
|
| CellInfo (const CellInfo &other, bool withShapes=true) |
|
| CellInfo (CellInfo &&other) noexcept |
|
| ~CellInfo () |
| Destructor. More...
|
|
CaloId | calo () const |
|
short | layer () const |
|
short | iEta () const |
|
short | region () const |
|
short | iPhi () const |
|
short | feedThrough () const |
|
short | slot () const |
|
short | feb () const |
|
short | globalFeb () const |
|
short | globalPhiRing () const |
|
short | channel () const |
|
TString | location (int verbose=1) const |
|
TVector3 | position () const |
|
bool | isValid () const |
|
const ShapeInfo * | shape (CaloGain::CaloGain gain) const |
|
double | footprint () const |
|
PartitionId | partition () const |
|
ULong64_t | onlid () const |
|
double | rt () const |
|
double | eta () const |
|
double | phi () const |
|
bool | setShape (CaloGain::CaloGain gain, ShapeInfo *shape) |
|
Definition at line 31 of file CellInfo.h.
◆ CellInfo() [1/4]
◆ CellInfo() [2/4]
CellInfo::CellInfo |
( |
CaloId |
calo, |
|
|
short |
layer = -1 , |
|
|
short |
iEta = -1 , |
|
|
short |
iPhi = -1 , |
|
|
short |
feedThrough = -1 , |
|
|
short |
slot = -1 , |
|
|
short |
channel = -1 , |
|
|
ShapeInfo * |
shapeL = 0 , |
|
|
ShapeInfo * |
shapeM = 0 , |
|
|
ShapeInfo * |
shapeH = 0 , |
|
|
const TVector3 & |
position = TVector3(0,0,0) , |
|
|
ULong64_t |
onlid = -1 |
|
) |
| |
◆ CellInfo() [3/4]
CellInfo::CellInfo |
( |
const CellInfo & |
other, |
|
|
bool |
withShapes = true |
|
) |
| |
◆ CellInfo() [4/4]
◆ ~CellInfo()
◆ calo()
CaloId LArSamples::CellInfo::calo |
( |
| ) |
const |
|
inline |
◆ channel()
short LArSamples::CellInfo::channel |
( |
| ) |
const |
|
inline |
◆ eta()
double LArSamples::CellInfo::eta |
( |
| ) |
const |
|
inline |
◆ feb()
short CellInfo::feb |
( |
| ) |
const |
- Returns
- feedThrough+slot position
Definition at line 102 of file CellInfo.cxx.
◆ feedThrough()
short LArSamples::CellInfo::feedThrough |
( |
| ) |
const |
|
inline |
- Returns
- feedThrough
Definition at line 65 of file CellInfo.h.
◆ footprint()
double CellInfo::footprint |
( |
| ) |
const |
◆ globalFeb()
short CellInfo::globalFeb |
( |
| ) |
const |
◆ globalPhiRing()
short CellInfo::globalPhiRing |
( |
| ) |
const |
◆ iEta()
short LArSamples::CellInfo::iEta |
( |
| ) |
const |
|
inline |
◆ iPhi()
short LArSamples::CellInfo::iPhi |
( |
| ) |
const |
|
inline |
◆ isValid()
bool CellInfo::isValid |
( |
| ) |
const |
◆ layer()
short LArSamples::CellInfo::layer |
( |
| ) |
const |
|
inline |
◆ location()
TString CellInfo::location |
( |
int |
verbose = 1 | ) |
const |
- Returns
- location as a string
Definition at line 139 of file CellInfo.cxx.
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();
◆ onlid()
ULong64_t LArSamples::CellInfo::onlid |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ partition()
◆ phi()
double LArSamples::CellInfo::phi |
( |
| ) |
const |
|
inline |
◆ position()
TVector3 CellInfo::position |
( |
| ) |
const |
◆ region()
short LArSamples::CellInfo::region |
( |
| ) |
const |
|
inline |
◆ rt()
double LArSamples::CellInfo::rt |
( |
| ) |
const |
|
inline |
◆ setShape()
◆ shape()
◆ slot()
short LArSamples::CellInfo::slot |
( |
| ) |
const |
|
inline |
- Returns
- slot – starts at 1 !
Definition at line 68 of file CellInfo.h.
◆ m_calo
unsigned int LArSamples::CellInfo::m_calo |
|
private |
◆ m_channel
short LArSamples::CellInfo::m_channel |
|
private |
◆ m_eta
double LArSamples::CellInfo::m_eta |
|
private |
◆ m_feedThrough
short LArSamples::CellInfo::m_feedThrough |
|
private |
◆ m_iEta
short LArSamples::CellInfo::m_iEta |
|
private |
◆ m_iPhi
short LArSamples::CellInfo::m_iPhi |
|
private |
◆ m_layer
short LArSamples::CellInfo::m_layer |
|
private |
◆ m_onlid
ULong64_t LArSamples::CellInfo::m_onlid |
|
private |
◆ m_phi
double LArSamples::CellInfo::m_phi |
|
private |
◆ m_rt
double LArSamples::CellInfo::m_rt |
|
private |
◆ m_shapeH
◆ m_shapeL
◆ m_shapeM
◆ m_slot
short LArSamples::CellInfo::m_slot |
|
private |
The documentation for this class was generated from the following files: