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 137 of file CaloFillRectangularCluster.cxx.

Constructor & Destructor Documentation

◆ Segmentation()

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

Definition at line 146 of file CaloFillRectangularCluster.cxx.

147{
148 if(dd_man == nullptr){
149 m_detas2 = 0;
150 m_dphis2 = 0;
151 }
152 else {
153 const CaloDetDescrElement* elt = dd_man->get_element (CaloCell_ID::EMB2,
154 0.001,
155 0.001);
156 if (elt) {
157 m_detas2 = elt->deta();
158 m_dphis2 = elt->dphi();
159 }
160 else {
161 // various TB configurations might have other eta/phi ranges or
162 // no access at all to EMB2 but would need still the standard
163 // EMB2 cell width as reference. Therefore the nominal eta and
164 // phi width is assumed here
165 m_detas2 = 0.025;
166 m_dphis2 = M_PI/128.;
167 }
168 }
169}
#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 142 of file CaloFillRectangularCluster.cxx.

◆ m_dphis2

double CaloClusterCorr::Segmentation::m_dphis2

Definition at line 143 of file CaloFillRectangularCluster.cxx.


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