CMS 3D CMS Logo

muNtupleProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
11 
12 muDPGNanoProducer = cms.Sequence(lhcInfoTableProducer
13  + lumiTableProducer
14  + muDigiProducers
15  + muLocalRecoProducers
16  + muRecoProducers
17  + muL1TriggerProducers
18  )
19 
20 def muDPGNanoCustomize(process) :
21 
22  if hasattr(process, "dtrpcPointFlatTableProducer") and \
23  hasattr(process, "cscrpcPointFlatTableProducer") and \
24  hasattr(process, "RawToDigiTask"):
25  process.load("RecoLocalMuon.RPCRecHit.rpcPointProducer_cff")
26  process.rpcPointProducer.dt4DSegments = 'dt4DSegments'
27  process.rpcPointProducer.cscSegments = 'cscSegments'
28  process.rpcPointProducer.ExtrapolatedRegion = 0.6
29  process.RawToDigiTask.add(process.rpcPointProducer)
30 
31  if hasattr(process, "muGEMMuonExtTableProducer") or hasattr(process, "muCSCTnPFlatTableProducer"):
32  process.load("TrackingTools/TransientTrack/TransientTrackBuilder_cfi")
33  process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi")
34  process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi")
35  process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi")
36 
37  if hasattr(process, "NANOAODoutput"):
38  process.NANOAODoutput.outputCommands.append("keep nanoaodFlatTable_*Table*_*_*")
39  process.NANOAODoutput.outputCommands.append("drop edmTriggerResults_*_*_*")
40 
41  return process