Skip to content

Commit

Permalink
Merge pull request #10830 from slava77/CMSSW_7_5_X_2015-08-17-1100/t0…
Browse files Browse the repository at this point in the history
…DqmSeq

add dqmSeq option to the recoinator (same as #10829)
  • Loading branch information
davidlange6 committed Aug 18, 2015
2 parents 5f29141 + 09edf4f commit bfed5d9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Configuration/DataProcessing/test/RunPromptReco.py
Expand Up @@ -28,6 +28,7 @@ def __init__(self):
self.inputLFN = None
self.alcaRecos = None
self.PhysicsSkims = None
self.dqmSeq = None

def __call__(self):
if self.scenario == None:
Expand Down Expand Up @@ -89,6 +90,9 @@ def __call__(self):
if self.PhysicsSkims:
kwds['PhysicsSkims'] = self.PhysicsSkims

if self.dqmSeq:
kwds['dqmSeq'] = self.dqmSeq

process = scenario.promptReco(self.globalTag, **kwds)

except NotImplementedError, ex:
Expand All @@ -115,7 +119,7 @@ def __call__(self):

if __name__ == '__main__':
valid = ["scenario=", "reco", "aod", "miniaod","dqm", "dqmio", "no-output",
"global-tag=", "lfn=", "alcarecos=", "PhysicsSkims=" ]
"global-tag=", "lfn=", "alcarecos=", "PhysicsSkims=", "dqmSeq=" ]
usage = \
"""
RunPromptReco.py <options>
Expand All @@ -132,6 +136,7 @@ def __call__(self):
--lfn=/store/input/lfn
--alcarecos=alcareco_plus_seprated_list
--PhysicsSkims=skim_plus_seprated_list
--dqmSeq=dqmSeq_plus_separated_list
Example:
Expand Down Expand Up @@ -175,5 +180,7 @@ def __call__(self):
recoinator.alcaRecos = [ x for x in arg.split('+') if len(x) > 0 ]
if opt == "--PhysicsSkims":
recoinator.PhysicsSkims = [ x for x in arg.split('+') if len(x) > 0 ]
if opt == "--dqmSeq":
recoinator.dqmSeq = [ x for x in arg.split('+') if len(x) > 0 ]

recoinator()

0 comments on commit bfed5d9

Please sign in to comment.