ATLAS Offline Software
TestBeam
TBRec
src
TBH6RunHeader.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// class TBH6RunHeader // make header for TBH6 Root Tree
6
//
7
// author: A.Minaenko
8
// date: 28/07/2006
9
10
#include "
TBRec/TBH6RunHeader.h
"
11
12
ClassImp
(
TBH6RunHeader
)
13
14
TBH6RunHeader::TBH6RunHeader
(
const
int
nRun):
15
m_nRun(nRun),
16
m_beamMomentum(0),
17
m_xCryo(0),
18
m_yTable(0),
19
m_zCalo(0),
20
m_nCell(0),
21
m_cellID(),
22
m_cellNoiseRMS(),
23
m_cellEta(),
24
m_cellPhi(),
25
m_cellX(),
26
m_cellY(),
27
m_cellZ(),
28
m_cellR(),
29
m_celldEta(),
30
m_celldPhi(),
31
m_celldZ(),
32
m_celldR(),
33
m_cellVolume(),
34
m_celliEta(),
35
m_celliPhi(),
36
m_cellRegion(),
37
m_cellCalo(),
38
m_cellSampling()
39
{}
40
41
TBH6RunHeader::~TBH6RunHeader
()
42
{ }
43
44
int
TBH6RunHeader::runNum
()
const
{
return
m_nRun
;}
45
float
TBH6RunHeader::beamMomentum
()
const
{
return
m_beamMomentum
;}
46
float
TBH6RunHeader::xCryo
()
const
{
return
m_xCryo
;}
47
float
TBH6RunHeader::yTable
()
const
{
return
m_yTable
;}
48
float
TBH6RunHeader::zCalo
()
const
{
return
m_zCalo
;}
49
int
TBH6RunHeader::cellNum
()
const
{
return
m_nCell
;}
50
int
const
*
TBH6RunHeader::cellID
()
const
{
return
m_cellID
;}
51
float
const
*
TBH6RunHeader::cellNoiseRMS
()
const
{
return
m_cellNoiseRMS
;}
52
float
const
*
TBH6RunHeader::cellEta
()
const
{
return
m_cellEta
;}
53
float
const
*
TBH6RunHeader::cellPhi
()
const
{
return
m_cellPhi
;}
54
float
const
*
TBH6RunHeader::cellX
()
const
{
return
m_cellX
;}
55
float
const
*
TBH6RunHeader::cellY
()
const
{
return
m_cellY
;}
56
float
const
*
TBH6RunHeader::cellZ
()
const
{
return
m_cellZ
;}
57
float
const
*
TBH6RunHeader::cellR
()
const
{
return
m_cellR
;}
58
float
const
*
TBH6RunHeader::celldEta
()
const
{
return
m_celldEta
;}
59
float
const
*
TBH6RunHeader::celldPhi
()
const
{
return
m_celldPhi
;}
60
float
const
*
TBH6RunHeader::celldZ
()
const
{
return
m_celldZ
;}
61
float
const
*
TBH6RunHeader::celldR
()
const
{
return
m_celldR
;}
62
float
const
*
TBH6RunHeader::cellVolume
()
const
{
return
m_cellVolume
;}
63
int
const
*
TBH6RunHeader::celliEta
()
const
{
return
m_celliEta
;}
64
int
const
*
TBH6RunHeader::celliPhi
()
const
{
return
m_celliPhi
;}
65
int
const
*
TBH6RunHeader::cellRegion
()
const
{
return
m_cellRegion
;}
66
int
const
*
TBH6RunHeader::cellCalo
()
const
{
return
m_cellCalo
;}
67
int
const
*
TBH6RunHeader::cellSampling
()
const
{
return
m_cellSampling
;}
68
void
TBH6RunHeader::SetRunNum
(
int
run
){
m_nRun
=
run
;}
69
void
TBH6RunHeader::SetBeamMomentum
(
float
mom
){
m_beamMomentum
=
mom
;}
70
void
TBH6RunHeader::SetXCryo
(
float
x
){
m_xCryo
=
x
;}
71
void
TBH6RunHeader::SetYTable
(
float
y
){
m_yTable
=
y
;}
72
void
TBH6RunHeader::SetZCalo
(
float
z
){
m_zCalo
=
z
;}
73
void
TBH6RunHeader::SetCellNum
(
int
nCell){
m_nCell
=nCell;}
74
void
TBH6RunHeader::SetCellID
(
const
int
i
,
const
int
id
){
m_cellID
[
i
]=
id
;}
75
void
TBH6RunHeader::SetCellNoiseRMS
(
const
int
i
,
const
float
rms
)
76
{
m_cellNoiseRMS
[
i
]=
rms
;}
77
void
TBH6RunHeader::SetCellEta
(
const
int
i
,
const
float
eta
){
m_cellEta
[
i
]=
eta
;}
78
void
TBH6RunHeader::SetCellPhi
(
const
int
i
,
const
float
phi
){
m_cellPhi
[
i
]=
phi
;}
79
void
TBH6RunHeader::SetCellX
(
const
int
i
,
const
float
x
){
m_cellX
[
i
]=
x
;}
80
void
TBH6RunHeader::SetCellY
(
const
int
i
,
const
float
y
){
m_cellY
[
i
]=
y
;}
81
void
TBH6RunHeader::SetCellZ
(
const
int
i
,
const
float
z
){
m_cellZ
[
i
]=
z
;}
82
void
TBH6RunHeader::SetCellR
(
const
int
i
,
const
float
r
){
m_cellR
[
i
]=
r
;}
83
void
TBH6RunHeader::SetCelldEta
(
const
int
i
,
const
float
deta)
84
{
m_celldEta
[
i
]=deta;}
85
void
TBH6RunHeader::SetCelldPhi
(
const
int
i
,
const
float
dphi)
86
{
m_celldPhi
[
i
]=dphi;}
87
void
TBH6RunHeader::SetCelldZ
(
const
int
i
,
const
float
dz){
m_celldZ
[
i
]=dz;}
88
void
TBH6RunHeader::SetCelldR
(
const
int
i
,
const
float
dr
){
m_celldR
[
i
]=
dr
;}
89
void
TBH6RunHeader::SetCellVolume
(
const
int
i
,
const
float
vol)
90
{
m_cellVolume
[
i
]=vol;}
91
void
TBH6RunHeader::SetCelliEta
(
const
int
i
,
const
int
ieta)
92
{
m_celliEta
[
i
]=ieta;}
93
void
TBH6RunHeader::SetCelliPhi
(
const
int
i
,
const
int
iphi)
94
{
m_celliPhi
[
i
]=iphi;}
95
void
TBH6RunHeader::SetCellRegion
(
const
int
i
,
const
int
reg)
96
{
m_cellRegion
[
i
]=reg;}
97
void
TBH6RunHeader::SetCellCalo
(
const
int
i
,
const
int
calo)
98
{
m_cellCalo
[
i
]=calo;}
99
void
TBH6RunHeader::SetCellSampling
(
const
int
i
,
const
int
samp)
100
{
m_cellSampling
[
i
]=samp;}
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
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
run
int run(int argc, char *argv[])
Definition:
ttree2hdf5.cxx:28
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
run
Definition:
run.py:1
TBH6RunHeader::m_cellEta
float m_cellEta[CELLMAX]
Definition:
TBH6RunHeader.h:79
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
id
SG::auxid_t id
Definition:
Control/AthContainers/Root/debug.cxx:227
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.h
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
ClassImp
ClassImp(TBH6RunHeader) TBH6RunHeader
Definition:
TBH6RunHeader.cxx:12
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
Generated on Wed Jan 8 2025 21:18:01 for ATLAS Offline Software by
1.8.18