ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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 More...
 
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 }

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:
CaloDetDescrElement::deta
float deta() const
cell deta
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:356
CaloClusterCorr::Segmentation::m_dphis2
double m_dphis2
Definition: CaloFillRectangularCluster.cxx:142
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
CaloDetDescrManager_Base::get_element
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
Definition: CaloDetDescrManager.cxx:159
M_PI
#define M_PI
Definition: ActiveFraction.h:11
constants.EMB2
int EMB2
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:54
CaloClusterCorr::Segmentation::m_detas2
double m_detas2
middle layer cell segmentation size
Definition: CaloFillRectangularCluster.cxx:141
CaloDetDescrElement::dphi
float dphi() const
cell dphi
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:358