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 20 of file muNtupleProducer_cff.py.

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  for output in ["NANOEDMAODoutput", "NANOAODoutput", "NANOEDMAODSIMoutput", "NANOAODSIMoutput"]:
38  if hasattr(process, output):
39  getattr(process,output).outputCommands.append("keep nanoaodFlatTable_*Table*_*_*")
40  getattr(process,output).outputCommands.append("drop edmTriggerResults_*_*_*")
41 
42  return process
43 

Variable Documentation

◆ muDPGNanoProducer

muNtupleProducer_cff.muDPGNanoProducer

Definition at line 12 of file muNtupleProducer_cff.py.