test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
reco::Muon Class Reference

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

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

Public Types

enum  ArbitrationType {
  NoArbitration, SegmentArbitration, SegmentAndTrackArbitration, SegmentAndTrackArbitrationCleaned,
  RPCHitAndTrackArbitration
}
 define arbitration schemes More...
 
typedef std::map
< MuonTrackType,
reco::TrackRef
MuonTrackRefMap
 
enum  MuonTrackType {
  None, InnerTrack, OuterTrack, CombinedTrack,
  TPFMS, Picky, DYT
}
 map for Global Muon refitters More...
 
typedef std::pair< TrackRef,
Muon::MuonTrackType
MuonTrackTypePair
 
- Public Types inherited from reco::RecoCandidate
enum  TrackType { noTrackType, recoTrackType, gsfTrackType }
 track type More...
 
- Public Types inherited from reco::LeafCandidate
typedef int Charge
 electric charge type More...
 
typedef CandidateCollection daughters
 collection of daughter candidates More...
 
typedef unsigned int index
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef
math::PtEtaPhiMLorentzVector 
PolarLorentzVector
 Lorentz vector. More...
 
typedef math::XYZVector Vector
 point in the space More...
 
- Public Types inherited from reco::Candidate
enum  { dimension = 3 }
 
enum  { size = dimension * (dimension + 1)/2 }
 matix size More...
 
typedef int Charge
 electric charge type More...
 
typedef candidate::const_iterator const_iterator
 
typedef math::Error< dimension >
::type 
CovarianceMatrix
 covariance error matrix (3x3) More...
 
typedef unsigned int index
 index type More...
 
typedef candidate::iterator iterator
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef
math::PtEtaPhiMLorentzVector 
PolarLorentzVector
 Lorentz vector. More...
 
typedef size_t size_type
 
typedef math::XYZVector Vector
 point in the space More...
 

Public Member Functions

virtual const TrackbestTrack () const
 best track pointer More...
 
virtual TrackBaseRef bestTrackRef () const
 best track RefToBase More...
 
MuonEnergy calEnergy () const
 get energy deposition information More...
 
float caloCompatibility () const
 
Muonclone () const
 create a clone More...
 
virtual TrackRef combinedMuon () const
 reference to a stand-alone muon Track More...
 
MuonQuality combinedQuality () const
 get energy deposition information More...
 
float dDxDz (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float dDyDz (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float dX (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float dY (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
virtual TrackRef dytTrack () const
 
virtual TrackRef globalTrack () const
 reference to Track reconstructed in both tracked and muon detector More...
 
virtual TrackRef innerTrack () const
 
bool isAValidMuonTrack (const MuonTrackType &type) const
 
bool isCaloCompatibilityValid () const
 
bool isCaloMuon () const
 
bool isEnergyValid () const
 
bool isGlobalMuon () const
 
bool isIsolationValid () const
 
bool isMatchesValid () const
 
bool isMuon () const
 
const MuonIsolationisolationR03 () const
 
const MuonIsolationisolationR05 () const
 
bool isPFIsolationValid () const
 
bool isPFMuon () const
 
bool isQualityValid () const
 
bool isRPCMuon () const
 
bool isStandAloneMuon () const
 
bool isTimeValid () const
 
bool isTrackerMuon () const
 
std::vector< MuonChamberMatch > & matches ()
 get muon matching information More...
 
const std::vector
< MuonChamberMatch > & 
matches () const
 
 Muon ()
 
 Muon (Charge, const LorentzVector &, const Point &=Point(0, 0, 0))
 constructor from values More...
 
virtual TrackRef muonBestTrack () const
 
virtual MuonTrackType muonBestTrackType () const
 
TrackRef muonTrack (const MuonTrackType &) const
 
TrackRef muonTrackFromMap (const MuonTrackType &type) const
 
int numberOfChambers () const
 
int numberOfChambersNoRPC () const
 number of chambers not including RPC matches (MuonChamberMatches include RPC rolls) More...
 
int numberOfMatchedRPCLayers (ArbitrationType type=RPCHitAndTrackArbitration) const
 
int numberOfMatchedStations (ArbitrationType type=SegmentAndTrackArbitration) const
 
int numberOfMatches (ArbitrationType type=SegmentAndTrackArbitration) const
 get number of chambers with matched segments More...
 
int numberOfSegments (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 get number of segments More...
 
virtual TrackRef outerTrack () const
 reference to Track reconstructed in the muon detector only More...
 
const MuonPFIsolationpfIsolationR03 () const
 
const MuonPFIsolationpfIsolationR04 () const
 
const MuonPFIsolationpfMeanDRIsoProfileR03 () const
 
const MuonPFIsolationpfMeanDRIsoProfileR04 () const
 
reco::Candidate::LorentzVector pfP4 () const
 
const MuonPFIsolationpfSumDRIsoProfileR03 () const
 
const MuonPFIsolationpfSumDRIsoProfileR04 () const
 
virtual TrackRef pickyTrack () const
 
float pullDxDz (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration, bool includeSegmentError=true) const
 
float pullDyDz (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration, bool includeSegmentError=true) const
 
float pullX (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration, bool includeSegmentError=true) const
 
float pullY (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration, bool includeSegmentError=true) const
 
unsigned int RPClayerMask (ArbitrationType type=RPCHitAndTrackArbitration) const
 
MuonTime rpcTime () const
 get RPC timing information More...
 
float segmentDxDz (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float segmentDxDzErr (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float segmentDyDz (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float segmentDyDzErr (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float segmentX (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float segmentXErr (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float segmentY (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float segmentYErr (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
virtual void setBestTrack (MuonTrackType muonType)
 
void setCalEnergy (const MuonEnergy &calEnergy)
 set energy deposition information More...
 
void setCaloCompatibility (float input)
 
virtual void setCombined (const TrackRef &t)
 
void setCombinedQuality (const MuonQuality &combinedQuality)
 set energy deposition information More...
 
virtual void setGlobalTrack (const TrackRef &t)
 set reference to Track More...
 
virtual void setInnerTrack (const TrackRef &t)
 set reference to Track More...
 
void setIsolation (const MuonIsolation &isoR03, const MuonIsolation &isoR05)
 
void setMatches (const std::vector< MuonChamberMatch > &matches)
 set muon matching information More...
 
void setMuonTrack (const MuonTrackType &, const TrackRef &)
 
virtual void setOuterTrack (const TrackRef &t)
 set reference to Track More...
 
void setPFIsolation (const std::string &label, const reco::MuonPFIsolation &deposit)
 
virtual void setPFP4 (const reco::Candidate::LorentzVector &p4_)
 
void setRPCTime (const MuonTime &time)
 set RPC timing information More...
 
virtual void setStandAlone (const TrackRef &t)
 
void setTime (const MuonTime &time)
 set DT/CSC combined timing information More...
 
virtual void setTrack (const TrackRef &t)
 
virtual void setTunePBestTrack (MuonTrackType muonType)
 
void setType (unsigned int type)
 
virtual TrackRef standAloneMuon () const
 reference to a stand-alone muon Track More...
 
unsigned int stationGapMaskDistance (float distanceCut=10.) const
 
unsigned int stationGapMaskPull (float sigmaCut=3.) const
 same as above for given number of sigmas More...
 
unsigned int stationMask (ArbitrationType type=SegmentAndTrackArbitration) const
 
float t0 (int n=0)
 
MuonTime time () const
 get DT/CSC combined timing information More...
 
virtual TrackRef tpfmsTrack () const
 
virtual TrackRef track () const
 reference to a Track More...
 
float trackDist (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackDistErr (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackDxDz (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackDxDzErr (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackDyDz (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackDyDzErr (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackEdgeX (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackEdgeY (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackX (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackXErr (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackY (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
float trackYErr (int station, int muonSubdetId, ArbitrationType type=SegmentAndTrackArbitration) const
 
virtual TrackRef tunePMuonBestTrack () const
 
virtual MuonTrackType tunePMuonBestTrackType () const
 
unsigned int type () const
 
- Public Member Functions inherited from reco::RecoCandidate
virtual TrackType bestTrackType () const
 track type More...
 
virtual CaloTowerRef caloTower () const
 reference to a CaloTower More...
 
virtual float dxyError () const
 uncertainty on dxy More...
 
virtual float dzError () const
 uncertainty on dz More...
 
virtual reco::GsfTrackRef gsfTrack () const
 reference to a GsfTrack More...
 
virtual size_t numberOfTracks () const
 number of multiple Tracks More...
 
 RecoCandidate ()
 default constructor More...
 
template<typename P4 >
 RecoCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
 constructor from values More...
 
virtual reco::SuperClusterRef superCluster () const
 reference to a SuperCluster More...
 
virtual reco::TrackRef track (size_t) const
 reference to one of multiple Tracks More...
 
virtual ~RecoCandidate ()
 destructor More...
 
- Public Member Functions inherited from reco::LeafCandidate
virtual Vector boostToCM () const final
 
virtual int charge () const final
 electric charge More...
 
void construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
 
virtual const Candidatedaughter (size_type) const
 return daughter at a given position (throws an exception) More...
 
virtual Candidatedaughter (size_type)
 return daughter at a given position (throws an exception) More...
 
virtual Candidatedaughter (const std::string &s)
 return daughter with a specified role name More...
 
virtual const Candidatedaughter (const std::string &s) const
 return daughter with a specified role name More...
 
virtual double energy () const final
 energy More...
 
virtual double et () const final
 transverse energy More...
 
virtual double et2 () const final
 transverse energy squared (use this for cut!) More...
 
virtual double eta () const final
 momentum pseudorapidity More...
 
virtual void fillVertexCovariance (CovarianceMatrix &v) const
 fill SMatrix More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
virtual bool hasMasterClone () const
 
virtual bool hasMasterClonePtr () const
 
virtual bool isConvertedPhoton () const
 
virtual bool isElectron () const
 
virtual bool isJet () const
 
virtual bool isPhoton () const
 
 LeafCandidate ()
 
 LeafCandidate (const Candidate &c)
 
template<typename... Args>
 LeafCandidate (Args &&...args)
 
 LeafCandidate (LeafCandidate &rh)
 
 LeafCandidate (LeafCandidate &&)=default
 
 LeafCandidate (LeafCandidate const &)=default
 
virtual bool longLived () const final
 is long lived? More...
 
virtual double mass () const final
 mass More...
 
virtual bool massConstraint () const final
 do mass constraint? More...
 
virtual double massSqr () const final
 mass squared More...
 
virtual const CandidateBaseRefmasterClone () const
 
virtual const CandidatePtrmasterClonePtr () const
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
virtual Vector momentum () const final
 spatial momentum vector More...
 
virtual const Candidatemother (size_type) const
 return mother at a given position (throws an exception) More...
 
virtual double mt () const final
 transverse mass More...
 
virtual double mtSqr () const final
 transverse mass squared More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
virtual size_t numberOfDaughters () const
 number of daughters More...
 
virtual size_t numberOfMothers () const
 number of mothers More...
 
virtual size_t numberOfSourceCandidatePtrs () const
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
virtual double p () const final
 magnitude of momentum vector More...
 
virtual const LorentzVectorp4 () const final
 four-momentum Lorentz vector More...
 
virtual int pdgId () const final
 PDG identifier. More...
 
virtual double phi () const final
 momentum azimuthal angle More...
 
virtual const PolarLorentzVectorpolarP4 () const final
 four-momentum Lorentz vector More...
 
virtual double pt () const final
 transverse momentum More...
 
virtual double px () const final
 x coordinate of momentum vector More...
 
virtual double py () const final
 y coordinate of momentum vector More...
 
virtual double pz () const final
 z coordinate of momentum vector More...
 
virtual double rapidity () const final
 rapidity More...
 
virtual void setCharge (Charge q) final
 set electric charge More...
 
virtual void setLongLived () final
 
virtual void setMass (double m) final
 set particle mass More...
 
virtual void setMassConstraint () final
 
virtual void setP4 (const LorentzVector &p4) final
 set 4-momentum More...
 
virtual void setP4 (const PolarLorentzVector &p4) final
 set 4-momentum More...
 
virtual void setPdgId (int pdgId) final
 
virtual void setPz (double pz) final
 
virtual void setStatus (int status) final
 set status word More...
 
virtual void setThreeCharge (Charge qx3) final
 set electric charge More...
 
virtual void setVertex (const Point &vertex)
 set vertex More...
 
virtual CandidatePtr sourceCandidatePtr (size_type i) const
 
virtual int status () const final
 status word More...
 
virtual double theta () const final
 momentum polar angle More...
 
virtual int threeCharge () const final
 electric charge More...
 
virtual const Pointvertex () const
 vertex position (overwritten by PF...) More...
 
virtual double vertexChi2 () const
 chi-squares More...
 
virtual double vertexCovariance (int i, int j) const
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
CovarianceMatrix vertexCovariance () const final
 return SMatrix More...
 
virtual double vertexNdof () const
 
virtual double vertexNormalizedChi2 () const
 chi-squared divided by n.d.o.f. More...
 
virtual double vx () const
 x coordinate of vertex position More...
 
virtual double vy () const
 y coordinate of vertex position More...
 
virtual double vz () const
 z coordinate of vertex position More...
 
virtual double y () const final
 rapidity More...
 
virtual ~LeafCandidate ()
 destructor More...
 
- Public Member Functions inherited from reco::Candidate
const_iterator begin () const
 first daughter const_iterator More...
 
iterator begin ()
 first daughter iterator More...
 
 Candidate ()
 default constructor More...
 
const_iterator end () const
 last daughter const_iterator More...
 
iterator end ()
 last daughter iterator More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
virtual void setSourceCandidatePtr (const CandidatePtr &ptr)
 Set the ptr to the source Candidate. More...
 
virtual ~Candidate ()
 destructor More...
 

Static Public Attributes

static const unsigned int CaloMuon = 1<<4
 
static const unsigned int GlobalMuon = 1<<1
 
static const unsigned int PFMuon = 1<<5
 
static const unsigned int RPCMuon = 1<<6
 
static const unsigned int StandAloneMuon = 1<<3
 
static const unsigned int TrackerMuon = 1<<2
 

Private Member Functions

const std::vector< const
MuonChamberMatch * > 
chambers (int station, int muonSubdetId) const
 get vector of muon chambers for given station and detector More...
 
virtual bool overlap (const Candidate &) const
 check overlap with another candidate More...
 
std::pair< const
MuonChamberMatch *, const
MuonSegmentMatch * > 
pair (const std::vector< const MuonChamberMatch * > &, ArbitrationType type=SegmentAndTrackArbitration) const
 get pointers to best segment and corresponding chamber in vector of chambers More...
 

Private Attributes

MuonTrackType bestTrackType_
 reference to the Track chosen to assign the momentum value to the muon More...
 
MuonTrackType bestTunePTrackType_
 reference to the Track chosen to assign the momentum value to the muon by PF More...
 
MuonEnergy calEnergy_
 energy deposition More...
 
float caloCompatibility_
 muon hypothesis compatibility with observer calorimeter energy More...
 
MuonQuality combinedQuality_
 quality block More...
 
bool energyValid_
 
TrackRef globalTrack_
 reference to Track reconstructed in both tracked and muon detector More...
 
TrackRef innerTrack_
 reference to Track reconstructed in the tracker only More...
 
MuonIsolation isolationR03_
 Isolation information for two cones with dR=0.3 and dR=0.5. More...
 
MuonIsolation isolationR05_
 
bool isolationValid_
 
bool matchesValid_
 
std::vector< MuonChamberMatchmuMatches_
 Information on matching between tracks and segments. More...
 
TrackRef outerTrack_
 reference to Track reconstructed in the muon detector only More...
 
MuonPFIsolation pfIsolationR03_
 PF Isolation information for two cones with dR=0.3 and dR=0.4. More...
 
MuonPFIsolation pfIsolationR04_
 
bool pfIsolationValid_
 
MuonPFIsolation pfIsoMeanDRR03_
 
MuonPFIsolation pfIsoMeanDRR04_
 
MuonPFIsolation pfIsoSumDRR03_
 
MuonPFIsolation pfIsoSumDRR04_
 
reco::Candidate::LorentzVector pfP4_
 
bool qualityValid_
 
MuonTrackRefMap refittedTrackMap_
 reference to the Global Track refitted with dedicated TeV reconstructors More...
 
MuonTime rpcTime_
 
MuonTime time_
 timing More...
 
unsigned int type_
 muon type mask More...
 

Additional Inherited Members

- Protected Member Functions inherited from reco::RecoCandidate
template<typename R >
bool checkOverlap (const R &r1, const R &r2) const
 check if two components overlap More...
 

Detailed Description

A reconstructed Muon. contains reference to three fits:

Author
Luca Lista, Claudio Campagnari, Dmytro Kovalskyi, Jake Ribnik, Riccardo Bellan, Michalis Bachtis

Definition at line 27 of file Muon.h.

Member Typedef Documentation

Definition at line 39 of file Muon.h.

Definition at line 40 of file Muon.h.

Member Enumeration Documentation

define arbitration schemes

Enumerator
NoArbitration 
SegmentArbitration 
SegmentAndTrackArbitration 
SegmentAndTrackArbitrationCleaned 
RPCHitAndTrackArbitration 

Definition at line 182 of file Muon.h.

map for Global Muon refitters

Enumerator
None 
InnerTrack 
OuterTrack 
CombinedTrack 
TPFMS 
Picky 
DYT 

Definition at line 38 of file Muon.h.

Constructor & Destructor Documentation

reco::Muon::Muon ( )
reco::Muon::Muon ( Charge  ,
const LorentzVector ,
const Point = Point(0, 0, 0) 
)

constructor from values

Member Function Documentation

virtual const Track* reco::Muon::bestTrack ( ) const
inlinevirtual

best track pointer

Reimplemented from reco::RecoCandidate.

Reimplemented in pat::Muon.

Definition at line 61 of file Muon.h.

References bestTrackType_, edm::Ref< C, T, F >::get(), and muonTrack().

Referenced by PileupJetIdAlgo::computeIdVariables(), muon::isHighPtMuon(), and Muon.Muon::ptErr().

61 {return muonTrack(bestTrackType_).get();}
TrackRef muonTrack(const MuonTrackType &) const
MuonTrackType bestTrackType_
reference to the Track chosen to assign the momentum value to the muon
Definition: Muon.h:241
T const * get() const
Returns C++ pointer to the item.
Definition: Ref.h:244
virtual TrackBaseRef reco::Muon::bestTrackRef ( ) const
inlinevirtual

best track RefToBase

Reimplemented from reco::RecoCandidate.

Definition at line 62 of file Muon.h.

References bestTrackType_, and muonTrack().

Referenced by SelectReplacementCandidates::getRawIDsAdvanced().

edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
Definition: TrackFwd.h:32
TrackRef muonTrack(const MuonTrackType &) const
MuonTrackType bestTrackType_
reference to the Track chosen to assign the momentum value to the muon
Definition: Muon.h:241
MuonEnergy reco::Muon::calEnergy ( ) const
inline
float reco::Muon::caloCompatibility ( ) const
inline

====================== MUON COMPATIBILITY BLOCK ===========================

Relative likelihood based on ECAL, HCAL, HO energy defined as L_muon/(L_muon+L_not_muon)

Definition at line 154 of file Muon.h.

References caloCompatibility_.

Referenced by muon::caloCompatibility(), and CaloMuonMerger::produce().

154 { return caloCompatibility_; }
float caloCompatibility_
muon hypothesis compatibility with observer calorimeter energy
Definition: Muon.h:260
const std::vector<const MuonChamberMatch*> reco::Muon::chambers ( int  station,
int  muonSubdetId 
) const
private

get vector of muon chambers for given station and detector

Muon* reco::Muon::clone ( ) const
virtual
virtual TrackRef reco::Muon::combinedMuon ( ) const
inlinevirtual

reference to a stand-alone muon Track

Reimplemented from reco::RecoCandidate.

Reimplemented in pat::Muon.

Definition at line 55 of file Muon.h.

References globalTrack().

Referenced by MuonKinVsEtaAnalyzer::analyze(), AlignmentMuonSelector::basicCuts(), MuonIdProducer::fillGlbQuality(), MuonTimingFiller::fillTiming(), and helper::MuonCollectionStoreManager::processMuon().

55 { return globalTrack(); }
virtual TrackRef globalTrack() const
reference to Track reconstructed in both tracked and muon detector
Definition: Muon.h:54
MuonQuality reco::Muon::combinedQuality ( ) const
inline

get energy deposition information

Definition at line 121 of file Muon.h.

References combinedQuality_.

Referenced by MuonIdProducer::fillGlbQuality(), MuonIdProducer::fillTrackerKink(), muon::isGoodMuon(), muon::isMediumMuon(), isMediumMuonCustom(), and setCombinedQuality().

121 { return combinedQuality_; }
MuonQuality combinedQuality_
quality block
Definition: Muon.h:248
float reco::Muon::dDxDz ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::dDyDz ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::dX ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const

get deltas between (best) segment and track If no chamber or no segment returns 999999

Referenced by muon::isGoodMuon(), and muon::segmentCompatibility().

float reco::Muon::dY ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
virtual TrackRef reco::Muon::dytTrack ( ) const
inlinevirtual

Reimplemented in pat::Muon.

Definition at line 59 of file Muon.h.

References DYT, and muonTrackFromMap().

Referenced by muon::tevOptimized().

59 { return muonTrackFromMap(DYT);}
TrackRef muonTrackFromMap(const MuonTrackType &type) const
Definition: Muon.h:73
virtual TrackRef reco::Muon::globalTrack ( ) const
inlinevirtual
virtual TrackRef reco::Muon::innerTrack ( ) const
inlinevirtual

Reimplemented in pat::Muon.

Definition at line 48 of file Muon.h.

References innerTrack_.

Referenced by EwkMuDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), MuonPFAnalyzer::analyze(), HLTMuonMatchAndPlot::analyze(), MuonCosmicCompatibilityFiller::backToBack2LegCosmic(), ZToMuMuGammaAnalyzer::basicMuonSelection(), FWMuonBuilder::buildMuon(), FWMuonBuilder::calculateField(), MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), cms::MuonMETValueMapProducer::determine_deltax_deltay(), MuonIdProducer::fillTrackerKink(), WMuNuValidator::filter(), LeptonRecoSkim::filter(), MuonMETAlgo::GetMuDepDeltas(), MuonTrackCleanerBase::getMuonMomentum(), cms::MuonTCMETValueMapProducer::isGoodCaloMuon(), muon::isGoodMuon(), cms::MuonTCMETValueMapProducer::isGoodMuon(), cms::MuonTCMETValueMapProducer::isGoodTrack(), muon::isHighPtMuon(), muon::isMediumMuon(), isMediumMuonCustom(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), muon::isSoftMuon(), muon::isTightMuon(), isTightMuonCustom(), Lepton.Lepton::lostInner(), MuonIdProducer::makeCaloMuon(), Muon.Muon::muonID(), MuonResidualsFromTrack::MuonResidualsFromTrack(), MuonIdProducer::phiOfMuonIneteractionRegion(), helper::MuonCollectionStoreManager::processMuon(), MuonWithPFIsoProducerCopy::produce(), MuonWithPFIsoProducer::produce(), UpdatedMuonInnerTrackRef::produce(), SoftPFMuonTagInfoProducer::produce(), Onia2MuMuPAT::produce(), OutsideInMuonSeeder::produce(), cms::MuonTCMETValueMapProducer::produce(), MuonIdProducer::produce(), GlobalMuonTrackCleaner::produceTrackExtras(), cms::MuonTCMETValueMapProducer::propagateTrack(), MuonCosmicCompatibilityFiller::pvMatches(), BPhysicsOniaDQM::selGlobalMuon(), BPhysicsOniaDQM::selTrackerMuon(), cms::MuonMETValueMapProducer::should_type_MuonCandidateValuesUsed(), sigmaSwitch(), muon::sigmaSwitch(), muon::tevOptimized(), tevOptimizedTMR(), and track().

48 { return innerTrack_; }
TrackRef innerTrack_
reference to Track reconstructed in the tracker only
Definition: Muon.h:233
bool reco::Muon::isAValidMuonTrack ( const MuonTrackType type) const
bool reco::Muon::isCaloCompatibilityValid ( ) const
inline

Definition at line 156 of file Muon.h.

References caloCompatibility_.

Referenced by CaloMuonMerger::produce().

156 { return caloCompatibility_>=0; }
float caloCompatibility_
muon hypothesis compatibility with observer calorimeter energy
Definition: Muon.h:260
bool reco::Muon::isCaloMuon ( ) const
inlinevirtual

Reimplemented from reco::LeafCandidate.

Definition at line 225 of file Muon.h.

References CaloMuon, and type_.

Referenced by cms::MuonTCMETValueMapProducer::produce().

225 { return type_ & CaloMuon; }
unsigned int type_
muon type mask
Definition: Muon.h:274
static const unsigned int CaloMuon
Definition: Muon.h:214
bool reco::Muon::isEnergyValid ( ) const
inline

====================== ENERGY BLOCK ===========================

energy deposition

Definition at line 109 of file Muon.h.

References energyValid_.

Referenced by MuonTimingFiller::addEcalTime(), FWMuonDetailView::addSceneInfo(), FWMuonLegoProxyBuilder::build(), FWMuonDetailView::build(), MuonIdProducer::makeCaloMuon(), MuonIdProducer::produce(), and FWMuonDetailView::setTextInfo().

109 { return energyValid_; }
bool energyValid_
Definition: Muon.h:254
bool reco::Muon::isGlobalMuon ( ) const
inlinevirtual

Reimplemented from reco::LeafCandidate.

Definition at line 222 of file Muon.h.

References GlobalMuon, and type_.

Referenced by GlbMuQualityCutsAnalysis::analyze(), RPCRecHitProbability::analyze(), EwkMuDQM::analyze(), RPCMonitorDigi::analyze(), EwkMuLumiMonitorDQM::analyze(), MuonKinVsEtaAnalyzer::analyze(), AnaL1CaloCleaner::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), HiggsDQM::analyze(), MuTriggerAnalyzer::analyze(), AnaMuonCaloCleaner::analyze(), TestMuonCaloCleaner::analyze(), MuonCosmicCompatibilityFiller::backToBack2LegCosmic(), AlignmentMuonSelector::basicCuts(), ZToMuMuGammaAnalyzer::basicMuonSelection(), FWMuonBuilder::buildMuon(), MuonCosmicCompatibilityFiller::combinedCosmicID(), cms::MuonMETValueMapProducer::determine_deltax_deltay(), MuonIdProducer::fillGlbQuality(), EwkMuTauHistManager::fillHistograms(), MuonShowerInformationFiller::fillHitsByStation(), pat::PATMuonProducer::fillMuon(), WMuNuValidator::filter(), WMuNuSelector::filter(), LeptonRecoSkim::filter(), MuonMETAlgo::GetMuDepDeltas(), heppy::CMGMuonCleanerBySegmentsAlgo::isBetterMuon(), muon::isGoodMuon(), cms::MuonTCMETValueMapProducer::isGoodMuon(), muon::isHighPtMuon(), muon::isLooseMuon(), isLooseMuonCustom(), muon::isMediumMuon(), isMediumMuonCustom(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), muon::isTightMuon(), isTightMuonCustom(), Muon.Muon::muonID(), DistortedPFCandProducer::produce(), ZMuMuMuonUserData::produce(), ZMuMuUserData::produce(), ZToLLEdmNtupleDumper::produce(), cms::MuonTCMETValueMapProducer::produce(), MuonProducer::produce(), MuonMCClassifier::produce(), MuonCosmicCompatibilityFiller::pvMatches(), MuScleFitMuonSelector::selectMuons(), cms::MuonMETValueMapProducer::should_type_MuonCandidateValuesUsed(), and PFMuonSelector::TopPag12LjetsCuts().

222 { return type_ & GlobalMuon; }
static const unsigned int GlobalMuon
Definition: Muon.h:211
unsigned int type_
muon type mask
Definition: Muon.h:274
bool reco::Muon::isIsolationValid ( ) const
inline

Definition at line 174 of file Muon.h.

References isolationValid_.

Referenced by MuonMETAlgo::GetMuDepDeltas().

174 { return isolationValid_; }
bool isolationValid_
Definition: Muon.h:256
bool reco::Muon::isMatchesValid ( ) const
inline

====================== MUON MATCH BLOCK ===========================

Definition at line 142 of file Muon.h.

References matchesValid_.

Referenced by FWMuonBuilder::buildMuon(), muon::isGoodMuon(), and MuonIdProducer::overlap().

142 { return matchesValid_; }
bool matchesValid_
Definition: Muon.h:255
bool reco::Muon::isMuon ( ) const
inlinevirtual

Reimplemented from reco::LeafCandidate.

Definition at line 221 of file Muon.h.

221 { return true; }
const MuonIsolation& reco::Muon::isolationR03 ( ) const
inline
const MuonIsolation& reco::Muon::isolationR05 ( ) const
inline

Definition at line 163 of file Muon.h.

References isolationR05_.

Referenced by EwkMuTauHistManager::fillHistograms(), and MuonIsolationDQM::RecordData().

163 { return isolationR05_; }
MuonIsolation isolationR05_
Definition: Muon.h:263
bool reco::Muon::isPFIsolationValid ( ) const
inline

Definition at line 178 of file Muon.h.

References pfIsolationValid_.

178 { return pfIsolationValid_; }
bool pfIsolationValid_
Definition: Muon.h:257
bool reco::Muon::isPFMuon ( ) const
inline

Definition at line 226 of file Muon.h.

References PFMuon, and type_.

Referenced by MuonPFAnalyzer::analyze(), heppy::CMGMuonCleanerBySegmentsAlgo::clean(), muon::isLooseMuon(), isLooseMuonCustom(), muon::isTightMuon(), isTightMuonCustom(), and MuonProducer::produce().

226 {return type_ & PFMuon;} //fix me ! Has to go to type
unsigned int type_
muon type mask
Definition: Muon.h:274
static const unsigned int PFMuon
Definition: Muon.h:215
bool reco::Muon::isQualityValid ( ) const
inline

====================== Quality BLOCK ===========================

energy deposition

Definition at line 119 of file Muon.h.

References qualityValid_.

Referenced by MuonIdProducer::fillTrackerKink(), and muon::isGoodMuon().

119 { return qualityValid_; }
bool qualityValid_
Definition: Muon.h:258
bool reco::Muon::isRPCMuon ( ) const
inline
bool reco::Muon::isStandAloneMuon ( ) const
inlinevirtual
bool reco::Muon::isTimeValid ( ) const
inline

====================== TIMING BLOCK ===========================

timing information

Definition at line 129 of file Muon.h.

References reco::MuonTime::nDof, and time_.

Referenced by MuonCosmicCompatibilityFiller::muonTiming(), and MuonIdProducer::produce().

129 { return (time_.nDof>0); }
int nDof
number of muon stations used
Definition: MuonTime.h:10
MuonTime time_
timing
Definition: Muon.h:252
bool reco::Muon::isTrackerMuon ( ) const
inlinevirtual
std::vector<MuonChamberMatch>& reco::Muon::matches ( )
inline
const std::vector<MuonChamberMatch>& reco::Muon::matches ( ) const
inline

Definition at line 145 of file Muon.h.

References muMatches_.

145 { return muMatches_; }
std::vector< MuonChamberMatch > muMatches_
Information on matching between tracks and segments.
Definition: Muon.h:250
virtual TrackRef reco::Muon::muonBestTrack ( ) const
inlinevirtual

Reimplemented in pat::Muon.

Definition at line 63 of file Muon.h.

References bestTrackType_, and muonTrack().

Referenced by muon::isHighPtMuon(), muon::isTightMuon(), and isTightMuonCustom().

63 {return muonTrack(bestTrackType_);}
TrackRef muonTrack(const MuonTrackType &) const
MuonTrackType bestTrackType_
reference to the Track chosen to assign the momentum value to the muon
Definition: Muon.h:241
virtual MuonTrackType reco::Muon::muonBestTrackType ( ) const
inlinevirtual

Definition at line 64 of file Muon.h.

References bestTrackType_.

Referenced by MuonPFAnalyzer::muonTrackType().

64 {return bestTrackType_;}
MuonTrackType bestTrackType_
reference to the Track chosen to assign the momentum value to the muon
Definition: Muon.h:241
TrackRef reco::Muon::muonTrack ( const MuonTrackType ) const
TrackRef reco::Muon::muonTrackFromMap ( const MuonTrackType type) const
inline

Definition at line 73 of file Muon.h.

References refittedTrackMap_.

Referenced by dytTrack(), pickyTrack(), and tpfmsTrack().

73  {
74  MuonTrackRefMap::const_iterator iter = refittedTrackMap_.find(type);
75  if (iter != refittedTrackMap_.end())
76  return iter->second;
77  else
78  return TrackRef();
79  }
type
Definition: HCALResponse.h:21
MuonTrackRefMap refittedTrackMap_
reference to the Global Track refitted with dedicated TeV reconstructors
Definition: Muon.h:239
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
Definition: TrackFwd.h:20
int reco::Muon::numberOfChambers ( ) const
inline

====================== USEFUL METHODs ===========================

number of chambers (MuonChamberMatches include RPC rolls)

Definition at line 188 of file Muon.h.

References muMatches_.

Referenced by ZMuMuMuonUserData::produce(), and ZToLLEdmNtupleDumper::produce().

188 { return muMatches_.size(); }
std::vector< MuonChamberMatch > muMatches_
Information on matching between tracks and segments.
Definition: Muon.h:250
int reco::Muon::numberOfChambersNoRPC ( ) const

number of chambers not including RPC matches (MuonChamberMatches include RPC rolls)

int reco::Muon::numberOfMatchedRPCLayers ( ArbitrationType  type = RPCHitAndTrackArbitration) const

get bit map of stations with tracks within given distance (in cm) of chamber edges bit assignments are same as above

Referenced by MuonIdProducer::isGoodRPCMuon().

int reco::Muon::numberOfMatchedStations ( ArbitrationType  type = SegmentAndTrackArbitration) const

get number of stations with matched segments just adds the bits returned by stationMask

Referenced by muon::isHighPtMuon(), muon::isTightMuon(), isTightMuonCustom(), and Muon.Muon::muonID().

int reco::Muon::numberOfMatches ( ArbitrationType  type = SegmentAndTrackArbitration) const
int reco::Muon::numberOfSegments ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const

get number of segments

virtual TrackRef reco::Muon::outerTrack ( ) const
inlinevirtual
virtual bool reco::Muon::overlap ( const Candidate ) const
privatevirtual

check overlap with another candidate

Implements reco::RecoCandidate.

std::pair<const MuonChamberMatch*,const MuonSegmentMatch*> reco::Muon::pair ( const std::vector< const MuonChamberMatch * > &  ,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
private

get pointers to best segment and corresponding chamber in vector of chambers

const MuonPFIsolation& reco::Muon::pfIsolationR03 ( ) const
inline

Definition at line 165 of file Muon.h.

References pfIsolationR03_.

Referenced by MuonIsolationDQM::RecordData().

165 { return pfIsolationR03_; }
MuonPFIsolation pfIsolationR03_
PF Isolation information for two cones with dR=0.3 and dR=0.4.
Definition: Muon.h:266
const MuonPFIsolation& reco::Muon::pfIsolationR04 ( ) const
inline

Definition at line 168 of file Muon.h.

References pfIsolationR04_.

Referenced by MuonIsolationDQM::RecordData().

168 { return pfIsolationR04_; }
MuonPFIsolation pfIsolationR04_
Definition: Muon.h:269
const MuonPFIsolation& reco::Muon::pfMeanDRIsoProfileR03 ( ) const
inline

Definition at line 166 of file Muon.h.

References pfIsoMeanDRR03_.

166 { return pfIsoMeanDRR03_; }
MuonPFIsolation pfIsoMeanDRR03_
Definition: Muon.h:267
const MuonPFIsolation& reco::Muon::pfMeanDRIsoProfileR04 ( ) const
inline

Definition at line 169 of file Muon.h.

References pfIsoMeanDRR04_.

Referenced by MuonIsolationDQM::RecordData().

169 { return pfIsoMeanDRR04_; }
MuonPFIsolation pfIsoMeanDRR04_
Definition: Muon.h:270
reco::Candidate::LorentzVector reco::Muon::pfP4 ( ) const
inline

set reference to PFCandidate

====================== PF BLOCK ===========================

Definition at line 102 of file Muon.h.

References pfP4_.

Referenced by RecoMuonValidator::MuonME::fill(), and MuonProducer::produce().

102 {return pfP4_;}
reco::Candidate::LorentzVector pfP4_
Definition: Muon.h:277
const MuonPFIsolation& reco::Muon::pfSumDRIsoProfileR03 ( ) const
inline

Definition at line 167 of file Muon.h.

References pfIsoSumDRR03_.

167 { return pfIsoSumDRR03_; }
MuonPFIsolation pfIsoSumDRR03_
Definition: Muon.h:268
const MuonPFIsolation& reco::Muon::pfSumDRIsoProfileR04 ( ) const
inline

Definition at line 170 of file Muon.h.

References pfIsoSumDRR04_.

Referenced by MuonIsolationDQM::RecordData().

170 { return pfIsoSumDRR04_; }
MuonPFIsolation pfIsoSumDRR04_
Definition: Muon.h:271
virtual TrackRef reco::Muon::pickyTrack ( ) const
inlinevirtual

Reimplemented in pat::Muon.

Definition at line 58 of file Muon.h.

References muonTrackFromMap(), and Picky.

Referenced by muon::tevOptimized().

58 { return muonTrackFromMap(Picky);}
TrackRef muonTrackFromMap(const MuonTrackType &type) const
Definition: Muon.h:73
float reco::Muon::pullDxDz ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration,
bool  includeSegmentError = true 
) const

Referenced by muon::isGoodMuon().

float reco::Muon::pullDyDz ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration,
bool  includeSegmentError = true 
) const

Referenced by muon::isGoodMuon().

float reco::Muon::pullX ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration,
bool  includeSegmentError = true 
) const
float reco::Muon::pullY ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration,
bool  includeSegmentError = true 
) const
unsigned int reco::Muon::RPClayerMask ( ArbitrationType  type = RPCHitAndTrackArbitration) const
MuonTime reco::Muon::rpcTime ( ) const
inline

get RPC timing information

Definition at line 135 of file Muon.h.

References rpcTime_.

135 { return rpcTime_; }
MuonTime rpcTime_
Definition: Muon.h:253
float reco::Muon::segmentDxDz ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::segmentDxDzErr ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::segmentDyDz ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::segmentDyDzErr ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::segmentX ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const

get (best) segment information If no segment returns 999999

Referenced by muon::segmentCompatibility().

float reco::Muon::segmentXErr ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::segmentY ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::segmentYErr ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
virtual void reco::Muon::setBestTrack ( MuonTrackType  muonType)
inlinevirtual

Definition at line 91 of file Muon.h.

References bestTrackType_.

Referenced by MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), MuonIdProducer::makeMuon(), and MuonProducer::produce().

91 {bestTrackType_ = muonType;}
MuonTrackType bestTrackType_
reference to the Track chosen to assign the momentum value to the muon
Definition: Muon.h:241
void reco::Muon::setCalEnergy ( const MuonEnergy calEnergy)
inline

set energy deposition information

Definition at line 113 of file Muon.h.

References calEnergy(), calEnergy_, and energyValid_.

Referenced by MuonIdProducer::fillMuonId(), and CaloMuonMerger::produce().

113 { calEnergy_ = calEnergy; energyValid_ = true; }
MuonEnergy calEnergy_
energy deposition
Definition: Muon.h:246
bool energyValid_
Definition: Muon.h:254
MuonEnergy calEnergy() const
get energy deposition information
Definition: Muon.h:111
void reco::Muon::setCaloCompatibility ( float  input)
inline

Definition at line 155 of file Muon.h.

References caloCompatibility_, and input.

Referenced by CaloMuonMerger::produce().

float caloCompatibility_
muon hypothesis compatibility with observer calorimeter energy
Definition: Muon.h:260
static std::string const input
Definition: EdmProvDump.cc:44
virtual void reco::Muon::setCombined ( const TrackRef t)
virtual
void reco::Muon::setCombinedQuality ( const MuonQuality combinedQuality)
inline

set energy deposition information

Definition at line 123 of file Muon.h.

References combinedQuality(), combinedQuality_, and qualityValid_.

Referenced by MuonIdProducer::fillGlbQuality(), and MuonIdProducer::fillTrackerKink().

MuonQuality combinedQuality() const
get energy deposition information
Definition: Muon.h:121
MuonQuality combinedQuality_
quality block
Definition: Muon.h:248
bool qualityValid_
Definition: Muon.h:258
virtual void reco::Muon::setGlobalTrack ( const TrackRef t)
virtual
virtual void reco::Muon::setInnerTrack ( const TrackRef t)
virtual
void reco::Muon::setIsolation ( const MuonIsolation isoR03,
const MuonIsolation isoR05 
)
void reco::Muon::setMatches ( const std::vector< MuonChamberMatch > &  matches)
inline

set muon matching information

Definition at line 147 of file Muon.h.

References matches(), matchesValid_, and muMatches_.

Referenced by MuonIdProducer::fillMuonId().

147 { muMatches_ = matches; matchesValid_ = true; }
std::vector< MuonChamberMatch > & matches()
get muon matching information
Definition: Muon.h:144
std::vector< MuonChamberMatch > muMatches_
Information on matching between tracks and segments.
Definition: Muon.h:250
bool matchesValid_
Definition: Muon.h:255
void reco::Muon::setMuonTrack ( const MuonTrackType ,
const TrackRef  
)
virtual void reco::Muon::setOuterTrack ( const TrackRef t)
virtual
void reco::Muon::setPFIsolation ( const std::string &  label,
const reco::MuonPFIsolation deposit 
)
virtual void reco::Muon::setPFP4 ( const reco::Candidate::LorentzVector p4_)
virtual

Referenced by MuonProducer::produce().

void reco::Muon::setRPCTime ( const MuonTime time)
inline

set RPC timing information

Definition at line 137 of file Muon.h.

References rpcTime_, and time().

137 { rpcTime_ = time; }
MuonTime rpcTime_
Definition: Muon.h:253
MuonTime time() const
get DT/CSC combined timing information
Definition: Muon.h:131
virtual void reco::Muon::setStandAlone ( const TrackRef t)
virtual
void reco::Muon::setTime ( const MuonTime time)
inline

set DT/CSC combined timing information

Definition at line 133 of file Muon.h.

References time(), and time_.

133 { time_ = time; }
MuonTime time() const
get DT/CSC combined timing information
Definition: Muon.h:131
MuonTime time_
timing
Definition: Muon.h:252
virtual void reco::Muon::setTrack ( const TrackRef t)
virtual
virtual void reco::Muon::setTunePBestTrack ( MuonTrackType  muonType)
inlinevirtual

Definition at line 93 of file Muon.h.

References bestTunePTrackType_.

Referenced by MuonIdProducer::makeMuon().

93 {bestTunePTrackType_ = muonType;}
MuonTrackType bestTunePTrackType_
reference to the Track chosen to assign the momentum value to the muon by PF
Definition: Muon.h:243
void reco::Muon::setType ( unsigned int  type)
inline

Definition at line 218 of file Muon.h.

References type(), and type_.

Referenced by CaloMuonMerger::produce(), and MuonIdProducer::produce().

218 { type_ = type; }
unsigned int type_
muon type mask
Definition: Muon.h:274
unsigned int type() const
Definition: Muon.h:219
virtual TrackRef reco::Muon::standAloneMuon ( ) const
inlinevirtual
unsigned int reco::Muon::stationGapMaskDistance ( float  distanceCut = 10.) const
unsigned int reco::Muon::stationGapMaskPull ( float  sigmaCut = 3.) const

same as above for given number of sigmas

unsigned int reco::Muon::stationMask ( ArbitrationType  type = SegmentAndTrackArbitration) const

get bit map of stations with matched segments bits 0-1-2-3 = DT stations 1-2-3-4 bits 4-5-6-7 = CSC stations 1-2-3-4

Referenced by muon::isGoodMuon().

float reco::Muon::t0 ( int  n = 0)
inline

Definition at line 327 of file Muon.h.

References i, muMatches_, and gen::n.

327  {
328  int i = 0;
329  for( std::vector<MuonChamberMatch>::const_iterator chamber = muMatches_.begin();
330  chamber != muMatches_.end(); ++chamber )
331  for ( std::vector<reco::MuonSegmentMatch>::const_iterator segment = chamber->segmentMatches.begin();
332  segment != chamber->segmentMatches.end(); ++segment )
333  {
334  if (i==n) return segment->t0;
335  ++i;
336  }
337  return 0;
338  }
int i
Definition: DBlmapReader.cc:9
std::vector< MuonChamberMatch > muMatches_
Information on matching between tracks and segments.
Definition: Muon.h:250
MuonTime reco::Muon::time ( ) const
inline

get DT/CSC combined timing information

Definition at line 131 of file Muon.h.

References time_.

Referenced by MuonCosmicCompatibilityFiller::muonTiming(), MuonIdProducer::produce(), setRPCTime(), and setTime().

131 { return time_; }
MuonTime time_
timing
Definition: Muon.h:252
virtual TrackRef reco::Muon::tpfmsTrack ( ) const
inlinevirtual

Reimplemented in pat::Muon.

Definition at line 57 of file Muon.h.

References muonTrackFromMap(), and TPFMS.

Referenced by muon::tevOptimized().

57 { return muonTrackFromMap(TPFMS);}
TrackRef muonTrackFromMap(const MuonTrackType &type) const
Definition: Muon.h:73
virtual TrackRef reco::Muon::track ( ) const
inlinevirtual
float reco::Muon::trackDist ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackDistErr ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackDxDz ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackDxDzErr ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackDyDz ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackDyDzErr ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackEdgeX ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const

get track information in chamber that contains (best) segment If no segment, get track information in chamber that has the most negative distance between the track and the nearest chamber edge (the chamber with the deepest track) If no chamber returns 999999

float reco::Muon::trackEdgeY ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackX ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackXErr ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackY ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
float reco::Muon::trackYErr ( int  station,
int  muonSubdetId,
ArbitrationType  type = SegmentAndTrackArbitration 
) const
virtual TrackRef reco::Muon::tunePMuonBestTrack ( ) const
inlinevirtual

Reimplemented in pat::Muon.

Definition at line 65 of file Muon.h.

References bestTunePTrackType_, and muonTrack().

Referenced by MuonPFAnalyzer::analyze().

TrackRef muonTrack(const MuonTrackType &) const
MuonTrackType bestTunePTrackType_
reference to the Track chosen to assign the momentum value to the muon by PF
Definition: Muon.h:243
virtual MuonTrackType reco::Muon::tunePMuonBestTrackType ( ) const
inlinevirtual

Definition at line 66 of file Muon.h.

References bestTunePTrackType_.

Referenced by MuonPFAnalyzer::muonTrackType().

66 {return bestTunePTrackType_;}
MuonTrackType bestTunePTrackType_
reference to the Track chosen to assign the momentum value to the muon by PF
Definition: Muon.h:243
unsigned int reco::Muon::type ( ) const
inline

Member Data Documentation

MuonTrackType reco::Muon::bestTrackType_
private

reference to the Track chosen to assign the momentum value to the muon

Definition at line 241 of file Muon.h.

Referenced by bestTrack(), bestTrackRef(), muonBestTrack(), muonBestTrackType(), and setBestTrack().

MuonTrackType reco::Muon::bestTunePTrackType_
private

reference to the Track chosen to assign the momentum value to the muon by PF

Definition at line 243 of file Muon.h.

Referenced by setTunePBestTrack(), tunePMuonBestTrack(), and tunePMuonBestTrackType().

MuonEnergy reco::Muon::calEnergy_
private

energy deposition

Definition at line 246 of file Muon.h.

Referenced by calEnergy(), and setCalEnergy().

float reco::Muon::caloCompatibility_
private

muon hypothesis compatibility with observer calorimeter energy

Definition at line 260 of file Muon.h.

Referenced by caloCompatibility(), isCaloCompatibilityValid(), and setCaloCompatibility().

const unsigned int reco::Muon::CaloMuon = 1<<4
static

Definition at line 214 of file Muon.h.

Referenced by isCaloMuon(), MuonTypeByOrCut::MuonTypeByOrCut(), and CaloMuonMerger::produce().

MuonQuality reco::Muon::combinedQuality_
private

quality block

Definition at line 248 of file Muon.h.

Referenced by combinedQuality(), and setCombinedQuality().

bool reco::Muon::energyValid_
private

Definition at line 254 of file Muon.h.

Referenced by isEnergyValid(), and setCalEnergy().

const unsigned int reco::Muon::GlobalMuon = 1<<1
static

muon type - type of the algorithm that reconstructed this muon multiple algorithms can reconstruct the same muon

Definition at line 211 of file Muon.h.

Referenced by isGlobalMuon(), MuonTypeByOrCut::MuonTypeByOrCut(), and MuonIdProducer::produce().

TrackRef reco::Muon::globalTrack_
private

reference to Track reconstructed in both tracked and muon detector

Definition at line 237 of file Muon.h.

Referenced by globalTrack().

TrackRef reco::Muon::innerTrack_
private

reference to Track reconstructed in the tracker only

Definition at line 233 of file Muon.h.

Referenced by innerTrack().

MuonIsolation reco::Muon::isolationR03_
private

Isolation information for two cones with dR=0.3 and dR=0.5.

Definition at line 262 of file Muon.h.

Referenced by isolationR03().

MuonIsolation reco::Muon::isolationR05_
private

Definition at line 263 of file Muon.h.

Referenced by isolationR05().

bool reco::Muon::isolationValid_
private

Definition at line 256 of file Muon.h.

Referenced by isIsolationValid().

bool reco::Muon::matchesValid_
private

Definition at line 255 of file Muon.h.

Referenced by isMatchesValid(), and setMatches().

std::vector<MuonChamberMatch> reco::Muon::muMatches_
private

Information on matching between tracks and segments.

Definition at line 250 of file Muon.h.

Referenced by matches(), numberOfChambers(), setMatches(), and t0().

TrackRef reco::Muon::outerTrack_
private

reference to Track reconstructed in the muon detector only

Definition at line 235 of file Muon.h.

Referenced by outerTrack().

MuonPFIsolation reco::Muon::pfIsolationR03_
private

PF Isolation information for two cones with dR=0.3 and dR=0.4.

Definition at line 266 of file Muon.h.

Referenced by pfIsolationR03().

MuonPFIsolation reco::Muon::pfIsolationR04_
private

Definition at line 269 of file Muon.h.

Referenced by pfIsolationR04().

bool reco::Muon::pfIsolationValid_
private

Definition at line 257 of file Muon.h.

Referenced by isPFIsolationValid().

MuonPFIsolation reco::Muon::pfIsoMeanDRR03_
private

Definition at line 267 of file Muon.h.

Referenced by pfMeanDRIsoProfileR03().

MuonPFIsolation reco::Muon::pfIsoMeanDRR04_
private

Definition at line 270 of file Muon.h.

Referenced by pfMeanDRIsoProfileR04().

MuonPFIsolation reco::Muon::pfIsoSumDRR03_
private

Definition at line 268 of file Muon.h.

Referenced by pfSumDRIsoProfileR03().

MuonPFIsolation reco::Muon::pfIsoSumDRR04_
private

Definition at line 271 of file Muon.h.

Referenced by pfSumDRIsoProfileR04().

const unsigned int reco::Muon::PFMuon = 1<<5
static

Definition at line 215 of file Muon.h.

Referenced by isPFMuon(), and MuonTypeByOrCut::MuonTypeByOrCut().

reco::Candidate::LorentzVector reco::Muon::pfP4_
private

Definition at line 277 of file Muon.h.

Referenced by pfP4().

bool reco::Muon::qualityValid_
private

Definition at line 258 of file Muon.h.

Referenced by isQualityValid(), and setCombinedQuality().

MuonTrackRefMap reco::Muon::refittedTrackMap_
private

reference to the Global Track refitted with dedicated TeV reconstructors

Definition at line 239 of file Muon.h.

Referenced by muonTrackFromMap().

const unsigned int reco::Muon::RPCMuon = 1<<6
static

Definition at line 216 of file Muon.h.

Referenced by isRPCMuon(), MuonTypeByOrCut::MuonTypeByOrCut(), and MuonIdProducer::produce().

MuonTime reco::Muon::rpcTime_
private

Definition at line 253 of file Muon.h.

Referenced by rpcTime(), and setRPCTime().

const unsigned int reco::Muon::StandAloneMuon = 1<<3
static
MuonTime reco::Muon::time_
private

timing

Definition at line 252 of file Muon.h.

Referenced by isTimeValid(), setTime(), and time().

const unsigned int reco::Muon::TrackerMuon = 1<<2
static
unsigned int reco::Muon::type_
private