ATLAS Offline Software
TBH6RunHeader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TBREC_TBH6RUNHEADER_H
6 #define TBREC_TBH6RUNHEADER_H
7 #define CELLMAX 1200
8 //
9 // TBH6RunHeader:
10 // Run header for ROOT Tree of H6 CBT
11 //
12 
13 #include "TObject.h"
14 class TBH6RunHeader: public TObject
15 //class TBH6RunHeader
16 {
17  public:
18  TBH6RunHeader(const int nRun=0);
20  int runNum() const;
21  float beamMomentum() const;
22  float xCryo() const;
23  float yTable() const;
24  float zCalo() const;
25  int cellNum() const;
26  int const * cellID() const;
27  float const * cellNoiseRMS() const;
28  float const * cellEta() const;
29  float const * cellPhi() const;
30  float const * cellX() const;
31  float const * cellY() const;
32  float const * cellZ() const;
33  float const * cellR() const;
34  float const * celldEta() const;
35  float const * celldPhi() const;
36  float const * celldZ() const;
37  float const * celldR() const;
38  float const * cellVolume() const;
39  int const * celliEta() const;
40  int const * celliPhi() const;
41  int const * cellRegion() const;
42  int const * cellCalo() const;
43  int const * cellSampling() const;
44  void SetRunNum(int run);
45  void SetBeamMomentum(float mom);
46  void SetXCryo(float x);
47  void SetYTable(float y);
48  void SetZCalo(float z);
49  void SetCellNum(int nCell);
50  void SetCellID(const int i, const int id);
51  void SetCellNoiseRMS(const int i, const float rms);
52  void SetCellEta(const int i, const float eta);
53  void SetCellPhi(const int i, const float phi);
54  void SetCellX(const int i, const float x);
55  void SetCellY(const int i, const float y);
56  void SetCellZ(const int i, const float z);
57  void SetCellR(const int i, const float r);
58  void SetCelldEta(const int i, const float deta);
59  void SetCelldPhi(const int i, const float dphi);
60  void SetCelldZ(const int i, const float dz);
61  void SetCelldR(const int i, const float dr);
62  void SetCellVolume(const int i, const float vol);
63  void SetCelliEta(const int i, const int ieta);
64  void SetCelliPhi(const int i, const int iphi);
65  void SetCellRegion(const int i, const int reg);
66  void SetCellCalo(const int i, const int calo);
67  void SetCellSampling(const int i, const int subc);
68 
69  private:
70 
71  int m_nRun;
73  float m_xCryo;
74  float m_yTable;
75  float m_zCalo;
76  int m_nCell;
81  float m_cellX[CELLMAX];
82  float m_cellY[CELLMAX];
83  float m_cellZ[CELLMAX];
84  float m_cellR[CELLMAX];
87  float m_celldZ[CELLMAX];
88  float m_celldR[CELLMAX];
95 
96  ClassDef(TBH6RunHeader,1)
97 
98 };
99 
100 #endif
TBH6RunHeader::m_celldR
float m_celldR[CELLMAX]
Definition: TBH6RunHeader.h:88
beamspotman.r
def r
Definition: beamspotman.py:676
TBH6RunHeader::cellR
float const * cellR() const
Definition: TBH6RunHeader.cxx:57
TBH6RunHeader::m_beamMomentum
float m_beamMomentum
Definition: TBH6RunHeader.h:72
TBH6RunHeader::m_cellVolume
float m_cellVolume[CELLMAX]
Definition: TBH6RunHeader.h:89
TBH6RunHeader::SetXCryo
void SetXCryo(float x)
Definition: TBH6RunHeader.cxx:70
TBH6RunHeader::cellNoiseRMS
float const * cellNoiseRMS() const
Definition: TBH6RunHeader.cxx:51
TBH6RunHeader::cellNum
int cellNum() const
Definition: TBH6RunHeader.cxx:49
TBH6RunHeader::SetYTable
void SetYTable(float y)
Definition: TBH6RunHeader.cxx:71
TBH6RunHeader::SetCellNum
void SetCellNum(int nCell)
Definition: TBH6RunHeader.cxx:73
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
TBH6RunHeader::m_celliEta
int m_celliEta[CELLMAX]
Definition: TBH6RunHeader.h:90
TBH6RunHeader::cellX
float const * cellX() const
Definition: TBH6RunHeader.cxx:54
TBH6RunHeader::zCalo
float zCalo() const
Definition: TBH6RunHeader.cxx:48
TBH6RunHeader::celldZ
float const * celldZ() const
Definition: TBH6RunHeader.cxx:60
TBH6RunHeader::m_celliPhi
int m_celliPhi[CELLMAX]
Definition: TBH6RunHeader.h:91
TBH6RunHeader::~TBH6RunHeader
~TBH6RunHeader()
Definition: TBH6RunHeader.cxx:41
TBH6RunHeader::m_cellCalo
int m_cellCalo[CELLMAX]
Definition: TBH6RunHeader.h:93
TBH6RunHeader::m_cellNoiseRMS
float m_cellNoiseRMS[CELLMAX]
Definition: TBH6RunHeader.h:78
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
CELLMAX
#define CELLMAX
Definition: TBH6RunHeader.h:7
TBH6RunHeader::runNum
int runNum() const
Definition: TBH6RunHeader.cxx:44
TBH6RunHeader::m_cellZ
float m_cellZ[CELLMAX]
Definition: TBH6RunHeader.h:83
TBH6RunHeader::m_celldPhi
float m_celldPhi[CELLMAX]
Definition: TBH6RunHeader.h:86
TBH6RunHeader::m_cellRegion
int m_cellRegion[CELLMAX]
Definition: TBH6RunHeader.h:92
TBH6RunHeader::celldEta
float const * celldEta() const
Definition: TBH6RunHeader.cxx:58
TBH6RunHeader::SetCellRegion
void SetCellRegion(const int i, const int reg)
Definition: TBH6RunHeader.cxx:95
TBH6RunHeader::cellCalo
int const * cellCalo() const
Definition: TBH6RunHeader.cxx:66
TBH6RunHeader::beamMomentum
float beamMomentum() const
Definition: TBH6RunHeader.cxx:45
TBH6RunHeader::SetZCalo
void SetZCalo(float z)
Definition: TBH6RunHeader.cxx:72
python.TurnDataReader.dr
dr
Definition: TurnDataReader.py:112
TBH6RunHeader::SetCellID
void SetCellID(const int i, const int id)
Definition: TBH6RunHeader.cxx:74
TBH6RunHeader::m_yTable
float m_yTable
Definition: TBH6RunHeader.h:74
TBH6RunHeader::SetBeamMomentum
void SetBeamMomentum(float mom)
Definition: TBH6RunHeader.cxx:69
x
#define x
TBH6RunHeader::m_nCell
int m_nCell
Definition: TBH6RunHeader.h:76
TBH6RunHeader::m_cellSampling
int m_cellSampling[CELLMAX]
Definition: TBH6RunHeader.h:94
TBH6RunHeader::SetCellPhi
void SetCellPhi(const int i, const float phi)
Definition: TBH6RunHeader.cxx:78
TBH6RunHeader::SetCelldR
void SetCelldR(const int i, const float dr)
Definition: TBH6RunHeader.cxx:88
TBH6RunHeader::m_nRun
int m_nRun
Definition: TBH6RunHeader.h:71
TBH6RunHeader::SetCellCalo
void SetCellCalo(const int i, const int calo)
Definition: TBH6RunHeader.cxx:97
TBH6RunHeader::cellSampling
int const * cellSampling() const
Definition: TBH6RunHeader.cxx:67
TBH6RunHeader::SetCelliPhi
void SetCelliPhi(const int i, const int iphi)
Definition: TBH6RunHeader.cxx:93
TBH6RunHeader::celliEta
int const * celliEta() const
Definition: TBH6RunHeader.cxx:63
TBH6RunHeader::m_cellPhi
float m_cellPhi[CELLMAX]
Definition: TBH6RunHeader.h:80
TBH6RunHeader::SetCelldZ
void SetCelldZ(const int i, const float dz)
Definition: TBH6RunHeader.cxx:87
ParticleGun_EoverP_Config.mom
mom
Definition: ParticleGun_EoverP_Config.py:63
TBH6RunHeader::m_cellX
float m_cellX[CELLMAX]
Definition: TBH6RunHeader.h:81
TBH6RunHeader::m_cellID
int m_cellID[CELLMAX]
Definition: TBH6RunHeader.h:77
lumiFormat.i
int i
Definition: lumiFormat.py:85
z
#define z
TBH6RunHeader::cellVolume
float const * cellVolume() const
Definition: TBH6RunHeader.cxx:62
TBH6RunHeader::m_cellEta
float m_cellEta[CELLMAX]
Definition: TBH6RunHeader.h:79
run
Definition: run.py:1
TBH6RunHeader::cellRegion
int const * cellRegion() const
Definition: TBH6RunHeader.cxx:65
TBH6RunHeader::cellZ
float const * cellZ() const
Definition: TBH6RunHeader.cxx:56
TBH6RunHeader::SetCellVolume
void SetCellVolume(const int i, const float vol)
Definition: TBH6RunHeader.cxx:89
TBH6RunHeader::SetCellZ
void SetCellZ(const int i, const float z)
Definition: TBH6RunHeader.cxx:81
TBH6RunHeader::yTable
float yTable() const
Definition: TBH6RunHeader.cxx:47
TBH6RunHeader
Definition: TBH6RunHeader.h:16
TBH6RunHeader::SetCelldPhi
void SetCelldPhi(const int i, const float dphi)
Definition: TBH6RunHeader.cxx:85
TBH6RunHeader::SetCellSampling
void SetCellSampling(const int i, const int subc)
Definition: TBH6RunHeader.cxx:99
TBH6RunHeader::SetCellR
void SetCellR(const int i, const float r)
Definition: TBH6RunHeader.cxx:82
TBH6RunHeader::cellPhi
float const * cellPhi() const
Definition: TBH6RunHeader.cxx:53
TBH6RunHeader::m_zCalo
float m_zCalo
Definition: TBH6RunHeader.h:75
y
#define y
TBH6RunHeader::celldR
float const * celldR() const
Definition: TBH6RunHeader.cxx:61
TBH6RunHeader::xCryo
float xCryo() const
Definition: TBH6RunHeader.cxx:46
TBH6RunHeader::m_cellY
float m_cellY[CELLMAX]
Definition: TBH6RunHeader.h:82
beamspotnt.rms
rms
Definition: bin/beamspotnt.py:1266
TBH6RunHeader::m_celldZ
float m_celldZ[CELLMAX]
Definition: TBH6RunHeader.h:87
TBH6RunHeader::celliPhi
int const * celliPhi() const
Definition: TBH6RunHeader.cxx:64
TBH6RunHeader::SetCelldEta
void SetCelldEta(const int i, const float deta)
Definition: TBH6RunHeader.cxx:83
TBH6RunHeader::SetCellY
void SetCellY(const int i, const float y)
Definition: TBH6RunHeader.cxx:80
TBH6RunHeader::celldPhi
float const * celldPhi() const
Definition: TBH6RunHeader.cxx:59
TBH6RunHeader::TBH6RunHeader
TBH6RunHeader(const int nRun=0)
TBH6RunHeader::SetCellNoiseRMS
void SetCellNoiseRMS(const int i, const float rms)
Definition: TBH6RunHeader.cxx:75
TBH6RunHeader::cellY
float const * cellY() const
Definition: TBH6RunHeader.cxx:55
TBH6RunHeader::m_celldEta
float m_celldEta[CELLMAX]
Definition: TBH6RunHeader.h:85
TBH6RunHeader::SetCellX
void SetCellX(const int i, const float x)
Definition: TBH6RunHeader.cxx:79
TBH6RunHeader::cellEta
float const * cellEta() const
Definition: TBH6RunHeader.cxx:52
TBH6RunHeader::SetCellEta
void SetCellEta(const int i, const float eta)
Definition: TBH6RunHeader.cxx:77
TBH6RunHeader::SetCelliEta
void SetCelliEta(const int i, const int ieta)
Definition: TBH6RunHeader.cxx:91
TBH6RunHeader::cellID
int const * cellID() const
Definition: TBH6RunHeader.cxx:50
TBH6RunHeader::m_xCryo
float m_xCryo
Definition: TBH6RunHeader.h:73
TBH6RunHeader::m_cellR
float m_cellR[CELLMAX]
Definition: TBH6RunHeader.h:84
TBH6RunHeader::SetRunNum
void SetRunNum(int run)
Definition: TBH6RunHeader.cxx:68