ATLAS Offline Software
test_VP1AlgsEventProd_OnlineEventDisplay_script.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 
8 
9 
10 
15 
16 from AthenaCommon.AppMgr import ServiceMgr as svcMgr
17 from AthenaServices.AthenaServicesConf import OutputStreamSequencerSvc
18 
19 outputStreamSequencerSvc = OutputStreamSequencerSvc()
20 outputStreamSequencerSvc.SequenceIncidentName = "EndEvent"
21 svcMgr += outputStreamSequencerSvc
22 
23 
24 from VP1AlgsEventProd.VP1AlgsEventProdConf import VP1EventProd
25 VP1EventProducer = VP1EventProd(InputPoolFile = StreamESD.OutputFile)
26 
27 print ("<<<<<<< VP1 Output File >>>>>>>")
28 print ("OutputFile: %s" % StreamESD.OutputFile)
29 
30 
31 #Write out files in the directory given by the stream name
32 VP1EventProducer.DestinationDirectory = "%s/.Unknown/" % OutputDirectory
33 #Set number of files large so deleting is doen by prune script
34 VP1EventProducer.MaxNumberOfFiles = 250
35 
36 #Set the output level
37 if not 'VP1MsgLvl' in dir():
38  VP1MsgLvl=WARNING
39 VP1EventProducer.OutputLevel=VP1MsgLvl
40 
41 
42 from AthenaCommon.AlgSequence import AlgSequence
43 topSequence = AlgSequence()
44 topSequence += VP1EventProducer
45 
46 
47 if VP1MsgLvl <= DEBUG:
48  print ("\n\n\t VP1 setup\n",VP1EventProducer,"\n\n")
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7
beamspotman.dir
string dir
Definition: beamspotman.py:623