CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
DiObject.DiMuon Class Reference
Inheritance diagram for DiObject.DiMuon:
DiObject.DiObject

Public Member Functions

def __init__
 
def __str__
 
def leg1
 
def leg2
 
- Public Member Functions inherited from DiObject.DiObject
def __init__
 
def __str__
 
def sumPt
 

Public Attributes

 mu1
 
 mu2
 
- Public Attributes inherited from DiObject.DiObject
 diobject
 
 leg1DeltaR
 
 leg1Gen
 
 leg2DeltaR
 
 leg2Gen
 

Detailed Description

Definition at line 37 of file DiObject.py.

Constructor & Destructor Documentation

def DiObject.DiMuon.__init__ (   self,
  diobject 
)

Definition at line 39 of file DiObject.py.

39 
40  def __init__(self, diobject):
41  super(DiMuon, self).__init__(diobject)
42  self.mu1 = Muon( diobject.leg1() )
43  self.mu2 = Muon( diobject.leg2() )
Definition: Muon.py:1

Member Function Documentation

def DiObject.DiMuon.__str__ (   self)

Definition at line 50 of file DiObject.py.

References egHLT::ParticlePair< T >.mass(), tnp::TagProbePair.mass, TwoBodyDecayDerivatives.mass, TwoBodyDecayParameters.mass, NUEvent::NUParticle.mass, PUEvent::PUParticle.mass, tauImpactParameter::TrackParticle.mass(), dqmTnP::AbstractFitter.mass, funct::GammaZInterference.mass, tauImpactParameter::Particle.mass(), funct::BreitWigner.mass, VolumeMaterialEffectsEstimator.mass(), PtEtaPhiMass.mass(), MassWindow.mass(), tauImpactParameter::LorentzVectorParticle.mass(), GsfMaterialEffectsUpdator.mass(), function::ZMuStandaloneFunction.mass, function::ZMuMuFunction.mass, function::ZMuTrackFunction.mass, function::ZMuMuScaledFunction.mass, function::ZMuStandaloneScaledFunction.mass, function::ZMuTrackScaledFunction.mass, function::ZMuTrackScaledNormalBack.mass, dEdxAnalyzer.mass(), PatZToMuMuAnalyzer.mass(), CheckSecondary.mass, KinematicState.mass(), MassKinematicConstraint.mass, KinematicParameters.mass(), trigger::TriggerObject.mass(), egHLT::BinData.mass, MultiTrackMassKinematicConstraint.mass, TwoTrackMassKinematicConstraint.mass, PatBJetVertexAnalyzer::Plots.mass, reco::Particle.mass(), reco::Candidate.mass(), MaterialEffectsUpdator.mass(), GroupedCkfTrajectoryBuilder.mass(), pat::PackedGenParticle.mass(), LeafRefCandidateT< T >.mass(), reco::LeafRefCandidateT< T >.mass(), TrackingParticle.mass(), pat::PackedCandidate.mass(), hitfit::FE_Obj.mass, UrbanMscModel93.mass, CandidateWithRef< Ref >.mass(), reco::LeafCandidate.mass(), RawParticle.mass(), ZeeCalibration.mass, mypt.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), reco::VoronoiBackground.pt(), RecoObj.pt, tauImpactParameter::LorentzVectorParticle.pt, L1MuCSCPtLut.pt(), Residual1DHit.pt, reco::MuonMETCorrectionData.pt(), PtHatReweightUserHook.pt, MatchStruct.pt, PtEtaPhiMass.pt(), ALILine.pt(), L2TauPixelTrackMatch::TinyTrack.pt, TrackMultiSelector::Block.pt, ElectronMVAEstimator.pt, DTMuonLocalAlignment.pt, TtFullHadSignalSel.pt(), PGlobalSimHit::Trk.pt, lhef::JetClustering::Jet.pt(), ZMuMuIsolationAnalyzer.pt, PatTrackAnalyzer::Plots.pt, TrackerValidationVariables::AVTrackStruct.pt, reco::CaloMuon.pt(), jpt::Map.pt(), SiStripLAProfileBooker.pt, trigger::TriggerObject.pt(), BSTrkParameters.pt(), PhysicsObjectsMonitor.pt, SoftElectronMVAEstimator.pt, MuScleFitMuon.pt(), PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), ValidationMisalignedTracker.pt, L1MuDTTrack.pt(), TrajectoryStateClosestToPoint.pt(), MuonDTLocalMillepedeAlgorithm.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, reco::Particle.pt(), MuonGmtPair.pt(), reco::PreId.pt(), Lepton.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), TrackingParticle.pt(), LeafRefCandidateT< T >.pt(), reco::LeafRefCandidateT< T >.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PtHatRapReweightUserHook.pt, pat::PackedGenParticle.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, AlignmentMonitorMuonSystemMap1D::MyTrack.pt, pat::PackedCandidate.pt(), reco::PFCluster.pt(), GoodSeedProducer.pt, pat::MET::UncorInfo.pt, reco::LeafCandidate.pt(), pat::MET::Vector2.pt(), CandidateWithRef< Ref >.pt(), reco::TrackBase.pt(), PMuonSimHit::Trk.pt, PTrackerSimHit::Trk.pt, reco::MuonIsolation.sumPt, DiObject.DiObject.sumPt(), PileupJetIdentifier.sumPt(), and MBUEandQCDValidation.sumPt.

50 
51  def __str__(self):
52  return 'DiMuon: mass={mass:5.2f}, sumpt={sumpt:5.2f}, pt={pt:5.2f}'.format(
53  mass = self.mass(),
54  sumpt = self.sumPt(),
55  pt = self.pt()
56  )
57 
def DiObject.DiMuon.leg1 (   self)

Definition at line 44 of file DiObject.py.

References MuonPair.mu1, DiObject.DiMuon.mu1, and GenMuonPair.mu1.

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

44 
45  def leg1(self):
46  return self.mu1
def DiObject.DiMuon.leg2 (   self)

Definition at line 47 of file DiObject.py.

References MuonPair.mu2, DiObject.DiMuon.mu2, and GenMuonPair.mu2.

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

47 
48  def leg2(self):
49  return self.mu2

Member Data Documentation

DiObject.DiMuon.mu1

Definition at line 41 of file DiObject.py.

Referenced by DiObject.DiMuon.leg1().

DiObject.DiMuon.mu2

Definition at line 42 of file DiObject.py.

Referenced by DiObject.DiMuon.leg2().