ATLAS Offline Software
Loading...
Searching...
No Matches
eflowDatabase Class Reference

Stores calorimeter cell eta and phi widths, a X0 per unit length in the EM and HAD calorimeters. More...

#include <eflowDatabase.h>

Collaboration diagram for eflowDatabase:

Public Member Functions

 eflowDatabase ()
 ~eflowDatabase ()
double getEtaUnit ()
double getPhiUnit ()
double getEmX0PerUnitLength ()
double getHadX0PerUnitLength ()
double getFCalX0PerUnitLength (int layer)
const std::vector< double > & getCellEtaWidth ()
const std::vector< double > & getCellPhiWidth ()

Private Attributes

double m_etaUnit
double m_phiUnit
double m_emX0PerUnitLength
double m_hadX0PerUnitLength
double m_fcal0
double m_fcal1
double m_fcal2
std::vector< double > m_cellEtaWidth
std::vector< double > m_cellPhiWidth

Detailed Description

Stores calorimeter cell eta and phi widths, a X0 per unit length in the EM and HAD calorimeters.

Definition at line 24 of file eflowDatabase.h.

Constructor & Destructor Documentation

◆ eflowDatabase()

eflowDatabase::eflowDatabase ( )

Definition at line 25 of file eflowDatabase.cxx.

25 :
28{
29
30 m_etaUnit = 0.025; // (2nd layer EM)
31 m_phiUnit = M_PI / 128; // ~0.025 (2nd layer EM)
32
33 m_emX0PerUnitLength = 47.44680851/Gaudi::Units::meter; // calo tdr fig.2-ii
34 m_hadX0PerUnitLength = 44.44444444/Gaudi::Units::meter; // atlas note tile-cal-no-127 (J.A. Budagov et.al.)
35
36 m_fcal0 = 27.5/(0.45*Gaudi::Units::meter);
37 m_fcal1 = 91.3/(0.45*Gaudi::Units::meter);
38 m_fcal2 = 89.2/(0.45*Gaudi::Units::meter);
39
40
57
74
75
76}
#define M_PI
static const int nRegions
std::vector< double > m_cellEtaWidth
double m_hadX0PerUnitLength
double m_emX0PerUnitLength
std::vector< double > m_cellPhiWidth

◆ ~eflowDatabase()

eflowDatabase::~eflowDatabase ( )
inline

Definition at line 29 of file eflowDatabase.h.

29{};

Member Function Documentation

◆ getCellEtaWidth()

const std::vector< double > & eflowDatabase::getCellEtaWidth ( )
inline

Definition at line 43 of file eflowDatabase.h.

43{return m_cellEtaWidth;}

◆ getCellPhiWidth()

const std::vector< double > & eflowDatabase::getCellPhiWidth ( )
inline

Definition at line 44 of file eflowDatabase.h.

44{return m_cellPhiWidth;}

◆ getEmX0PerUnitLength()

double eflowDatabase::getEmX0PerUnitLength ( )
inline

Definition at line 34 of file eflowDatabase.h.

34{return m_emX0PerUnitLength;}

◆ getEtaUnit()

double eflowDatabase::getEtaUnit ( )
inline

Definition at line 31 of file eflowDatabase.h.

31{return m_etaUnit;}

◆ getFCalX0PerUnitLength()

double eflowDatabase::getFCalX0PerUnitLength ( int layer)
inline

Definition at line 36 of file eflowDatabase.h.

36 {
37 if(layer==0) return m_fcal0;
38 else if(layer==1) return m_fcal1;
39 else if(layer==2) return m_fcal2;
40 else return 0.0;
41 }

◆ getHadX0PerUnitLength()

double eflowDatabase::getHadX0PerUnitLength ( )
inline

Definition at line 35 of file eflowDatabase.h.

◆ getPhiUnit()

double eflowDatabase::getPhiUnit ( )
inline

Definition at line 32 of file eflowDatabase.h.

32{return m_phiUnit;}

Member Data Documentation

◆ m_cellEtaWidth

std::vector<double> eflowDatabase::m_cellEtaWidth
private

Definition at line 58 of file eflowDatabase.h.

◆ m_cellPhiWidth

std::vector<double> eflowDatabase::m_cellPhiWidth
private

Definition at line 59 of file eflowDatabase.h.

◆ m_emX0PerUnitLength

double eflowDatabase::m_emX0PerUnitLength
private

Definition at line 51 of file eflowDatabase.h.

◆ m_etaUnit

double eflowDatabase::m_etaUnit
private

Definition at line 48 of file eflowDatabase.h.

◆ m_fcal0

double eflowDatabase::m_fcal0
private

Definition at line 54 of file eflowDatabase.h.

◆ m_fcal1

double eflowDatabase::m_fcal1
private

Definition at line 55 of file eflowDatabase.h.

◆ m_fcal2

double eflowDatabase::m_fcal2
private

Definition at line 56 of file eflowDatabase.h.

◆ m_hadX0PerUnitLength

double eflowDatabase::m_hadX0PerUnitLength
private

Definition at line 52 of file eflowDatabase.h.

◆ m_phiUnit

double eflowDatabase::m_phiUnit
private

Definition at line 49 of file eflowDatabase.h.


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