#-------------------------------------------------------------- # ATLAS default Application Configuration options #-------------------------------------------------------------- # Configure the scheduler from AthenaCommon.AlgScheduler import AlgScheduler AlgScheduler.ShowControlFlow( True ) AlgScheduler.ShowDataDependencies( True ) # Control flow from AthenaCommon.AlgSequence import AthSequencer allViewAlgorithms = AthSequencer( "allViewAlgorithms" ) allViewAlgorithms.ModeOR = False allViewAlgorithms.Sequential = False allViewAlgorithms.StopOverride = False makeViewSequence = AthSequencer( "makeViewSequence" ) makeViewSequence.ModeOR = False makeViewSequence.Sequential = True makeViewSequence.StopOverride = False # Event-level algorithm sequence from AthenaCommon.AlgSequence import AlgSequence job = AlgSequence() # Make views makeViewSequence += CfgMgr.AthViews__ViewSubgraphAlg("make_alg") makeViewSequence.make_alg.ViewBaseName = "view" makeViewSequence.make_alg.ViewNumber = 10 makeViewSequence.make_alg.ViewNodeName = "allViewAlgorithms" makeViewSequence.make_alg.Scheduler = AlgScheduler.getScheduler()
# since the collections of TrackParticles are both in the ESD and in the AOD import AthenaPoolCnvSvc.ReadAthenaPool ServiceMgr.EventSelector.InputCollections = ["AOD.pool.root"] include("TrackIsolationTools/TrackIsolationTool_jobOptions.py") # use sequencer for filtering from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() from AthenaCommon.AlgSequence import AthSequencer Sequencer = AthSequencer("MySequencer") Sequencer.StopOverride = False topSequence += Sequencer ##### Define the filter algorithm from AnalysisExamples.AnalysisExamplesConf import FilterExample FilterExample = FilterExample(Jets="Cone7H1TopoParticleJets", Electrons="ElectronAODCollection", Muons="StacoMuonCollection", Photons="PhotonAODCollection", TauJets="TauRecContainer", MissingET="MET_Final", OutputLevel=DEBUG) print FilterExample Sequencer += FilterExample ######## End Filter algorithm
#-------------------------------------------------------------- totalViews = 3 # Configure the scheduler from AthenaCommon.AlgScheduler import AlgScheduler AlgScheduler.ShowControlFlow( True ) AlgScheduler.ShowDataDependencies( True ) AlgScheduler.EnableVerboseViews( True ) # Control flow from AthenaCommon.AlgSequence import AthSequencer view_1 = AthSequencer( "view_1" ) view_1.ModeOR = False view_1.Sequential = False view_1.StopOverride = False view_2 = AthSequencer( "view_2" ) view_2.ModeOR = False view_2.Sequential = False view_2.StopOverride = False viewSequence = AthSequencer( "viewSequence" ) viewSequence.ModeOR = False viewSequence.Sequential = True viewSequence.StopOverride = False # Event-level algorithm sequence from AthenaCommon.AlgSequence import AlgSequence job = AlgSequence() # Make views view_make_1 = CfgMgr.AthViews__ViewSubgraphAlg("view_make_1")