1 import FWCore.ParameterSet.Config
as cms
11 muDPGNanoProducer = cms.Sequence(globalTables
20 if hasattr(process,
"dtrpcPointFlatTable")
and \
21 hasattr(process,
"cscrpcPointFlatTable")
and \
22 hasattr(process,
"RawToDigiTask"):
23 process.load(
"RecoLocalMuon.RPCRecHit.rpcPointProducer_cff")
24 process.rpcPointProducer.dt4DSegments =
'dt4DSegments' 25 process.rpcPointProducer.cscSegments =
'cscSegments' 26 process.rpcPointProducer.ExtrapolatedRegion = 0.6
27 process.RawToDigiTask.add(process.rpcPointProducer)
29 if hasattr(process,
"muGEMMuonExtTable")
or hasattr(process,
"muCSCTnPFlatTable"):
30 process.load(
"TrackingTools/TransientTrack/TransientTrackBuilder_cfi")
31 process.load(
"TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi")
32 process.load(
"TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi")
33 process.load(
"TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi")
35 for output
in [
"NANOEDMAODoutput",
"NANOAODoutput",
"NANOEDMAODSIMoutput",
"NANOAODSIMoutput"]:
36 if hasattr(process, output)
and "keep edmTriggerResults_*_*_*" in getattr(process,output).outputCommands:
37 getattr(process,output).outputCommands.remove(
"keep edmTriggerResults_*_*_*")
def muDPGNanoCustomize(process)