Skip to content

Commit

Permalink
actually import customise_DQM; add customise based on presence of seq…
Browse files Browse the repository at this point in the history
…uences/steps
  • Loading branch information
slava77devel committed Jul 21, 2015
1 parent 1a25a71 commit dd0edc6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Configuration/DataProcessing/python/RecoTLR.py
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms

from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_Reco,customise_RawToDigi
from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_Reco,customise_RawToDigi,customise_DQM
from RecoTracker.Configuration.customiseForRunI import customiseForRunI
#gone with the fact that there is no difference between production and development sequence
#def customiseCommon(process):
Expand Down Expand Up @@ -42,9 +42,12 @@ def customiseDataRun2Common(process):
if hasattr(process,'valCsctfTrackDigis'):
process.valCsctfTrackDigis.gangedME1a = cms.untracked.bool(False)

process=customise_Reco(process)
process=customise_RawToDigi(process)
process=customise_DQM(process)
if hasattr(process,'RawToDigi'):
process=customise_RawToDigi(process)
if hasattr(process,'reconstruction'):
process=customise_Reco(process)
if hasattr(process,'dqmoffline_step'):
process=customise_DQM(process)

return process

Expand Down

0 comments on commit dd0edc6

Please sign in to comment.