ATLAS Offline Software
TestBeam
TBRec
src
TBXCryYTableRead.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TBREC_TBXCRYYTABLEREAD_H
6
#define TBREC_TBXCRYYTABLEREAD_H
7
//
8
// class TBXCryYTableRead
9
//
10
#include "
AthenaBaseComps/AthAlgorithm.h
"
11
12
class
IToolSvc;
13
class
TBEventInfo
;
14
15
class
TBXCryYTableRead
:
public
AthAlgorithm
{
16
public
:
17
18
TBXCryYTableRead
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
19
virtual
~TBXCryYTableRead
();
20
virtual
StatusCode
initialize
()
override
;
21
virtual
StatusCode
execute
()
override
;
22
virtual
StatusCode
finalize
()
override
;
23
24
private
:
25
void
clear
();
27
StatusCode
getXcryoYtable
(
float
&
x
,
float
&
y
,
float
&
eBeam
);
28
29
int
m_nEvent
;
// counter
30
int
m_nEventRandomTrigger
;
// counter
31
bool
m_first
;
// First event flag
32
33
int
m_nRun
;
34
float
m_beamMom
;
35
float
m_xCryo
;
36
float
m_yTable
;
38
std::string
m_txtFileWithXY
;
// name of the file with X,y info
39
40
TBEventInfo
*
m_eventinfo
;
41
};
42
43
#endif
TBXCryYTableRead::finalize
virtual StatusCode finalize() override
Definition:
TBXCryYTableRead.cxx:37
TBXCryYTableRead::m_nRun
int m_nRun
Definition:
TBXCryYTableRead.h:33
TBXCryYTableRead::~TBXCryYTableRead
virtual ~TBXCryYTableRead()
Definition:
TBXCryYTableRead.cxx:28
TBXCryYTableRead::getXcryoYtable
StatusCode getXcryoYtable(float &x, float &y, float &eBeam)
Get Xcryo and Ytable from a text file.
Definition:
TBXCryYTableRead.cxx:107
x
#define x
AthAlgorithm.h
TBXCryYTableRead
Definition:
TBXCryYTableRead.h:15
TBXCryYTableRead::execute
virtual StatusCode execute() override
Definition:
TBXCryYTableRead.cxx:42
TBXCryYTableRead::m_txtFileWithXY
std::string m_txtFileWithXY
TableY.
Definition:
TBXCryYTableRead.h:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TBXCryYTableRead::TBXCryYTableRead
TBXCryYTableRead(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
TBXCryYTableRead.cxx:12
TBXCryYTableRead::initialize
virtual StatusCode initialize() override
Definition:
TBXCryYTableRead.cxx:31
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TBXCryYTableRead::m_eventinfo
TBEventInfo * m_eventinfo
Definition:
TBXCryYTableRead.h:40
TBXCryYTableRead::clear
void clear()
y
#define y
TBEventInfo
Definition:
TBEventInfo.h:27
TBXCryYTableRead::m_yTable
float m_yTable
CryoX.
Definition:
TBXCryYTableRead.h:36
Generate_ecmenergies.eBeam
float eBeam
Definition:
Generate_ecmenergies.py:9
TBXCryYTableRead::m_xCryo
float m_xCryo
Beam momentum.
Definition:
TBXCryYTableRead.h:35
TBXCryYTableRead::m_nEventRandomTrigger
int m_nEventRandomTrigger
Definition:
TBXCryYTableRead.h:30
TBXCryYTableRead::m_beamMom
float m_beamMom
Run number.
Definition:
TBXCryYTableRead.h:34
TBXCryYTableRead::m_nEvent
int m_nEvent
Definition:
TBXCryYTableRead.h:29
TBXCryYTableRead::m_first
bool m_first
Definition:
TBXCryYTableRead.h:31
Generated on Thu Nov 7 2024 21:27:16 for ATLAS Offline Software by
1.8.18