CMS 3D CMS Logo

Functions | Variables
muonClassificationByHitsTP_cfi Namespace Reference

Functions

def addGenParticleRef (patMuonProducer, label='classByHitsGlbOrTrk')
 
def addUserData (patMuonProducer, labels=['classByHitsGlbOrTrk'], extraInfo=False)
 

Variables

 associatorLabel
 
 classByHitsGlb
 
 classByHitsGlbOrTrk
 
 classByHitsSta
 
 classByHitsTM
 
 classByHitsTMLSAT
 
 decayAbsZ
 
 decayRho
 
 genParticles
 
 linkToGenParticles
 
 muonClassificationByHits
 
 muonPreselection
 
 muons
 
 trackingParticles
 
 trackType
 

Function Documentation

◆ addGenParticleRef()

def muonClassificationByHitsTP_cfi.addGenParticleRef (   patMuonProducer,
  label = 'classByHitsGlbOrTrk' 
)

Definition at line 56 of file muonClassificationByHitsTP_cfi.py.

56 def addGenParticleRef(patMuonProducer, label = 'classByHitsGlbOrTrk'):
57  patMuonProducer.addGenMatch = True
58  patMuonProducer.genParticleMatch = cms.VInputTag(cms.InputTag(label, "toPrimaries"), cms.InputTag(label, "toSecondaries"))
59 

◆ addUserData()

def muonClassificationByHitsTP_cfi.addUserData (   patMuonProducer,
  labels = ['classByHitsGlbOrTrk'],
  extraInfo = False 
)

Definition at line 45 of file muonClassificationByHitsTP_cfi.py.

45 def addUserData(patMuonProducer,labels=['classByHitsGlbOrTrk'], extraInfo = False):
46  for label in labels:
47  patMuonProducer.userData.userInts.src.append( cms.InputTag(label) )
48  patMuonProducer.userData.userInts.src.append( cms.InputTag(label, "ext") )
49  if extraInfo:
50  for ints in ("flav", "hitsPdgId", "G4processType", "momPdgId", "gmomPdgId", "momFlav", "gmomFlav", "hmomFlav", "tpId", "tpBx", "tpEv", "momStatus"):
51  patMuonProducer.userData.userInts.src.append(cms.InputTag(label, ints))
52  for ins in ("signp", "pt", "eta", "phi", "prodRho", "prodZ", "tpAssoQuality", "momRho", "momZ"):
53 
54  patMuonProducer.userData.userFloats.src.append(cms.InputTag(label, ins))
55 

Variable Documentation

◆ associatorLabel

muonClassificationByHitsTP_cfi.associatorLabel

Definition at line 11 of file muonClassificationByHitsTP_cfi.py.

◆ classByHitsGlb

muonClassificationByHitsTP_cfi.classByHitsGlb

Definition at line 20 of file muonClassificationByHitsTP_cfi.py.

◆ classByHitsGlbOrTrk

muonClassificationByHitsTP_cfi.classByHitsGlbOrTrk

Definition at line 28 of file muonClassificationByHitsTP_cfi.py.

◆ classByHitsSta

muonClassificationByHitsTP_cfi.classByHitsSta

Definition at line 24 of file muonClassificationByHitsTP_cfi.py.

◆ classByHitsTM

muonClassificationByHitsTP_cfi.classByHitsTM

Definition at line 6 of file muonClassificationByHitsTP_cfi.py.

◆ classByHitsTMLSAT

muonClassificationByHitsTP_cfi.classByHitsTMLSAT

Definition at line 17 of file muonClassificationByHitsTP_cfi.py.

◆ decayAbsZ

muonClassificationByHitsTP_cfi.decayAbsZ

Definition at line 13 of file muonClassificationByHitsTP_cfi.py.

◆ decayRho

muonClassificationByHitsTP_cfi.decayRho

Definition at line 12 of file muonClassificationByHitsTP_cfi.py.

◆ genParticles

muonClassificationByHitsTP_cfi.genParticles

Definition at line 15 of file muonClassificationByHitsTP_cfi.py.

◆ linkToGenParticles

muonClassificationByHitsTP_cfi.linkToGenParticles

Definition at line 14 of file muonClassificationByHitsTP_cfi.py.

◆ muonClassificationByHits

muonClassificationByHitsTP_cfi.muonClassificationByHits

Definition at line 34 of file muonClassificationByHitsTP_cfi.py.

◆ muonPreselection

muonClassificationByHitsTP_cfi.muonPreselection

Definition at line 8 of file muonClassificationByHitsTP_cfi.py.

◆ muons

muonClassificationByHitsTP_cfi.muons

Definition at line 7 of file muonClassificationByHitsTP_cfi.py.

◆ trackingParticles

muonClassificationByHitsTP_cfi.trackingParticles

Definition at line 10 of file muonClassificationByHitsTP_cfi.py.

◆ trackType

muonClassificationByHitsTP_cfi.trackType

Definition at line 9 of file muonClassificationByHitsTP_cfi.py.

muonClassificationByHitsTP_cfi.addGenParticleRef
def addGenParticleRef(patMuonProducer, label='classByHitsGlbOrTrk')
Definition: muonClassificationByHitsTP_cfi.py:56
muonClassificationByHitsTP_cfi.addUserData
def addUserData(patMuonProducer, labels=['classByHitsGlbOrTrk'], extraInfo=False)
Definition: muonClassificationByHitsTP_cfi.py:45