コード例 #1
0
from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence()

from AthenaCommon.AppMgr import ServiceMgr

# Add top algorithms to be run
from FastCaloSimHit.FastCaloSimHitConf import FastHitConv
theFastHitConv=FastHitConv("theFastHitConv")

from AthenaCommon.DetFlags import DetFlags

topSequence += theFastHitConv

job.theFastHitConv.OutputLevel = ALL
job.OutputLevel = INFO


from AthenaCommon.DetFlags import DetFlags

if DetFlags.pileup.LAr_on() or DetFlags.pileup.Tile_on():
    job.theFastHitConv.doPileup = True
else:
    job.theFastHitConv.doPileup = False
    


from CaloRec.CaloCellFlags import jobproperties
jobproperties.CaloCellFlags.doFastCaloSim = True
jobproperties.CaloCellFlags.doFastCaloSimNoise = False
jobproperties.CaloCellFlags.doLArCellEmMisCalib = False
コード例 #2
0
TriggerFlags.inputLVL1configFile = globals()['L1Menu'] if 'L1Menu' in globals(
) else 'TriggerMenuXML/LVL1config_Physics_pp_v5_19.2.0.xml'
TriggerFlags.inputHLTconfigFile = globals()['HLTMenu'] if 'HLTMenu' in globals(
) else 'TriggerMenuXML/HLTconfig_Physics_pp_v5_19.2.0.xml'

TriggerFlags.enableMonitoring = ['Validation', 'Online']

from TrigSteeringTest.TrigSteeringTestConf import DummyFexUsingTopo
dummyfex = DummyFexUsingTopo("test")

include("L1TopoSimulation/L1Simulation_topOptions.py")

# set some debug
from AthenaCommon.AlgSequence import AlgSequence
top = AlgSequence()
top.OutputLevel = DEBUG

#top.TriggerTowerMaker.OutputLevel=DEBUG
#top.CPMTowerMaker.OutputLevel=VERBOSE
#top.EmTauTrigger.OutputLevel=VERBOSE
#top.JetTrigger.OutputLevel=VERBOSE
#top.EnergyTrigger.OutputLevel=VERBOSE
top.L1TopoSimulation.OutputLevel = VERBOSE
top.L1TopoSimulation.TopoOutputLevel = DEBUG
top.L1TopoSimulation.TopoSteeringOutputLevel = DEBUG
top.L1TopoSimulation.EnableInputDump = True
top.L1TopoSimulation.InputDumpFile = "inputdump.txt"
top.L1TopoSimulation.UseBitwise = False

# new calo sim
top.CPCMX.OutputLevel = VERBOSE
コード例 #3
0
printfunc("Digitization jobProperties values (after FastCaloSim setup):")
#DetFlags.Print()
#GlobalFlags.Print()
#digitization.print_JobProperties()

from AthenaCommon.AppMgr import ServiceMgr

# Add top algorithms to be run
from FastCaloSimHit.FastCaloSimHitConf import FastHitConv
theFastHitConv = FastHitConv("MyFastHitConv")
#job += FastHitConv( "MyFastHitConv" )   # 1 alg, named "FastHitConv"
topSequence.insert(0, theFastHitConv)

job.MyFastHitConv.OutputLevel = ALL
job.OutputLevel = DEBUG

printfunc(topSequence)

from CaloRec.CaloCellFlags import jobproperties
jobproperties.CaloCellFlags.doFastCaloSim = True
jobproperties.CaloCellFlags.doFastCaloSimNoise = False
jobproperties.CaloCellFlags.doLArCellEmMisCalib = False

from FastCaloSimHit.FastCaloCellGetter import CaloCellGetter
theCaloCellGetter = CaloCellGetter()
#jobproperties.CaloCellFlags.doFastCaloSim = False
#theCaloCellGetter._CaloCellMakerHandle.OutputLevel = 2

printfunc("Set the TileHitVectors and LArHitContainers")