Пример #1
0
#rec.AutoConfiguration.set_Value_and_Lock(['FieldAndGeo','BeamType', 'ConditionsTag', 'DoTruth', 'InputType'])

from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags

D3PDMakerFlags.TruthSGKey = 'GEN_EVENT,GEN_AOD,TruthEvent'
D3PDMakerFlags.DoTrigger = True
D3PDMakerFlags.TruthWriteGeant.set_Value_and_Lock(True)
D3PDMakerFlags.TruthWriteHadrons.set_Value_and_Lock(True)

# RecExCommon
include("RecExCommon/RecExCommon_topOptions.py")

if doSimpleSC:
    from LArL1Sim.LArL1SimConf import LArSCSimpleMaker
    topSequence += LArSCSimpleMaker()

# D3PDMaker calo block

from D3PDMakerCoreComps.MakerAlg import *
from CaloSysD3PDMaker.ClusterD3PDObject import *
from CaloD3PDMaker.CaloCellD3PDObject import *
from CaloSysD3PDMaker.CaloInfoD3PDObject import *
from EventCommonD3PDMaker.EventInfoD3PDObject import *

### L1Calo

include("TileRecAlgs/TileCellToTTL1_jobOptions.py")

from L1CaloD3PDMaker.L1CaloCPMHits_D3PDObject import L1CaloCPMHits_D3PDObject
from L1CaloD3PDMaker.L1CaloCPMRoI_D3PDObject import L1CaloCPMRoI_D3PDObject
Пример #2
0
printfunc(svcMgr.IOVDbSvc)
svcMgr.IOVDbSvc.DBInstance = ''

# Set the input file
import AthenaPoolCnvSvc.ReadAthenaPool

svcMgr.EventSelector.InputCollections = [TestFile]

# import the algorithm in python and make sure it
# is attached to the sequence
from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence()
#theApp.initialize();

from LArL1Sim.LArL1SimConf import LArSCSimpleMaker
theLArSCSimpleMaker = LArSCSimpleMaker()
theLArSCSimpleMaker.SCellContainer = "SCell"
topSequence += theLArSCSimpleMaker

from TrigL1CaloUpgrade.TrigL1CaloUpgradeConf import SimpleSuperCellChecks
from TrigL1CaloUpgrade.TrigL1CaloUpgradeConf import TrigT1CaloEFex
from TrigL1CaloUpgrade.TrigL1CaloUpgradeConf import TrigT1CaloTauFex
from TrigL1CaloUpgrade.TrigL1CaloUpgradeConf import EFexAnalysis
a = SimpleSuperCellChecks()
b = TrigT1CaloEFex(EnableMonitoring=True)
c = TrigT1CaloTauFex()
d = EFexAnalysis(EnableMonitoring=True, DoTruth=False)
#topSequence+=a
#topSequence+=b
topSequence += c
#topSequence+=d