ATLAS Offline Software
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 
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 
42 {
43 
44  return;
45 }
46 
48 {
49  double e = 0;
50  for (int i = 0;i<4;i++){e += m_towerE_A.at(i);}
51  return e;
52 }
53 
55 {
56  double e = 0;
57  for (int i = 0;i<4;i++){e += m_towerE_C.at(i);}
58  return e;
59 }
60 
62 {
63  return 0;
64 }
65 
67 {
68  return 0;
69 }
70 
72 {
73  return 0;
74 }
75 
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::getHADEnergy_A
static double getHADEnergy_A()
Definition: ZdcCalibEvent.cxx:66
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
ZdcCalibEvent::m_towerE_C
std::vector< double > m_towerE_C
Definition: ZdcCalibEvent.h:40
lumiFormat.i
int i
Definition: lumiFormat.py:92
ZdcCalibEvent::m_HADCellVec_C
ZdcCellVec m_HADCellVec_C
Definition: ZdcCalibEvent.h:45
ZdcCalibEvent.h
ZdcCalibEvent::getTotalEnergy_C
double getTotalEnergy_C()
Definition: ZdcCalibEvent.cxx:54
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::getEMEnergy_A
static double getEMEnergy_A()
Definition: ZdcCalibEvent.cxx:61
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
ZdcCalibEvent::m_EMCellVec_A
ZdcCellVec m_EMCellVec_A
Definition: ZdcCalibEvent.h:43
ZdcCalibEvent::ZdcCalibEvent
ZdcCalibEvent()
Definition: ZdcCalibEvent.cxx:27
ZdcCalibEvent::getHADEnergy_C
static double getHADEnergy_C()
Definition: ZdcCalibEvent.cxx:71