Esempio n. 1
0
from Configuration.Eras.Modifier_fastSim_cff import fastSim
fastSim.toReplaceWith(
    recoMuonValidation,
    cms.Sequence(muonValidation_seq + muonValidationTEV_seq +
                 muonValidationRefit_seq + muonValidationRMV_seq))

# sequence for cosmic muons
recoCosmicMuonValidation = cms.Sequence(muonValidationCosmic_seq)

# sequences for muon upgrades
#
_run3_muonValidation = recoMuonValidation.copy()  #For full validation
#_run3_muonValidation = recoMuonValidation_reduced_seq.copy()
_run3_muonValidation += gemMuonValidation

#_phase2_muonValidation = recoMuonValidation.copy()              #For full validation
_phase2_muonValidation = recoMuonValidation_reduced_seq.copy()
_phase2_muonValidation += gemMuonValidation_phase2
_phase2_muonValidation += me0MuonValidation

#_phase2_ge0_muonValidation = recoMuonValidation.copy()          #For full validation
_phase2_ge0_muonValidation = recoMuonValidation_reduced_seq.copy()
_phase2_ge0_muonValidation += gemMuonValidation_phase2

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toReplaceWith(recoMuonValidation, _run3_muonValidation)
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toReplaceWith(recoMuonValidation, _phase2_muonValidation)
from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
phase2_GE0.toReplaceWith(recoMuonValidation, _phase2_ge0_muonValidation)
Esempio n. 2
0
# DT digitizer
#
from SimMuon.DTDigitizer.muondtdigi_cfi import *
# RPC digitizer
# 
from SimMuon.RPCDigitizer.muonrpcdigi_cfi import *
muonDigiTask = cms.Task(simMuonCSCDigis, simMuonDTDigis, simMuonRPCDigis)
muonDigi = cms.Sequence(muonDigiTask)

from SimMuon.GEMDigitizer.muonGEMDigi_cff import *
from SimMuon.GEMDigitizer.muonME0Digi_cff import *

_run3_muonDigiTask = muonDigiTask.copy()
_run3_muonDigiTask.add(muonGEMDigiTask)

_phase2_muonDigiTask = _run3_muonDigiTask.copy()
_phase2_muonDigiTask.add(muonME0DigiTask)

# while GE0 is in development, just turn off ME0 tasks
_phase2_ge0 = _phase2_muonDigiTask.copyAndExclude([muonME0DigiTask])

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toReplaceWith( muonDigiTask, _run3_muonDigiTask )
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toReplaceWith( muonDigiTask, _run3_muonDigiTask )
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toReplaceWith( muonDigiTask, _phase2_muonDigiTask )
from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
phase2_GE0.toReplaceWith( muonDigiTask, _phase2_ge0 )

Esempio n. 3
0
import FWCore.ParameterSet.Config as cms
from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0

from SimMuon.GEMDigitizer.muonME0Digis_cfi import *
from SimMuon.GEMDigitizer.muonME0PseudoDigis_cfi import *
from SimMuon.GEMDigitizer.muonME0PseudoReDigis_cfi import *

muonME0RealDigi = cms.Task(simMuonME0Digis)

muonME0PseudoDigi = cms.Task(simMuonME0PseudoDigis, simMuonME0PseudoReDigis)

muonME0DigiTask = cms.Task(muonME0RealDigi, muonME0PseudoDigi)

## in scenarios with GE0, remove the pseudo digis
phase2_GE0.toReplaceWith(muonME0DigiTask,
                         muonME0DigiTask.copyAndExclude([muonME0PseudoDigi]))

muonME0Digi = cms.Sequence(muonME0DigiTask)
Esempio n. 4
0
_run3_postValidation += MuonGEMHitsPostProcessors
_run3_postValidation += MuonGEMDigisPostProcessors
_run3_postValidation += MuonGEMRecHitsPostProcessors

_phase2_postValidation = _run3_postValidation.copy()
_phase2_postValidation += hgcalPostProcessor
_phase2_postValidation += MuonME0DigisPostProcessors
_phase2_postValidation += MuonME0SegPostProcessors
_phase2_postValidation += trackerphase2ValidationHarvesting

_phase2_ge0_postValidation = _run3_postValidation.copy()
_phase2_ge0_postValidation += hgcalPostProcessor
_phase2_ge0_postValidation += trackerphase2ValidationHarvesting

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017

run2_GEM_2017.toReplaceWith(postValidation, _run3_postValidation)
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM

run3_GEM.toReplaceWith(postValidation, _run3_postValidation)
from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal

phase2_hgcal.toReplaceWith(postValidation, _phase2_postValidation)
from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
(phase2_GE0 & phase2_hgcal).toReplaceWith(postValidation,
                                          _phase2_ge0_postValidation)
phase2_GE0.toReplaceWith(
    postValidation_muons,
    postValidation_muons.copyAndExclude(
        [MuonME0DigisPostProcessors, MuonME0SegPostProcessors]))
Esempio n. 5
0
)  #module siPixelPhase1OfflineDQM_sourceV can't run in FastSim since siPixelClusters of type edmNew::DetSetVector are not produced

_run3_globalValidation = globalValidation.copy()
_run3_globalValidation += gemSimValid

_phase2_globalValidation = _run3_globalValidation.copy()
_phase2_globalValidation += trackerphase2ValidationSource
_phase2_globalValidation += me0SimValid

_phase2_ge0_globalValidation = _run3_globalValidation.copy()
_phase2_ge0_globalValidation += trackerphase2ValidationSource

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toReplaceWith(globalValidation, _run3_globalValidation)
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toReplaceWith(globalValidation, _run3_globalValidation)
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toReplaceWith(globalValidation, _phase2_globalValidation)
from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
phase2_GE0.toReplaceWith(globalValidation, _phase2_ge0_globalValidation)
phase2_GE0.toReplaceWith(
    globalPrevalidationMuons,
    globalPrevalidationMuons.copyAndExclude([me0SimValid]))
from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
pp_on_AA.toReplaceWith(
    globalValidation, globalValidation.copyAndExclude([pfTauRunDQMValidation]))
from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
phase2_timing_layer.toReplaceWith(
    globalValidationMTD,
    cms.Sequence(mtdSimValid + mtdDigiValid + mtdRecoValid))
Esempio n. 6
0
                                             csclocalrecoTask, rpcRecHits)
muonlocalreco_with_2DSegments = cms.Sequence(muonlocalreco_with_2DSegmentsTask)
# DT, CSC and RPC together (correct sequence for the standard path)
muonlocalrecoTask = cms.Task(dtlocalrecoTask, csclocalrecoTask, rpcRecHits)
muonlocalreco = cms.Sequence(muonlocalrecoTask)

from RecoLocalMuon.GEMRecHit.gemLocalReco_cff import *
from RecoLocalMuon.GEMRecHit.me0LocalReco_cff import *

_run2_GEM_2017_muonlocalrecoTask = muonlocalrecoTask.copy()
_run2_GEM_2017_muonlocalrecoTask.add(gemLocalRecoTask)

_run3_muonlocalrecoTask = muonlocalrecoTask.copy()
_run3_muonlocalrecoTask.add(gemLocalRecoTask)

_phase2_muonlocalrecoTask = _run3_muonlocalrecoTask.copy()
_phase2_muonlocalrecoTask.add(me0LocalRecoTask)

_phase2_ge0_muonlocalrecoTask = _phase2_muonlocalrecoTask.copyAndExclude(
    [me0LocalRecoTask])

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toReplaceWith(muonlocalrecoTask,
                            _run2_GEM_2017_muonlocalrecoTask)
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toReplaceWith(muonlocalrecoTask, _run3_muonlocalrecoTask)
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toReplaceWith(muonlocalrecoTask, _phase2_muonlocalrecoTask)
from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
phase2_GE0.toReplaceWith(muonlocalrecoTask, _phase2_ge0_muonlocalrecoTask)