ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterCorr::Segmentation Class Reference
Collaboration diagram for CaloClusterCorr::Segmentation:

Public Member Functions

 Segmentation (const CaloDetDescrManager *dd_man)

Public Attributes

double m_detas2
 middle layer cell segmentation size
double m_dphis2

Detailed Description

Definition at line 136 of file CaloFillRectangularCluster.cxx.

Constructor & Destructor Documentation

◆ Segmentation()

CaloClusterCorr::Segmentation::Segmentation ( const CaloDetDescrManager * dd_man)

Definition at line 145 of file CaloFillRectangularCluster.cxx.

146{
147 if(dd_man == nullptr){
148 m_detas2 = 0;
149 m_dphis2 = 0;
150 }
151 else {
152 const CaloDetDescrElement* elt = dd_man->get_element (CaloCell_ID::EMB2,
153 0.001,
154 0.001);
155 if (elt) {
156 m_detas2 = elt->deta();
157 m_dphis2 = elt->dphi();
158 }
159 else {
160 // various TB configurations might have other eta/phi ranges or
161 // no access at all to EMB2 but would need still the standard
162 // EMB2 cell width as reference. Therefore the nominal eta and
163 // phi width is assumed here
164 m_detas2 = 0.025;
165 m_dphis2 = M_PI/128.;
166 }
167 }
168}
#define M_PI
double m_detas2
middle layer cell segmentation size
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier

Member Data Documentation

◆ m_detas2

double CaloClusterCorr::Segmentation::m_detas2

middle layer cell segmentation size

Definition at line 141 of file CaloFillRectangularCluster.cxx.

◆ m_dphis2

double CaloClusterCorr::Segmentation::m_dphis2

Definition at line 142 of file CaloFillRectangularCluster.cxx.


The documentation for this class was generated from the following file: