1 if not 'doSim' in dir():
4 if not 'ComputeBeamEnergy' in dir() :
5 ComputeBeamEnergy =
True
7 theApp.Dlls += [
"TBRec" ]
9 from TBCondRunPar.TBCondRunParConf
import TBCondRunParTool
11 include (
"TBCondRunPar/TBCondRunParTool.py")
12 include (
"TBCaloGeometry/TBCaloGeometry_H8_joboptions.py")
14 if ( ComputeBeamEnergy ):
15 include (
"TBRec/TBBeamEnergyCondDBFolders.py")
19 from TBRec.TBRecConf
import CBNTAA_TBInfo
20 CBNT_TBInfo = CBNTAA_TBInfo(
"CBNT_TBInfo")
25 CBNT_TBInfo.DBRead =
False
26 if not 'BeamEnergy' in dir() :
28 if not 'BeamType' in dir() :
30 CBNT_TBInfo.BeamEnergy = BeamEnergy
31 CBNT_TBInfo.BeamType = BeamType
33 if ( (
not doSim)
and ComputeBeamEnergy ) :
34 CBNT_TBInfo.DBRead =
True
35 CBNT_TBInfo.ComputeBeamEnergy =
True
36 CBNT_TBInfo.DumpBeamLine =
True
38 CBNT_AthenaAware += CBNT_TBInfo