CMS 3D CMS Logo

Public Types | Public Member Functions | Protected Attributes | Friends

pat::Muon Class Reference

Analysis-level muon class. More...

#include <DataFormats/PatCandidates/interface/Muon.h>

Inheritance diagram for pat::Muon:
pat::Lepton< reco::Muon > pat::PATObject< reco::Muon > reco::Muon reco::RecoCandidate reco::LeafCandidate reco::Candidate

List of all members.

Public Types

typedef enum pat::Muon::IPTYPE IpType
enum  IPTYPE {
  None = 0, PV2D = 1, PV3D = 2, BS2D = 3,
  BS3D = 4
}

Public Member Functions

float caloIso () const
reco::MuonMETCorrectionData caloMETMuonCorrs () const
 muon MET corrections for caloMET; returns the muon correction struct if embedded during pat tuple production or an empty element
virtual Muonclone () const
 required reimplementation of the Candidate's clone method
reco::TrackRef combinedMuon () const
 reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon)
double dB (IpType type=None) const
float ecalIso () const
double edB (IpType type=None) const
void embedCaloMETMuonCorrs (const reco::MuonMETCorrectionData &t)
 embed the MuonMETCorrectionData for muon corrected caloMET
void embedCombinedMuon ()
 set reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon)
void embedPFCandidate ()
 embed the IsolatedPFCandidate pointed to by pfCandidateRef_
void embedPickyMuon ()
 embed reference to the above picky Track
void embedStandAloneMuon ()
 set reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon)
void embedTcMETMuonCorrs (const reco::MuonMETCorrectionData &t)
 embed the MuonMETCorrectionData for tcMET
void embedTpfmsMuon ()
 embed reference to the above tpfms Track
void embedTrack ()
 set reference to Track reconstructed in the tracker only (reimplemented from reco::Muon)
reco::TrackRef globalTrack () const
 reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon)
float hcalIso () const
void initImpactParameters (void)
reco::TrackRef innerTrack () const
 reference to Track reconstructed in the tracker only (reimplemented from reco::Muon)
bool isGood (const std::string &name) const
 Muon (const edm::Ptr< reco::Muon > &aMuonRef)
 constructor from a Ptr to a reco muon
 Muon (const reco::Muon &aMuon)
 constructor from a reco muon
 Muon (const edm::RefToBase< reco::Muon > &aMuonRef)
 constructor from a RefToBase to a reco muon (to be superseded by Ptr counterpart)
 Muon ()
 default constructor
bool muonID (const std::string &name) const
double normChi2 () const
 Norm chi2 gives the normalized chi2 of the global track.
size_t numberOfSourceCandidatePtrs () const
 get the number of non-null PF candidates
unsigned int numberOfValidHits () const
 numberOfValidHits returns the number of valid hits on the global track.
reco::TrackRef outerTrack () const
 reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon)
reco::PFCandidateRef pfCandidateRef () const
 reference to the source IsolatedPFCandidates
reco::TrackRef pickyMuon () const
 reference to Track reconstructed using hits in the tracker + "good" muon hits
double segmentCompatibility (reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration) const
 Returns the segment compatibility, using muon::segmentCompatibility (DataFormats/MuonReco/interface/MuonSelectors.h)
void setDB (double dB, double edB, IpType type=None)
void setNormChi2 (double normChi2)
void setNumberOfValidHits (unsigned int numberOfValidHits)
void setPFCandidateRef (const reco::PFCandidateRef &ref)
 add a reference to the source IsolatedPFCandidate
void setPickyMuon (const reco::TrackRef &t)
void setTpfmsMuon (const reco::TrackRef &t)
reco::CandidatePtr sourceCandidatePtr (size_type i) const
 get the candidate pointer with index i
reco::TrackRef standAloneMuon () const
 reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon)
reco::MuonMETCorrectionData tcMETMuonCorrs () const
 muon MET corrections for tcMET; returns the muon correction struct if embedded during pat tuple production or an empty element
reco::TrackRef tpfmsMuon () const
 reference to Track reconstructed using hits in the tracker + info from the first muon station that has hits
reco::TrackRef track () const
 reference to Track reconstructed in the tracker only (reimplemented from reco::Muon)
float trackIso () const
virtual ~Muon ()
 destructor

Protected Attributes

bool cachedDB_
 has the normalized chi2 been cached?
std::vector< bool > cachedIP_
bool cachedNormChi2_
bool cachedNumberOfValidHits_
 has the dB been cached?
std::vector
< reco::MuonMETCorrectionData
caloMETMuonCorrs_
std::vector< reco::TrackcombinedMuon_
double dB_
 globalTrack->chi2() / globalTrack->ndof()
double edB_
 dB and edB are the impact parameter at the primary vertex,
std::vector< double > eip_
bool embeddedCaloMETMuonCorrs_
 muon MET corrections for caloMET
bool embeddedCombinedMuon_
 track of combined fit
bool embeddedPFCandidate_
 true if the IsolatedPFCandidate is embedded
bool embeddedPickyMuon_
bool embeddedStandAloneMuon_
 track of muon system
bool embeddedTCMETMuonCorrs_
 muon MET corrections for tcMET
bool embeddedTpfmsMuon_
bool embeddedTrack_
 tracker of inner track detector
std::vector< double > ip_
double normChi2_
 has the numberOfValidHits been cached?
unsigned int numberOfValidHits_
reco::PFCandidateCollection pfCandidate_
reco::PFCandidateRef pfCandidateRef_
std::vector< reco::TrackpickyMuon_
reco::TrackRef pickyMuonRef_
std::vector< reco::TrackstandAloneMuon_
std::vector
< reco::MuonMETCorrectionData
tcMETMuonCorrs_
std::vector< reco::TracktpfmsMuon_
reco::TrackRef tpfmsMuonRef_
std::vector< reco::Tracktrack_

Friends

std::ostream & reco::operator<< (std::ostream &out, const Muon &obj)
 pipe operator (introduced to use pat::Muon with PFTopProjectors)

Detailed Description

Analysis-level muon class.

pat::Muon implements the analysis-level muon class within the 'pat' namespace.

Please post comments and questions to the Physics Tools hypernews: https://hypernews.cern.ch/HyperNews/CMS/get/physTools.html

Author:
Steven Lowette, Giovanni Petrucciani, Frederic Ronga, Colin Bernet
Version:
Id:
Muon.h,v 1.36 2011/06/08 20:40:18 rwolf Exp

Definition at line 51 of file Muon.h.


Member Typedef Documentation

Muon High Level Selection The user can choose to cache this info so they can drop the global tracks. If the global track is present these should not be set, but the "getters" will return the appropriate value. The exception is dB which requires the beamline


Member Enumeration Documentation

Muon High Level Selection The user can choose to cache this info so they can drop the global tracks. If the global track is present these should not be set, but the "getters" will return the appropriate value. The exception is dB which requires the beamline

Enumerator:
None 
PV2D 
PV3D 
BS2D 
BS3D 

Definition at line 181 of file Muon.h.

          {
            None = 0, PV2D = 1, PV3D = 2, BS2D = 3, BS3D = 4
          } IpType; 

Constructor & Destructor Documentation

Muon::Muon ( )
Muon::Muon ( const reco::Muon aMuon)
Muon::Muon ( const edm::RefToBase< reco::Muon > &  aMuonRef)

constructor from a RefToBase to a reco muon (to be superseded by Ptr counterpart)

constructor from ref to reco::Muon

Definition at line 65 of file Muon.cc.

References initImpactParameters().

Muon::Muon ( const edm::Ptr< reco::Muon > &  aMuonRef)

constructor from a Ptr to a reco muon

constructor from ref to reco::Muon

Definition at line 90 of file Muon.cc.

References initImpactParameters().

Muon::~Muon ( ) [virtual]

destructor

Definition at line 115 of file Muon.cc.

            {
}

Member Function Documentation

float pat::Muon::caloIso ( ) const [inline]

Overload of pat::Lepton::trackIso(); returns the sum of ecalIso() and hcalIso

Reimplemented from pat::Lepton< reco::Muon >.

Definition at line 153 of file Muon.h.

References ecalIso(), and hcalIso().

{ return ecalIso()+hcalIso(); }
reco::MuonMETCorrectionData pat::Muon::caloMETMuonCorrs ( ) const [inline]

muon MET corrections for caloMET; returns the muon correction struct if embedded during pat tuple production or an empty element

Definition at line 92 of file Muon.h.

References caloMETMuonCorrs_, and embeddedCaloMETMuonCorrs_.

virtual Muon* pat::Muon::clone ( void  ) const [inline, virtual]

required reimplementation of the Candidate's clone method

Reimplemented from pat::Lepton< reco::Muon >.

Definition at line 67 of file Muon.h.

References Muon().

{ return new Muon(*this); }
reco::TrackRef Muon::combinedMuon ( ) const [virtual]

reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon)

Reimplemented from reco::Muon.

Definition at line 166 of file Muon.cc.

References combinedMuon_, embeddedCombinedMuon_, and globalTrack().

Referenced by globalTrack().

                                      {
  if (embeddedCombinedMuon_) {
    return reco::TrackRef(&combinedMuon_, 0);
  } else {
    return reco::Muon::globalTrack();
  }
}
double Muon::dB ( IpType  type = None) const
float pat::Muon::ecalIso ( ) const [inline]
double Muon::edB ( IpType  type = None) const

Definition at line 341 of file Muon.cc.

References cachedDB_, cachedIP_, edB_, eip_, max(), None, and reco::Muon::type_.

Referenced by MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), MuonVPlusJetsIDSelectionFunctor::firstDataCuts(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), setDB(), and MuonVPlusJetsIDSelectionFunctor::spring10Cuts().

                                   {

  // preserve old functionality exactly
  if (type_ == None){
    if ( cachedDB_ ) {
      return edB_;
    }
    else {
      return std::numeric_limits<double>::max();
    }
  }

  // more IP types (new)
  else if ( cachedIP_[type_] ) {
    return eip_[type_];
  } else {
    return std::numeric_limits<double>::max();
  }
}
void Muon::embedCaloMETMuonCorrs ( const reco::MuonMETCorrectionData t)

embed the MuonMETCorrectionData for muon corrected caloMET

Definition at line 240 of file Muon.cc.

References caloMETMuonCorrs_, and embeddedCaloMETMuonCorrs_.

Referenced by pat::PATMuonProducer::produce().

void Muon::embedCombinedMuon ( )

set reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon)

embed the Track reconstructed in both tracked and muon detector

Definition at line 231 of file Muon.cc.

References combinedMuon_, embeddedCombinedMuon_, and reco::Muon::globalTrack().

Referenced by pat::PATMuonProducer::fillMuon().

                             {
  combinedMuon_.clear();
  if (reco::Muon::globalTrack().isNonnull()) {
      combinedMuon_.push_back(*reco::Muon::globalTrack());
      embeddedCombinedMuon_ = true;
  }
}
void Muon::embedPFCandidate ( )

embed the IsolatedPFCandidate pointed to by pfCandidateRef_

Definition at line 272 of file Muon.cc.

References embeddedPFCandidate_, edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), pfCandidate_, and pfCandidateRef_.

Referenced by pat::PATMuonProducer::produce().

void Muon::embedPickyMuon ( )

embed reference to the above picky Track

embed the picky Track

Definition at line 254 of file Muon.cc.

References embeddedPickyMuon_, edm::Ref< C, T, F >::isNonnull(), pickyMuon_, and pickyMuonRef_.

Referenced by pat::PATMuonProducer::produce().

                          {
  pickyMuon_.clear();
  if (pickyMuonRef_.isNonnull()) {
      pickyMuon_.push_back(*pickyMuonRef_);
      embeddedPickyMuon_ = true;
  }
}
void Muon::embedStandAloneMuon ( )

set reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon)

embed the Track reconstructed in the muon detector only

Definition at line 221 of file Muon.cc.

References embeddedStandAloneMuon_, reco::Muon::outerTrack(), and standAloneMuon_.

Referenced by pat::PATMuonProducer::fillMuon().

                               {
  standAloneMuon_.clear();
  if (reco::Muon::outerTrack().isNonnull()) {
      standAloneMuon_.push_back(*reco::Muon::outerTrack());
      embeddedStandAloneMuon_ = true;
  }
}
void Muon::embedTcMETMuonCorrs ( const reco::MuonMETCorrectionData t)

embed the MuonMETCorrectionData for tcMET

Definition at line 247 of file Muon.cc.

References embeddedTCMETMuonCorrs_, and tcMETMuonCorrs_.

Referenced by pat::PATMuonProducer::produce().

                                                                 {
  tcMETMuonCorrs_.clear();
  tcMETMuonCorrs_.push_back(t);
  embeddedTCMETMuonCorrs_ = true;
}
void Muon::embedTpfmsMuon ( )

embed reference to the above tpfms Track

embed the tpfms Track

Definition at line 263 of file Muon.cc.

References embeddedTpfmsMuon_, edm::Ref< C, T, F >::isNonnull(), tpfmsMuon_, and tpfmsMuonRef_.

Referenced by pat::PATMuonProducer::produce().

                          {
  tpfmsMuon_.clear();
  if (tpfmsMuonRef_.isNonnull()) {
      tpfmsMuon_.push_back(*tpfmsMuonRef_);
      embeddedTpfmsMuon_ = true;
  }
}
void Muon::embedTrack ( )

set reference to Track reconstructed in the tracker only (reimplemented from reco::Muon)

embed the Track reconstructed in the tracker only

Definition at line 211 of file Muon.cc.

References embeddedTrack_, reco::Muon::innerTrack(), and track_.

Referenced by pat::PATMuonProducer::fillMuon().

                      {
  track_.clear();
  if (reco::Muon::innerTrack().isNonnull()) {
      track_.push_back(*reco::Muon::innerTrack());
      embeddedTrack_ = true;
  }
}
reco::TrackRef pat::Muon::globalTrack ( ) const [inline, virtual]
float pat::Muon::hcalIso ( ) const [inline]
void Muon::initImpactParameters ( void  )

Definition at line 136 of file Muon.cc.

References cachedIP_, eip_, and ip_.

Referenced by Muon().

                                {
  for (int i_ = 0; i_<5; ++i_){
    ip_.push_back(0.0);
    eip_.push_back(0.0);
    cachedIP_.push_back(false);
  }
}
reco::TrackRef pat::Muon::innerTrack ( ) const [inline, virtual]
bool pat::Muon::isGood ( const std::string &  name) const [inline]

wrapper for the muonID method to maintain backwards compatibility with when the reco::Muon::isGood method existed

Definition at line 134 of file Muon.h.

References muonID().

{ return muonID(name); }
bool Muon::muonID ( const std::string &  name) const

accessor for the various muon id algorithms currently defined in DataFormats/MuonReco/interface/MuonSelectors.h e.g. bool result = patmuon.muonID("TMLastStationLoose")

Definition at line 280 of file Muon.cc.

References muon::isGoodMuon(), and muon::selectionTypeFromString().

Referenced by isGood(), MuScleFit::selGlobalMuon(), MuScleFitMuonSelector::selGlobalMuon(), MuScleFitMuonSelector::selTrackerMuon(), and MuScleFit::selTrackerMuon().

double Muon::normChi2 ( ) const

Norm chi2 gives the normalized chi2 of the global track.

Norm chi2 gives the normalized chi2 of the global track. The user can choose to cache this info so they can drop the global track, or they can use the track itself if it is present in the event.

Definition at line 290 of file Muon.cc.

References cachedNormChi2_, globalTrack(), normChi2_, and matplotRender::t.

Referenced by GlbMuQualityCutsAnalysis::analyze(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), MuonVPlusJetsIDSelectionFunctor::firstDataCuts(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), ZToLLEdmNtupleDumper::produce(), setNormChi2(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), PFMuonSelector::spring11Cuts(), and MuonVPlusJetsIDSelectionFunctor::summer08Cuts().

                            {
  if ( cachedNormChi2_ ) {
    return normChi2_;
  } else {
    reco::TrackRef t = globalTrack();
    return t->chi2() / t->ndof();
  }
}
size_t pat::Muon::numberOfSourceCandidatePtrs ( ) const [inline, virtual]

get the number of non-null PF candidates

Reimplemented from reco::LeafCandidate.

Definition at line 121 of file Muon.h.

References edm::Ref< C, T, F >::isNonnull(), and pfCandidateRef_.

                                                 { 
        return pfCandidateRef_.isNonnull() ? 1 : 0;
      }
unsigned int Muon::numberOfValidHits ( ) const

numberOfValidHits returns the number of valid hits on the global track.

numberOfValidHits returns the number of valid hits on the global track. The user can choose to cache this info so they can drop the global track, or they can use the track itself if it is present in the event.

Definition at line 303 of file Muon.cc.

References cachedNumberOfValidHits_, innerTrack(), numberOfValidHits_, and matplotRender::t.

Referenced by GlbMuQualityCutsAnalysis::analyze(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), MuonVPlusJetsIDSelectionFunctor::firstDataCuts(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), ZToLLEdmNtupleDumper::produce(), setNumberOfValidHits(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), PFMuonSelector::spring11Cuts(), and MuonVPlusJetsIDSelectionFunctor::summer08Cuts().

                                           {
  if ( cachedNumberOfValidHits_ ) {
    return numberOfValidHits_;
  } else {
    reco::TrackRef t = innerTrack();
    return t->numberOfValidHits();
  }
}
reco::TrackRef pat::Muon::outerTrack ( ) const [inline, virtual]

reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon)

Reimplemented from reco::Muon.

Definition at line 78 of file Muon.h.

References standAloneMuon().

Referenced by GlbMuQualityCutsAnalysis::analyze(), ZToLLEdmNtupleDumper::produce(), ZMuMuMuonUserData::produce(), and standAloneMuon().

{ return standAloneMuon(); }
reco::PFCandidateRef Muon::pfCandidateRef ( ) const

reference to the source IsolatedPFCandidates

reference to the source IsolatedPFCandidates null if this has been built from a standard muon

Definition at line 193 of file Muon.cc.

References embeddedPFCandidate_, pfCandidate_, and pfCandidateRef_.

Referenced by pat::PATMuonProducer::fillMuon(), and pat::PATMuonProducer::produce().

                                              {
  if (embeddedPFCandidate_) {
    return reco::PFCandidateRef(&pfCandidate_, 0);
  } else {
    return pfCandidateRef_;
  }
}
reco::TrackRef Muon::pickyMuon ( ) const

reference to Track reconstructed using hits in the tracker + "good" muon hits

Definition at line 175 of file Muon.cc.

References embeddedPickyMuon_, pickyMuon_, and pickyMuonRef_.

                                   {
  if (embeddedPickyMuon_) {
    return reco::TrackRef(&pickyMuon_, 0);
  } else {
    return pickyMuonRef_;
  }
}
double Muon::segmentCompatibility ( reco::Muon::ArbitrationType  arbitrationType = reco::Muon::SegmentAndTrackArbitration) const

Returns the segment compatibility, using muon::segmentCompatibility (DataFormats/MuonReco/interface/MuonSelectors.h)

Definition at line 362 of file Muon.cc.

                                                                               {
   return muon::segmentCompatibility(*this, arbitrationType);
}
void pat::Muon::setDB ( double  dB,
double  edB,
IpType  type = None 
) [inline]

Definition at line 188 of file Muon.h.

References cachedDB_, cachedIP_, dB(), dB_, edB(), edB_, eip_, ip_, None, and reco::Muon::type().

Referenced by pat::PATMuonProducer::embedHighLevel(), and pat::PATMuonProducer::produce().

                                                                   { 
          if (type == None) {
            dB_ = dB; edB_ = edB; 
            cachedDB_ = true;
          }
          ip_[type] = dB; eip_[type] = edB; cachedIP_[type] = true;
        }
void pat::Muon::setNormChi2 ( double  normChi2) [inline]

Definition at line 203 of file Muon.h.

References cachedNormChi2_, normChi2(), and normChi2_.

Referenced by pat::PATMuonProducer::produce().

void pat::Muon::setNumberOfValidHits ( unsigned int  numberOfValidHits) [inline]
void pat::Muon::setPFCandidateRef ( const reco::PFCandidateRef ref) [inline]

add a reference to the source IsolatedPFCandidate

Definition at line 115 of file Muon.h.

References pfCandidateRef_.

Referenced by pat::PATMuonProducer::produce().

                                                            {
        pfCandidateRef_ = ref;
      } 
void pat::Muon::setPickyMuon ( const reco::TrackRef t) [inline]

Definition at line 101 of file Muon.h.

References pickyMuonRef_, and matplotRender::t.

Referenced by pat::PATMuonProducer::produce().

void pat::Muon::setTpfmsMuon ( const reco::TrackRef t) [inline]

Definition at line 104 of file Muon.h.

References matplotRender::t, and tpfmsMuonRef_.

Referenced by pat::PATMuonProducer::produce().

reco::CandidatePtr Muon::sourceCandidatePtr ( size_type  i) const [virtual]

get the candidate pointer with index i

reference to the parent PF candidate for use in TopProjector

Reimplemented from reco::LeafCandidate.

Definition at line 202 of file Muon.cc.

References embeddedPFCandidate_, edm::Ref< C, T, F >::get(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), and pfCandidateRef_.

reco::TrackRef Muon::standAloneMuon ( ) const [virtual]

reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon)

Reimplemented from reco::Muon.

Definition at line 156 of file Muon.cc.

References embeddedStandAloneMuon_, outerTrack(), and standAloneMuon_.

Referenced by outerTrack().

                                        {
  if (embeddedStandAloneMuon_) {
    return reco::TrackRef(&standAloneMuon_, 0);
  } else {
    return reco::Muon::outerTrack();
  }
}
reco::MuonMETCorrectionData pat::Muon::tcMETMuonCorrs ( ) const [inline]

muon MET corrections for tcMET; returns the muon correction struct if embedded during pat tuple production or an empty element

Definition at line 95 of file Muon.h.

References embeddedTCMETMuonCorrs_, and tcMETMuonCorrs_.

reco::TrackRef Muon::tpfmsMuon ( ) const

reference to Track reconstructed using hits in the tracker + info from the first muon station that has hits

Definition at line 184 of file Muon.cc.

References embeddedTpfmsMuon_, tpfmsMuon_, and tpfmsMuonRef_.

                                   {
  if (embeddedTpfmsMuon_) {
    return reco::TrackRef(&tpfmsMuon_, 0);
  } else {
    return tpfmsMuonRef_;
  }
}
reco::TrackRef Muon::track ( void  ) const [virtual]

reference to Track reconstructed in the tracker only (reimplemented from reco::Muon)

Reimplemented from reco::Muon.

Definition at line 146 of file Muon.cc.

References embeddedTrack_, innerTrack(), and track_.

Referenced by ZMuMu_vtxAnalyzer::analyze(), GenPurposeSkimmerData::analyze(), pat::CaloIsolationEnergy::calculate(), pat::LeptonVertexSignificance::calculate(), pat::TrackerIsolationPt::calculate(), and innerTrack().

                               {
  if (embeddedTrack_) {
    return reco::TrackRef(&track_, 0);
  } else {
    return reco::Muon::innerTrack();
  }
}
float pat::Muon::trackIso ( ) const [inline]

if muon id results are ever extracted from muon id value maps then the isMuonIDAvailable method will be defined Overload of pat::Lepton::trackIso(); returns the value of the summed track pt in a cone of deltaR<0.3

Reimplemented from pat::Lepton< reco::Muon >.

Definition at line 142 of file Muon.h.

References reco::Muon::isolationR03().

Referenced by DimuonStatistics::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), GlbMuQualityCutsAnalysis::analyze(), ZMuMu_vtxAnalyzer::analyze(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), MuonVPlusJetsIDSelectionFunctor::firstDataCuts(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), and MuonVPlusJetsIDSelectionFunctor::summer08Cuts().

{ return isolationR03().sumPt; }

Friends And Related Function Documentation

std::ostream& reco::operator<< ( std::ostream &  out,
const Muon obj 
) [friend]

pipe operator (introduced to use pat::Muon with PFTopProjectors)


Member Data Documentation

bool pat::Muon::cachedDB_ [protected]

has the normalized chi2 been cached?

Definition at line 254 of file Muon.h.

Referenced by dB(), edB(), and setDB().

std::vector<bool> pat::Muon::cachedIP_ [protected]

Definition at line 262 of file Muon.h.

Referenced by dB(), edB(), initImpactParameters(), and setDB().

bool pat::Muon::cachedNormChi2_ [protected]

Definition at line 253 of file Muon.h.

Referenced by normChi2(), and setNormChi2().

has the dB been cached?

Definition at line 256 of file Muon.h.

Referenced by numberOfValidHits(), and setNumberOfValidHits().

Definition at line 230 of file Muon.h.

Referenced by caloMETMuonCorrs(), and embedCaloMETMuonCorrs().

std::vector<reco::Track> pat::Muon::combinedMuon_ [protected]

Definition at line 223 of file Muon.h.

Referenced by combinedMuon(), and embedCombinedMuon().

double pat::Muon::dB_ [protected]

globalTrack->chi2() / globalTrack->ndof()

Definition at line 258 of file Muon.h.

Referenced by dB(), and setDB().

double pat::Muon::edB_ [protected]

dB and edB are the impact parameter at the primary vertex,

Definition at line 259 of file Muon.h.

Referenced by edB(), and setDB().

std::vector<double> pat::Muon::eip_ [protected]

Definition at line 264 of file Muon.h.

Referenced by edB(), initImpactParameters(), and setDB().

muon MET corrections for caloMET

Definition at line 229 of file Muon.h.

Referenced by caloMETMuonCorrs(), and embedCaloMETMuonCorrs().

track of combined fit

Definition at line 222 of file Muon.h.

Referenced by combinedMuon(), and embedCombinedMuon().

true if the IsolatedPFCandidate is embedded

Definition at line 244 of file Muon.h.

Referenced by embedPFCandidate(), pfCandidateRef(), and sourceCandidatePtr().

Definition at line 235 of file Muon.h.

Referenced by embedPickyMuon(), and pickyMuon().

track of muon system

Definition at line 219 of file Muon.h.

Referenced by embedStandAloneMuon(), and standAloneMuon().

muon MET corrections for tcMET

Definition at line 226 of file Muon.h.

Referenced by embedTcMETMuonCorrs(), and tcMETMuonCorrs().

Definition at line 236 of file Muon.h.

Referenced by embedTpfmsMuon(), and tpfmsMuon().

bool pat::Muon::embeddedTrack_ [protected]

tracker of inner track detector

Definition at line 216 of file Muon.h.

Referenced by embedTrack(), and track().

std::vector<double> pat::Muon::ip_ [protected]

Definition at line 263 of file Muon.h.

Referenced by dB(), initImpactParameters(), and setDB().

double pat::Muon::normChi2_ [protected]

has the numberOfValidHits been cached?

Definition at line 257 of file Muon.h.

Referenced by normChi2(), and setNormChi2().

unsigned int pat::Muon::numberOfValidHits_ [protected]

Definition at line 266 of file Muon.h.

Referenced by numberOfValidHits(), and setNumberOfValidHits().

if embeddedPFCandidate_, a copy of the source IsolatedPFCandidate is stored in this vector

Definition at line 247 of file Muon.h.

Referenced by embedPFCandidate(), and pfCandidateRef().

reference to the IsolatedPFCandidate this has been built from null if this has been built from a standard muon

Definition at line 250 of file Muon.h.

Referenced by embedPFCandidate(), numberOfSourceCandidatePtrs(), pfCandidateRef(), setPFCandidateRef(), and sourceCandidatePtr().

std::vector<reco::Track> pat::Muon::pickyMuon_ [protected]

Definition at line 239 of file Muon.h.

Referenced by embedPickyMuon(), and pickyMuon().

Definition at line 237 of file Muon.h.

Referenced by embedPickyMuon(), pickyMuon(), and setPickyMuon().

std::vector<reco::Track> pat::Muon::standAloneMuon_ [protected]

Definition at line 220 of file Muon.h.

Referenced by embedStandAloneMuon(), and standAloneMuon().

Definition at line 227 of file Muon.h.

Referenced by embedTcMETMuonCorrs(), and tcMETMuonCorrs().

std::vector<reco::Track> pat::Muon::tpfmsMuon_ [protected]

Definition at line 240 of file Muon.h.

Referenced by embedTpfmsMuon(), and tpfmsMuon().

Definition at line 238 of file Muon.h.

Referenced by embedTpfmsMuon(), setTpfmsMuon(), and tpfmsMuon().

std::vector<reco::Track> pat::Muon::track_ [protected]

Definition at line 217 of file Muon.h.

Referenced by embedTrack(), and track().