CMS 3D CMS Logo

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__ (self, diobject)
 
def __str__ (self)
 
def leg1 (self)
 
def leg2 (self)
 
- Public Member Functions inherited from DiObject.DiObject
def sumPt (self)
 

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

◆ __init__()

def DiObject.DiMuon.__init__ (   self,
  diobject 
)
diobject is the di-object read from the edm file

Reimplemented from DiObject.DiObject.

Definition at line 39 of file DiObject.py.

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

Member Function Documentation

◆ __str__()

def DiObject.DiMuon.__str__ (   self)

Reimplemented from DiObject.DiObject.

Definition at line 50 of file DiObject.py.

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

References btagbtvdeep::SecondaryVertexFeatures.mass, btagbtvdeep::TrackPairFeatures.mass, btagbtvdeep::JetFeatures.mass, btagbtvdeep::SeedingTrackFeatures.mass, egHLT::ParticlePair< T >.mass(), TwoBodyDecayParameters.mass, TwoBodyDecayDerivatives.mass, tnp::TagProbePair.mass, NUEvent::NUParticle.mass, PUEvent::PUParticle.mass, funct::GammaZInterference.mass, dqmTnP::AbstractFitter.mass, tauImpactParameter::TrackParticle.mass(), funct::BreitWigner.mass, dnn_inputs_2017v1.mass, btagbtvdeep::SeedingTrackInfoBuilder.mass(), tauImpactParameter::Particle.mass(), PtEtaPhiMass.mass(), GsfMaterialEffectsUpdator.mass(), MassWindow.mass(), dEdxAnalyzer.mass(), RHStopTracer::StopPoint.mass, BPhysicsSpectrum.mass, tmtt::TP.mass(), ResonanceBuilder.Resonance.mass(), PatZToMuMuAnalyzer.mass(), CheckSecondary.mass, MassKinematicConstraint.mass, KinematicParameters.mass(), tauImpactParameter::LorentzVectorParticle.mass(), KinematicState.mass(), trigger::TriggerObject.mass(), MultiTrackMassKinematicConstraint.mass, TwoTrackMassKinematicConstraint.mass, egHLT::BinData.mass, PatBJetVertexAnalyzer::Plots.mass, BPhysicsValidation::ParticleMonitor.mass, reco::Candidate.mass(), CMSmplIonisationWithDeltaModel.mass, MaterialEffectsUpdator.mass(), BPHKinematicFit.mass(), BPHDecayMomentum::Component.mass, CaloParticle.mass(), reco::Particle.mass(), reco::ForwardProton.mass(), hitfit::FE_Obj.mass, BPHOniaToMuMuBuilder::OniaParameters.mass, UrbanMscModel93.mass, SimCluster.mass(), TrackingParticle.mass(), reco::ParticleState.mass(), ReferenceTrajectoryBase::Config.mass, reco::LeafCandidate.mass(), HGCalClusterT< C >.mass(), BPHKinematicFit::FlyingParticle.mass, RawParticle.mass(), BPHRecoBuilder::BPHRecoSource.mass, ZeeCalibration.mass, pat::PackedGenParticle.mass(), pat::PackedCandidate.mass(), PuppiCandidate.pt, eetest::CandForTest.pt(), btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, btagbtvdeep::TrackPairFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), L1TkMuMantraDF::track_df.pt, Run3ScoutingParticle.pt(), ScoutingParticle.pt(), reco::VoronoiBackground.pt(), L1MuCSCPtLut.pt(), Residual1DHit.pt, PtHatReweightUserHook.pt, ScoutingPhoton.pt(), MatchStruct.pt, L1TkMuMantraDF::muon_df.pt, dnn_inputs_2017v1.pt, btagbtvdeep::SeedingTrackInfoBuilder.pt(), RecoObj.pt, ALILine.pt(), trklet::L1SimTrack.pt(), L2TauPixelTrackMatch::TinyTrack.pt, PtEtaPhiMass.pt(), reco::MuonMETCorrectionData.pt(), tauImpactParameter::LorentzVectorParticle.pt, ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, DTMuonLocalAlignment.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PatTrackAnalyzer::Plots.pt, HepLine3D.pt(), tmtt::TP.pt(), PGlobalSimHit::Trk.pt, jpt::Map.pt(), PhysicsObjectsMonitor.pt, L1TkMuonProducer::PropState.pt, trigger::TriggerObject.pt(), trklet::Track.pt(), SiStripLAProfileBooker.pt, reco::CaloMuon.pt(), TtFullHadSignalSel.pt(), trklet::L1TStub.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), Run3ScoutingPhoton.pt(), PTrajectoryStateOnDet.pt(), Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), SimpleL1MuGMTCand.pt(), ValidationMisalignedTracker.pt, TauL1TPair.pt(), HTrackVariables.pt(), L1MuDTTrack.pt(), reco::ForwardProton.pt(), L1MuBMTrack.pt(), susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, BPhysicsValidation::ParticleMonitor.pt, MuonDTLocalMillepedeAlgorithm.pt, TrajectoryStateClosestToPoint.pt(), Run3ScoutingElectron.pt(), reco::PreId.pt(), Lepton.pt, Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), reco::PFCluster.pt(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, SimCluster.pt(), reco::ParticleState.pt(), CosmicRateAnalyzer.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, TrackingParticle.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), MuonGmtPair.pt(), l1t::EMTFTrack.pt, pat::MET::Vector2.pt(), RawParticle.pt(), tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, PTrackerSimHit::Trk.pt, reco::MuonIsolation.sumPt, DiObject.DiObject.sumPt(), HGCalConcentratorCoarsenerImpl::CoarseTC.sumPt, l1t::HGCalClusterT< C >.sumPt(), PileupJetIdentifier.sumPt(), and MBUEandQCDValidation.sumPt.

◆ leg1()

def DiObject.DiMuon.leg1 (   self)

Definition at line 44 of file DiObject.py.

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

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

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

◆ leg2()

def DiObject.DiMuon.leg2 (   self)

Definition at line 47 of file DiObject.py.

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

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

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

Member Data Documentation

◆ mu1

DiObject.DiMuon.mu1

Definition at line 41 of file DiObject.py.

Referenced by DiObject.DiMuon.leg1().

◆ mu2

DiObject.DiMuon.mu2

Definition at line 42 of file DiObject.py.

Referenced by DiObject.DiMuon.leg2().

Muon
Definition: Muon.py:1
TriggerAnalyzer.__str__
def __str__(self)
Definition: TriggerAnalyzer.py:103
format