ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ZdcCalibEvent Class Reference

#include <ZdcCalibEvent.h>

Collaboration diagram for ZdcCalibEvent:

Public Member Functions

 ZdcCalibEvent ()
 
virtual ~ZdcCalibEvent ()
 
double getTowerEnergy_A (int t)
 
void setTowerEnergy_A (int t, double energy)
 
double getTowerEnergy_C (int t)
 
void setTowerEnergy_C (int t, double energy)
 
double getTowerTime_A (int t)
 
void setTowerTime_A (int t, double energy)
 
double getTowerTime_C (int t)
 
void setTowerTime_C (int t, double energy)
 
double getTotalEnergy_A ()
 
double getTotalEnergy_C ()
 
ZdcCellVecgetEMCell_A ()
 
ZdcCellVecgetHADCell_A ()
 
ZdcCellVecgetHADCell_C ()
 

Static Public Member Functions

static void print ()
 Clear everything for next event. More...
 
static double getEMEnergy_A ()
 
static double getHADEnergy_A ()
 
static double getHADEnergy_C ()
 

Private Attributes

std::vector< double > m_towerE_A
 
std::vector< double > m_towerT_A
 
std::vector< double > m_towerE_C
 
std::vector< double > m_towerT_C
 
ZdcCellVec m_EMCellVec_A
 
ZdcCellVec m_HADCellVec_A
 
ZdcCellVec m_HADCellVec_C
 

Detailed Description

Definition at line 20 of file ZdcCalibEvent.h.

Constructor & Destructor Documentation

◆ ZdcCalibEvent()

ZdcCalibEvent::ZdcCalibEvent ( )

Definition at line 27 of file ZdcCalibEvent.cxx.

28 {
29 
30  m_towerE_A.clear();
31  m_towerE_C.clear();
32  m_towerT_A.clear();
33  m_towerT_C.clear();
34 
35  m_EMCellVec_A.clear();
36  m_HADCellVec_A.clear();
37  m_HADCellVec_C.clear();
38 
39 }

◆ ~ZdcCalibEvent()

virtual ZdcCalibEvent::~ZdcCalibEvent ( )
inlinevirtual

Definition at line 27 of file ZdcCalibEvent.h.

27 { }

Member Function Documentation

◆ getEMCell_A()

ZdcCellVec& ZdcCalibEvent::getEMCell_A ( )
inline

Definition at line 66 of file ZdcCalibEvent.h.

66 {return m_EMCellVec_A;}

◆ getEMEnergy_A()

double ZdcCalibEvent::getEMEnergy_A ( )
static

Definition at line 61 of file ZdcCalibEvent.cxx.

62 {
63  return 0;
64 }

◆ getHADCell_A()

ZdcCellVec& ZdcCalibEvent::getHADCell_A ( )
inline

Definition at line 67 of file ZdcCalibEvent.h.

67 {return m_HADCellVec_A;}

◆ getHADCell_C()

ZdcCellVec& ZdcCalibEvent::getHADCell_C ( )
inline

Definition at line 68 of file ZdcCalibEvent.h.

68 {return m_HADCellVec_C;}

◆ getHADEnergy_A()

double ZdcCalibEvent::getHADEnergy_A ( )
static

Definition at line 66 of file ZdcCalibEvent.cxx.

67 {
68  return 0;
69 }

◆ getHADEnergy_C()

double ZdcCalibEvent::getHADEnergy_C ( )
static

Definition at line 71 of file ZdcCalibEvent.cxx.

72 {
73  return 0;
74 }

◆ getTotalEnergy_A()

double ZdcCalibEvent::getTotalEnergy_A ( )

Definition at line 47 of file ZdcCalibEvent.cxx.

48 {
49  double e = 0;
50  for (int i = 0;i<4;i++){e += m_towerE_A.at(i);}
51  return e;
52 }

◆ getTotalEnergy_C()

double ZdcCalibEvent::getTotalEnergy_C ( )

Definition at line 54 of file ZdcCalibEvent.cxx.

55 {
56  double e = 0;
57  for (int i = 0;i<4;i++){e += m_towerE_C.at(i);}
58  return e;
59 }

◆ getTowerEnergy_A()

double ZdcCalibEvent::getTowerEnergy_A ( int  t)
inline

Definition at line 49 of file ZdcCalibEvent.h.

49 {return m_towerE_A[t];}

◆ getTowerEnergy_C()

double ZdcCalibEvent::getTowerEnergy_C ( int  t)
inline

Definition at line 51 of file ZdcCalibEvent.h.

51 {return m_towerE_C[t];}

◆ getTowerTime_A()

double ZdcCalibEvent::getTowerTime_A ( int  t)
inline

Definition at line 54 of file ZdcCalibEvent.h.

54 {return m_towerT_A[t];}

◆ getTowerTime_C()

double ZdcCalibEvent::getTowerTime_C ( int  t)
inline

Definition at line 56 of file ZdcCalibEvent.h.

56 {return m_towerT_C[t];}

◆ print()

void ZdcCalibEvent::print ( )
static

Clear everything for next event.

Definition at line 41 of file ZdcCalibEvent.cxx.

42 {
43 
44  return;
45 }

◆ setTowerEnergy_A()

void ZdcCalibEvent::setTowerEnergy_A ( int  t,
double  energy 
)
inline

Definition at line 50 of file ZdcCalibEvent.h.

50 {m_towerE_A[t] = energy;}

◆ setTowerEnergy_C()

void ZdcCalibEvent::setTowerEnergy_C ( int  t,
double  energy 
)
inline

Definition at line 52 of file ZdcCalibEvent.h.

52 {m_towerE_C[t] = energy;}

◆ setTowerTime_A()

void ZdcCalibEvent::setTowerTime_A ( int  t,
double  energy 
)
inline

Definition at line 55 of file ZdcCalibEvent.h.

55 {m_towerT_A[t] = energy;}

◆ setTowerTime_C()

void ZdcCalibEvent::setTowerTime_C ( int  t,
double  energy 
)
inline

Definition at line 57 of file ZdcCalibEvent.h.

57 {m_towerT_C[t] = energy;}

Member Data Documentation

◆ m_EMCellVec_A

ZdcCellVec ZdcCalibEvent::m_EMCellVec_A
private

Definition at line 43 of file ZdcCalibEvent.h.

◆ m_HADCellVec_A

ZdcCellVec ZdcCalibEvent::m_HADCellVec_A
private

Definition at line 44 of file ZdcCalibEvent.h.

◆ m_HADCellVec_C

ZdcCellVec ZdcCalibEvent::m_HADCellVec_C
private

Definition at line 45 of file ZdcCalibEvent.h.

◆ m_towerE_A

std::vector<double> ZdcCalibEvent::m_towerE_A
private

Definition at line 38 of file ZdcCalibEvent.h.

◆ m_towerE_C

std::vector<double> ZdcCalibEvent::m_towerE_C
private

Definition at line 40 of file ZdcCalibEvent.h.

◆ m_towerT_A

std::vector<double> ZdcCalibEvent::m_towerT_A
private

Definition at line 39 of file ZdcCalibEvent.h.

◆ m_towerT_C

std::vector<double> ZdcCalibEvent::m_towerT_C
private

Definition at line 41 of file ZdcCalibEvent.h.


The documentation for this class was generated from the following files:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
ZdcCalibEvent::m_towerT_A
std::vector< double > m_towerT_A
Definition: ZdcCalibEvent.h:39
ZdcCalibEvent::m_towerT_C
std::vector< double > m_towerT_C
Definition: ZdcCalibEvent.h:41
ZdcCalibEvent::m_HADCellVec_A
ZdcCellVec m_HADCellVec_A
Definition: ZdcCalibEvent.h:44
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ZdcCalibEvent::m_towerE_C
std::vector< double > m_towerE_C
Definition: ZdcCalibEvent.h:40
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
lumiFormat.i
int i
Definition: lumiFormat.py:85
ZdcCalibEvent::m_HADCellVec_C
ZdcCellVec m_HADCellVec_C
Definition: ZdcCalibEvent.h:45
ZdcCalibEvent::m_towerE_A
std::vector< double > m_towerE_A
Definition: ZdcCalibEvent.h:38
ZdcCalibEvent::m_EMCellVec_A
ZdcCellVec m_EMCellVec_A
Definition: ZdcCalibEvent.h:43