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 __init__ (self, diobject)
 
def __str__ (self)
 
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

def DiObject.DiMuon.__init__ (   self,
  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 
def __init__(self, diobject)
Definition: DiObject.py:39
Definition: Muon.py:1

Member Function Documentation

def DiObject.DiMuon.__str__ (   self)

Definition at line 50 of file DiObject.py.

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

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 
def sumPt(self)
Definition: DiObject.py:21
def __str__(self)
Definition: DiObject.py:50
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  def leg1(self):
45  return self.mu1
46 
def leg1(self)
Definition: DiObject.py:44
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  def leg2(self):
48  return self.mu2
49 
def leg2(self)
Definition: DiObject.py:47

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().