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

◆ __init__()

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, 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

Member Function Documentation

◆ __str__()

def DiObject.DiMuon.__str__ (   self)

Definition at line 50 of file DiObject.py.

References btagbtvdeep::JetFeatures.mass, btagbtvdeep::TrackPairFeatures.mass, btagbtvdeep::SecondaryVertexFeatures.mass, btagbtvdeep::SeedingTrackFeatures.mass, egHLT::ParticlePair< T >.mass(), TwoBodyDecayParameters.mass, TwoBodyDecayDerivatives.mass, tnp::TagProbePair.mass, NUEvent::NUParticle.mass, PUEvent::PUParticle.mass, dqmTnP::AbstractFitter.mass, funct::BreitWigner.mass, btagbtvdeep::SeedingTrackInfoBuilder.mass(), PtEtaPhiMass.mass(), GsfMaterialEffectsUpdator.mass(), dEdxAnalyzer.mass(), MassWindow.mass(), RHStopTracer::StopPoint.mass, BPhysicsSpectrum.mass, tmtt::TP.mass(), ResonanceBuilder.Resonance.mass(), PatZToMuMuAnalyzer.mass(), CheckSecondary.mass, MassKinematicConstraint.mass, KinematicParameters.mass(), KinematicState.mass(), trigger::TriggerObject.mass(), MultiTrackMassKinematicConstraint.mass, TwoTrackMassKinematicConstraint.mass, egHLT::BinData.mass, PatBJetVertexAnalyzer::Plots.mass, BPhysicsValidation::ParticleMonitor.mass, reco::Candidate.mass(), MaterialEffectsUpdator.mass(), BPHKinematicFit.mass(), GroupedCkfTrajectoryBuilder.mass(), reco::ForwardProton.mass(), CaloParticle.mass(), BPHDecayMomentum::Component.mass, reco::Particle.mass(), hitfit::FE_Obj.mass, BPHOniaToMuMuBuilder::OniaParameters.mass, SimCluster.mass(), reco::ParticleState.mass(), TrackingParticle.mass(), ReferenceTrajectoryBase::Config.mass, CandidateWithRef< Ref >.mass(), HGCalClusterT< C >.mass(), reco::LeafCandidate.mass(), BPHKinematicFit::FlyingParticle.mass, RawParticle.mass(), BPHRecoBuilder::BPHRecoSource.mass, ZeeCalibration.mass, l1t::TkTripletWord.mass(), pat::PackedGenParticle.mass(), l1t::L1TGT_GMT_TopoObject.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(), hi::TrackStructure.pt, res::HelperJet.pt(), reco::VoronoiBackground.pt(), ScoutingParticle.pt(), L1MuCSCPtLut.pt(), l1ScoutingRun3::ugmt::masksMuon.pt, l1ScoutingRun3::ugmt::shiftsMuon.pt, l1t::Vertex.pt(), Phase2L1GMT::MuonROI.pt(), PtHatReweightUserHook.pt, l1tVertexFinder::L1Track.pt(), ScoutingPhoton.pt(), MatchStruct.pt, btagbtvdeep::SeedingTrackInfoBuilder.pt(), RecoObj.pt, trklet::L1SimTrack.pt(), btagbtvdeep::NeutralCandidateFeatures.pt, ALILine.pt(), PtEtaPhiMass.pt(), L2TauPixelTrackMatch::TinyTrack.pt, reco::MuonMETCorrectionData.pt(), L1Analysis::L1AnalysisRecoPhotonDataFormat.pt, P2L1HTMHTEmu::PtPxPy.pt, ResonanceBuilder.Resonance.pt(), HLTGenValObject.pt(), MTDTrackQualityMVA.pt, Phase2L1GMT::ConvertedTTTrack.pt(), DTMuonLocalAlignment.pt, l1thgcfirmware::HGCalCluster.pt(), l1ct::tdr_regionizer::PipeEntry< T >.pt(), PipeEntry< T >.pt(), antiElecIDMVA6_blocks::TauVars.pt, btagbtvdeep::ChargedCandidateFeatures.pt, l1thgcfirmware::HGCalTriggerCell.pt(), L1Analysis::L1AnalysisRecoTauDataFormat.pt, mkfit::IdxChi2List.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, Phase2L1GMT::PreTrackMatchedMuon.pt(), L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PatTrackAnalyzer::Plots.pt, HepLine3D.pt(), tmtt::TP.pt(), PGlobalSimHit::Trk.pt, mtd::MTDGeomUtil.pt(), trigger::TriggerObject.pt(), l1gt::ThreeVector.pt, PhysicsObjectsMonitor.pt, jpt::Map.pt(), trklet::Track.pt(), RecoVertex<>.pt(), l1tVertexFinder::RecoVertex< T >.pt(), RecoVertex< L1Track >.pt(), TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), trklet::L1TStub.pt(), PTrajectoryStateOnDet.pt(), SiStripLAProfileBooker.pt, ScoutingElectron.pt(), reco::ForwardProton.pt(), Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), l1tVertexFinder::VertexNTupler::GenJetsBranchData.pt, TrackBranch.pt, Run3ScoutingParticle.pt(), TauL1TPair.pt(), SimpleL1MuGMTCand.pt(), L1MuDTTrack.pt(), EopElecVariables.pt, HTrackVariables.pt(), L1MuBMTrack.pt(), susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, l1tVertexFinder::VertexNTupler::GenParticlesBranchData.pt, TrajectoryStateClosestToPoint.pt(), BPhysicsValidation::ParticleMonitor.pt, L1TPhase2CorrelatorOffline::SimpleObject.pt, reco::PreId.pt(), Run3ScoutingPhoton.pt(), Lepton.pt, l1tp2::DigitizedClusterGT.pt(), Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), ValidationMisalignedTracker.pt, TrackerValidationVariables::AVTrackStruct.pt, Primary4DVertexValidation::simPrimaryVertex.pt, reco::Candidate.pt(), l1tVertexFinder::VertexNTupler::RecoTracksBranchData.pt, egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), reco::PFCluster.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), l1tp2::DigitizedClusterCorrelator.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), emtf::phase2::track_t.pt, Run3ScoutingElectron.pt(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), l1ct::tdr_regionizer::BufferEntry< T >.pt(), l1tVertexFinder::VertexNTupler::TrueTracksBranchData.pt, SimCluster.pt(), reco::ParticleState.pt(), JetAnalyzer_HeavyIons_matching::MyJet.pt, AlignmentMonitorMuonSystemMap1D::MyTrack.pt, GenMuonGMTPair.pt(), TrackingParticle.pt(), CandidateWithRef< Ref >.pt(), HGCalClusterT< C >.pt(), reco::LeafCandidate.pt(), Primary4DVertexValidation::recoPrimaryVertex.pt, l1t::TkJetWord.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, l1t::VertexWord.pt(), PtHatRapReweightUserHook.pt, l1ct::tdr_regionizer::Buffer< T >.pt(), L1NNCaloTauProducer::SimpleHGCluster.pt, Run3ScoutingMuon.pt(), l1t::TkTripletWord.pt(), CosmicRateAnalyzer.pt, MuonGmtPair.pt(), pixelTrack::QualityCutsT< TrackerTraits, pixelTopology::isPhase1Topology< TrackerTraits > >.pt, L1TPhase2CorrelatorOffline::McVars.pt, pat::MET::Vector2.pt(), RawParticle.pt(), l1t::EMTFTrack.pt, L1TPhase2CorrelatorOffline::RecoVars.pt, tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), L1NNCaloTauEmulator::SimpleHGCluster.pt, pat::PackedGenParticle.pt(), p2eg::SimpleCaloHit.pt(), L1CaloJetProducer::simpleL1obj.pt(), L1NNCaloTauEmulator::InputHGCluster.pt, L1EGCrystalClusterEmulatorProducer::SimpleCaloHit.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, PTrackerSimHit::Trk.pt, reco::MuonIsolation.sumPt, DiObject.DiObject.sumPt(), l1thgcfirmware::HGCalMulticluster.sumPt(), HGCalConcentratorCoarsenerImpl::CoarseTC.sumPt, l1tVertexFinder::VertexNTupler::EmulationVerticesBranchData.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 

◆ leg1()

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 

◆ leg2()

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 

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