ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcEvent
src
ZdcCalibEvent.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//*****************************************************************************
6
// Filename : ZdcCalibEvent.cxx
7
// Author : Steinberg
8
// Created : August 2009
9
//
10
// DESCRIPTION:
11
// Implementation comments only. Class level comments go in .h file.
12
//
13
// HISTORY:
14
//
15
// BUGS:
16
//
17
//
18
//
19
//*****************************************************************************
20
21
#include "
ZdcEvent/ZdcCalibEvent.h
"
22
23
#include <iostream>
24
#include <sstream>
25
#include <iomanip>
26
27
ZdcCalibEvent::ZdcCalibEvent
()
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
}
40
41
void
ZdcCalibEvent::print
()
42
{
43
44
return
;
45
}
46
47
double
ZdcCalibEvent::getTotalEnergy_A
()
48
{
49
double
e = 0;
50
for
(
int
i = 0;i<4;i++){e +=
m_towerE_A
.at(i);}
51
return
e;
52
}
53
54
double
ZdcCalibEvent::getTotalEnergy_C
()
55
{
56
double
e = 0;
57
for
(
int
i = 0;i<4;i++){e +=
m_towerE_C
.at(i);}
58
return
e;
59
}
60
61
double
ZdcCalibEvent::getEMEnergy_A
()
62
{
63
return
0;
64
}
65
66
double
ZdcCalibEvent::getHADEnergy_A
()
67
{
68
return
0;
69
}
70
71
double
ZdcCalibEvent::getHADEnergy_C
()
72
{
73
return
0;
74
}
75
ZdcCalibEvent.h
ZdcCalibEvent::getHADEnergy_A
static double getHADEnergy_A()
Definition
ZdcCalibEvent.cxx:66
ZdcCalibEvent::getTotalEnergy_C
double getTotalEnergy_C()
Definition
ZdcCalibEvent.cxx:54
ZdcCalibEvent::m_EMCellVec_A
ZdcCellVec m_EMCellVec_A
Definition
ZdcCalibEvent.h:43
ZdcCalibEvent::m_towerE_A
std::vector< double > m_towerE_A
Definition
ZdcCalibEvent.h:38
ZdcCalibEvent::print
static void print()
Clear everything for next event.
Definition
ZdcCalibEvent.cxx:41
ZdcCalibEvent::getTotalEnergy_A
double getTotalEnergy_A()
Definition
ZdcCalibEvent.cxx:47
ZdcCalibEvent::m_towerT_A
std::vector< double > m_towerT_A
Definition
ZdcCalibEvent.h:39
ZdcCalibEvent::m_HADCellVec_C
ZdcCellVec m_HADCellVec_C
Definition
ZdcCalibEvent.h:45
ZdcCalibEvent::ZdcCalibEvent
ZdcCalibEvent()
Definition
ZdcCalibEvent.cxx:27
ZdcCalibEvent::m_HADCellVec_A
ZdcCellVec m_HADCellVec_A
Definition
ZdcCalibEvent.h:44
ZdcCalibEvent::getEMEnergy_A
static double getEMEnergy_A()
Definition
ZdcCalibEvent.cxx:61
ZdcCalibEvent::m_towerT_C
std::vector< double > m_towerT_C
Definition
ZdcCalibEvent.h:41
ZdcCalibEvent::getHADEnergy_C
static double getHADEnergy_C()
Definition
ZdcCalibEvent.cxx:71
ZdcCalibEvent::m_towerE_C
std::vector< double > m_towerE_C
Definition
ZdcCalibEvent.h:40
Generated on
for ATLAS Offline Software by
1.17.0