Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastSim bug fix 8_0_X: fastSim era for Validation sequence, define DQM sequence for FastSim => *run physicsDQM* #13476

Merged
merged 3 commits into from Mar 3, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions Configuration/Applications/python/ConfigBuilder.py
Expand Up @@ -1091,12 +1091,10 @@ def inGeometryKeys(opt):
if self._options.fast:
self.SIMDefaultCFF = 'FastSimulation.Configuration.SimIdeal_cff'
self.RECODefaultCFF= 'FastSimulation.Configuration.Reconstruction_AftMix_cff'
self.VALIDATIONDefaultCFF = "FastSimulation.Configuration.Validation_cff"
self.RECOBEFMIXDefaultCFF = 'FastSimulation.Configuration.Reconstruction_BefMix_cff'
self.RECOBEFMIXDefaultSeq = 'reconstruction_befmix'
self.L1RecoDefaultCFF='FastSimulation.Configuration.L1Reco_cff'


self.DQMOFFLINEDefaultCFF="FastSimulation.Configuration.DQMOfflineMC_cff"

# Mixing
if self._options.pileup=='default':
Expand Down
4 changes: 2 additions & 2 deletions Configuration/PyReleaseValidation/python/relval_steps.py
Expand Up @@ -542,14 +542,14 @@ def genS(fragment,howMuch):

#### fastsim section ####
##no forseen to do things in two steps GEN-SIM then FASTIM->end: maybe later
step1FastDefaults =merge([{'-s':'GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,L1Reco,RECO,EI,HLT:@fake,VALIDATION',
step1FastDefaults =merge([{'-s':'GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,L1Reco,RECO,EI,HLT:@fake,VALIDATION:@standardValidation,DQM:@standardDQM',
'--fast':'',
'--beamspot' : 'Realistic8TeVCollision',
'--eventcontent':'FEVTDEBUGHLT,DQM',
'--datatier':'GEN-SIM-DIGI-RECO,DQMIO',
'--relval':'27000,3000'},
step1Defaults])
step1FastUpg2015Defaults =merge([{'-s':'GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,L1Reco,RECO,EI,HLT:@relval25ns,VALIDATION',
step1FastUpg2015Defaults =merge([{'-s':'GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,L1Reco,RECO,EI,HLT:@relval25ns,VALIDATION:@standardValidation,DQM:@standardDQM',
'--fast':'',
'--conditions' :'auto:run2_mc',
'--beamspot' : 'Realistic50ns13TeVCollision',
Expand Down
5 changes: 5 additions & 0 deletions Configuration/StandardSequences/python/Validation_cff.py
Expand Up @@ -45,6 +45,11 @@
*globalValidation
*hltvalidation)

_validation_fastsim = validation.copy()
for _entry in [globaldigisanalyze,globalhitsanalyze,globalrechitsanalyze]:
_validation_fastsim.remove(_entry)
eras.fastSim.toReplaceWith(validation,_validation_fastsim)

validationLiteTracking = cms.Sequence( validation )
validationLiteTracking.replace(globalValidation,globalValidationLiteTracking)
validationLiteTracking.remove(condDataValidation)
Expand Down
21 changes: 21 additions & 0 deletions FastSimulation/Configuration/python/DQMOfflineMC_cff.py
@@ -0,0 +1,21 @@
import FWCore.ParameterSet.Config as cms

# FastSim version of DQMOffline/Configuration/python/DQMOfflineMC_cff.py .
# On long term FastSim should actually use DQMOffline/Configuration/python/DQMOfflineMC_cff.py,
# with fastsim modifications applied via fastSim era.
# For now this is too much of a hassle because DQMOffline/Configuration/python/DQMOfflineMC_cff.py is a bit of a mess.
# Therefore we define here a FastSim specific DQM sequence with only the most relevant modules, and/or the ones that don't cause too much headache

from DQMOffline.RecoB.PrimaryVertexMonitor_cff import *
from DQM.Physics.DQMPhysics_cff import *
from Validation.RecoTau.DQMSequences_cfi import *

DQMOfflinePrePOG = cms.Sequence(
pvMonitor *
dqmPhysics *
produceDenoms *
pfTauRunDQMValidation
)

DQMOffline = cms.Sequence(DQMOfflinePrePOG)
PostDQMOffline = cms.Sequence()
21 changes: 0 additions & 21 deletions FastSimulation/Configuration/python/Validation_cff.py

This file was deleted.