ATLAS Offline Software
LongLivedParticleDPDMaker.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2 
19 
20 
21 
24 
25 
26 from AthenaCommon.Logging import logging
27 llDPD_msg = logging.getLogger( 'LongLivedParticleDPDMaker' )
28 llDPD_msg.info( 'starting... \n\n\n * * * * Welcome to LongLivedParticleDPDMaker * * * * \n\n' )
29 
30 
32 from OutputStreamAthenaPool.MultipleStreamManager import MSMgr
33 
34 
35 from AthenaCommon.AlgSequence import AlgSequence
36 theJob = AlgSequence()
37 
38 
39 
42 
43 
46 if len( llDPD.OutputDirectoryName() ) >= 1 and not llDPD.OutputDirectoryName().endswith("/") :
47  llDPD.OutputDirectoryName = llDPD.OutputDirectoryName()+"/"
48 
49 if rec.OutputLevel() <= INFO:
50  llDPD_msg.info('Values of all LongLivedDPD flags:')
51  print(llDPD)
52 
53 
63 
64 if llDPD.MakePrimaryDPD():
65 
66 
69  if llDPD.WriteRPVLLStream():
70  include("LongLivedParticleDPDMaker/PhysDESDM_RPVLL.py")
71 
72  #========================================================
73  # Setting up the trigger decision tool. It will be only
74  # set up once per job. The flag will be set to True by
75  # the output streams that need it...
76  #========================================================
77  if llDPD.SetupTrigDecisionTool():
78  include("PrimaryDPDMaker/SetupTrigDecisionTool.py")
79 
80 
81 
82 
93 
94 #primaryDPD_msg.info( ' ******Final PrimaryDPDMaker job configuration: \n\n\n %s', theJob )
95 llDPD_msg.info( '\n\nYou succesfully configured LongLivedParticleDPDMaker.py ! \
96 \nThe job will now initialize, execute and finalize itself...\n\n' )
97 
98 
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7
python.Include.include
include
Definition: Include.py:319
LongLivedDPDFlags
Include the job property flags for this package.
Muon::print
std::string print(const MuPatSegment &)
Definition: MuonTrackSteering.cxx:28