ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TestBeam
TBRec
share
CBNT_TBInfo.py
Go to the documentation of this file.
1
if
not
'doSim'
in
dir():
2
doSim =
False
3
4
if
not
'ComputeBeamEnergy'
in
dir() :
5
ComputeBeamEnergy =
True
6
7
theApp.Dlls += [
"TBRec"
]
8
9
from
TBCondRunPar.TBCondRunParConf
import
TBCondRunParTool
10
ToolSvc +=
TBCondRunParTool
()
11
include (
"TBCondRunPar/TBCondRunParTool.py"
)
12
include (
"TBCaloGeometry/TBCaloGeometry_H8_joboptions.py"
)
13
14
if
( ComputeBeamEnergy ):
15
include (
"TBRec/TBBeamEnergyCondDBFolders.py"
)
16
17
#CBNT_Athena.Members += [ "CBNT_TBInfo" ]
18
#CBNT_TBInfo = Algorithm( "CBNT_TBInfo" )
19
from
TBRec.TBRecConf
import
CBNTAA_TBInfo
20
CBNT_TBInfo =
CBNTAA_TBInfo
(
"CBNT_TBInfo"
)
21
22
#CBNT_TBInfo.OutputLevel = DEBUG
23
24
if
( doSim ) :
25
CBNT_TBInfo.DBRead =
False
26
if
not
'BeamEnergy'
in
dir() :
27
BeamEnergy = -999
28
if
not
'BeamType'
in
dir() :
29
BeamType = - 999
30
CBNT_TBInfo.BeamEnergy = BeamEnergy
31
CBNT_TBInfo.BeamType = BeamType
32
33
if
( (
not
doSim)
and
ComputeBeamEnergy ) :
34
CBNT_TBInfo.DBRead =
True
35
CBNT_TBInfo.ComputeBeamEnergy =
True
36
CBNT_TBInfo.DumpBeamLine =
True
37
38
CBNT_AthenaAware += CBNT_TBInfo
CBNTAA_TBInfo
Definition
CBNTAA_TBInfo.h:17
TBCondRunParTool
Definition
TBCondRunParTool.h:19
Generated on
for ATLAS Offline Software by
1.17.0