CMS 3D CMS Logo

Functions | Variables
muNtupleProducer_cff Namespace Reference

Functions

def muDPGNanoCustomize (process)
 

Variables

 muDPGNanoProducer
 

Function Documentation

◆ muDPGNanoCustomize()

def muNtupleProducer_cff.muDPGNanoCustomize (   process)

Definition at line 18 of file muNtupleProducer_cff.py.

18 def muDPGNanoCustomize(process) :
19 
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)
28 
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")
34 
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_*_*_*")
38 
39  return process
40 

Variable Documentation

◆ muDPGNanoProducer

muNtupleProducer_cff.muDPGNanoProducer

Definition at line 11 of file muNtupleProducer_cff.py.