ATLAS Offline Software
LongLivedDPDFlags.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2 
3 
13 
14 __doc__ = """job flags for LongLivedDPDMaker."""
15 __version__ = "0.0.2"
16 
17 from AthenaCommon.JobProperties import JobProperty, JobPropertyContainer
18 from AthenaCommon.JobProperties import jobproperties
19 
20 class LongLivedDPDFlags(JobPropertyContainer):
21  """ The LongLivedParticleDPDMaker jobproperty container """
22 
23 jobproperties.add_Container(LongLivedDPDFlags)
24 
25 from PrimaryDPDMaker.PrimaryDPDFlags import listESDtoDPD
26 from PrimaryDPDMaker.PrimaryDPDFlags import listAllKnownDPD
27 
28 from PrimaryDPDMaker.PrimaryDPDFlags import primDPD
29 
30 
35 
36 class WriteRPVLLStream(JobProperty):
37  """Produce RPV/LL DESD """
38  statusOn = True
39  allowedTypes = ["bool"]
40  StoredValue = False
41  StreamName = "StreamDESDM_RPVLL"
42  FileName = ""
43  DPDMakerScript = "PrimaryDPDMaker/esdtodpd.py"
44  TriggerNames = []
45 primDPD.add_JobProperty(WriteRPVLLStream)
46 listESDtoDPD.append(WriteRPVLLStream.StreamName)
47 
48 
49 from RecExConfig.RecoFunctions import AddValidItemToList
50 AddValidItemToList(listESDtoDPD,listAllKnownDPD)
51 
python.LongLivedDPDFlags.WriteRPVLLStream
Definition: LongLivedDPDFlags.py:36
python.LongLivedDPDFlags.LongLivedDPDFlags
Definition: LongLivedDPDFlags.py:20