CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DiObject.TauMuon Class Reference
Inheritance diagram for DiObject.TauMuon:
DiObject.DiTau DiObject.DiObject

Public Member Functions

def __init__ (self, diobject)
 
def leg1 (self)
 
def leg2 (self)
 
- Public Member Functions inherited from DiObject.DiTau
def __init__ (self, diobject)
 
def match (self, genParticles)
 
- Public Member Functions inherited from DiObject.DiObject
def __init__ (self, diobject)
 
def __str__ (self)
 
def sumPt (self)
 

Public Attributes

 mu
 
 tau
 
- Public Attributes inherited from DiObject.DiTau
 leg1DeltaR
 
 leg1Gen
 
 leg2DeltaR
 
 leg2Gen
 
- Public Attributes inherited from DiObject.DiObject
 diobject
 
 leg1DeltaR
 
 leg1Gen
 
 leg2DeltaR
 
 leg2Gen
 

Detailed Description

Holds a CMG TauMuon, and the 2 legs as a python Tau and Muon

Definition at line 117 of file DiObject.py.

Constructor & Destructor Documentation

◆ __init__()

def DiObject.TauMuon.__init__ (   self,
  diobject 
)

Definition at line 119 of file DiObject.py.

119  def __init__(self, diobject):
120  super(TauMuon, self).__init__(diobject)
121  self.tau = Tau( self.leg1() )
122  self.mu = Muon( self.leg2() )
123 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)
Definition: Muon.py:1
Definition: Tau.py:1

Member Function Documentation

◆ leg1()

def DiObject.TauMuon.leg1 (   self)

Definition at line 124 of file DiObject.py.

References Tau.Tau.tau, reco::JetFlavour::Leptons.tau, L1TauRecoTreeProducer.tau, DiObject.TauMuon.tau, and TauLeptonMultiplicity.tau.

Referenced by DiObject.DiObject.__str__(), and DiObject.DiObject.sumPt().

124  def leg1(self):
125  return self.tau
126 

◆ leg2()

def DiObject.TauMuon.leg2 (   self)

Definition at line 127 of file DiObject.py.

References l1ScoutingRun3::ugmt::block.mu, reco::PFCandidate.mu, Point.mu, and DiObject.TauMuon.mu.

Referenced by DiObject.DiObject.__str__(), and DiObject.DiObject.sumPt().

127  def leg2(self):
128  return self.mu
129 
130 
131 

Member Data Documentation

◆ mu

DiObject.TauMuon.mu

Definition at line 122 of file DiObject.py.

Referenced by DiObject.MuonElectron.leg1(), and DiObject.TauMuon.leg2().

◆ tau

DiObject.TauMuon.tau