CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
reco::ME0Muon Class Reference

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

Inheritance diagram for reco::ME0Muon:
reco::RecoCandidate reco::LeafCandidate reco::Candidate

Public Member Functions

const AlgebraicSymMatrix66globalTrackCov () const
 
const GlobalVectorglobalTrackMomAtSurface () const
 
const GlobalPointglobalTrackPosAtSurface () const
 
TrackRef innerTrack () const
 reference to Track reconstructed in the tracker only More...
 
const AlgebraicSymMatrix55localTrackCov () const
 
const LocalVectorlocalTrackMomAtSurface () const
 
const LocalPointlocalTrackPosAtSurface () const
 
 ME0Muon ()
 
 ME0Muon (const TrackRef &t, const ME0Segment &s, const int v, const double c)
 
int me0segid () const
 
const ME0Segmentme0segment () const
 
void setGlobalTrackCov (const AlgebraicSymMatrix66 &trackCov)
 
void setGlobalTrackMomAtSurface (const GlobalVector &globalTrackMomAtSurface)
 
void setGlobalTrackPosAtSurface (const GlobalPoint &globalTrackPosAtSurface)
 
void setInnerTrack (const TrackRef &t)
 set reference to Track More...
 
void setLocalTrackCov (const AlgebraicSymMatrix55 &trackCov)
 
void setLocalTrackMomAtSurface (const LocalVector &localTrackMomAtSurface)
 
void setLocalTrackPosAtSurface (const LocalPoint &localTrackPosAtSurface)
 
void setme0segid (const int v)
 
void setME0Segment (const ME0Segment &s)
 set reference to our new ME0Segment type More...
 
void setTrack (const TrackRef &t)
 
void setTrackCharge (const int &trackCharge)
 
TrackRef track () const override
 reference to a Track More...
 
int trackCharge () const
 
 ~ME0Muon () override
 
- Public Member Functions inherited from reco::RecoCandidate
const TrackbestTrack () const override
 best track pointer More...
 
virtual TrackBaseRef bestTrackRef () const
 best track RefToBase More...
 
virtual TrackType bestTrackType () const
 track type More...
 
virtual CaloTowerRef caloTower () const
 reference to a CaloTower More...
 
RecoCandidateclone () const override
 returns a clone of the Candidate object More...
 
virtual reco::TrackRef combinedMuon () const
 reference to a stand-alone muon Track More...
 
float dxyError () const override
 uncertainty on dxy More...
 
float dzError () const override
 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::TrackRef standAloneMuon () const
 reference to a stand-alone muon Track 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...
 
 ~RecoCandidate () override
 destructor More...
 
- Public Member Functions inherited from reco::LeafCandidate
Vector boostToCM () const final
 
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)
 
const Candidatedaughter (const std::string &s) const override
 return daughter with a specified role name More...
 
Candidatedaughter (const std::string &s) override
 return daughter with a specified role name More...
 
const Candidatedaughter (size_type) const override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (size_type) override
 return daughter at a given position (throws an exception) More...
 
double energy () const final
 energy More...
 
double et () const final
 transverse energy More...
 
double et2 () const final
 transverse energy squared (use this for cut!) More...
 
double eta () const final
 momentum pseudorapidity More...
 
void fillVertexCovariance (CovarianceMatrix &v) const override
 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...
 
bool hasMasterClone () const override
 
bool hasMasterClonePtr () const override
 
bool isCaloMuon () const override
 
bool isConvertedPhoton () const override
 
bool isElectron () const override
 
bool isGlobalMuon () const override
 
bool isJet () const override
 
bool isMuon () const override
 
bool isPhoton () const override
 
bool isStandAloneMuon () const override
 
bool isTrackerMuon () const override
 
 LeafCandidate ()
 
template<typename... Args>
 LeafCandidate (Args &&... args)
 
 LeafCandidate (const Candidate &c)
 
 LeafCandidate (LeafCandidate &&)=default
 
 LeafCandidate (LeafCandidate &rh)
 
 LeafCandidate (LeafCandidate const &)=default
 
bool longLived () const final
 is long lived? More...
 
double mass () const final
 mass More...
 
bool massConstraint () const final
 do mass constraint? More...
 
double massSqr () const final
 mass squared More...
 
const CandidateBaseRefmasterClone () const override
 
const CandidatePtrmasterClonePtr () const override
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
Vector momentum () const final
 spatial momentum vector More...
 
const Candidatemother (size_type) const override
 return mother at a given position (throws an exception) More...
 
double mt () const final
 transverse mass More...
 
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...
 
size_t numberOfDaughters () const override
 number of daughters More...
 
size_t numberOfMothers () const override
 number of mothers More...
 
size_t numberOfSourceCandidatePtrs () const override
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
double p () const final
 magnitude of momentum vector More...
 
const LorentzVectorp4 () const final
 four-momentum Lorentz vector More...
 
int pdgId () const final
 PDG identifier. More...
 
double phi () const final
 momentum azimuthal angle More...
 
const PolarLorentzVectorpolarP4 () const final
 four-momentum Lorentz vector More...
 
double pt () const final
 transverse momentum More...
 
double px () const final
 x coordinate of momentum vector More...
 
double py () const final
 y coordinate of momentum vector More...
 
double pz () const final
 z coordinate of momentum vector More...
 
double rapidity () const final
 rapidity More...
 
void setCharge (Charge q) final
 set electric charge More...
 
void setLongLived () final
 
void setMass (double m) final
 set particle mass More...
 
void setMassConstraint () final
 
void setP4 (const LorentzVector &p4) final
 set 4-momentum More...
 
void setP4 (const PolarLorentzVector &p4) final
 set 4-momentum More...
 
void setPdgId (int pdgId) final
 
void setPz (double pz) final
 
void setStatus (int status) final
 set status word More...
 
void setThreeCharge (Charge qx3) final
 set electric charge More...
 
void setVertex (const Point &vertex) override
 set vertex More...
 
CandidatePtr sourceCandidatePtr (size_type i) const override
 
int status () const final
 status word More...
 
double theta () const final
 momentum polar angle More...
 
int threeCharge () const final
 electric charge More...
 
const Pointvertex () const override
 vertex position (overwritten by PF...) More...
 
double vertexChi2 () const override
 chi-squares More...
 
CovarianceMatrix vertexCovariance () const final
 return SMatrix More...
 
double vertexCovariance (int i, int j) const override
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
double vertexNdof () const override
 
double vertexNormalizedChi2 () const override
 chi-squared divided by n.d.o.f. More...
 
double vx () const override
 x coordinate of vertex position More...
 
double vy () const override
 y coordinate of vertex position More...
 
double vz () const override
 z coordinate of vertex position More...
 
double y () const final
 rapidity More...
 
 ~LeafCandidate () override
 destructor More...
 
- Public Member Functions inherited from reco::Candidate
iterator begin ()
 first daughter iterator More...
 
const_iterator begin () const
 first daughter const_iterator More...
 
 Candidate ()
 default constructor More...
 
iterator end ()
 last daughter iterator More...
 
const_iterator end () const
 last daughter const_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...
 

Private Member Functions

bool overlap (const Candidate &) const override
 check overlap with another candidate More...
 

Private Attributes

AlgebraicSymMatrix66 globalTrackCov_
 
GlobalVector globalTrackMomAtSurface_
 
GlobalPoint globalTrackPosAtSurface_
 
TrackRef innerTrack_
 reference to Track reconstructed in the tracker only More...
 
AlgebraicSymMatrix55 localTrackCov_
 
LocalVector localTrackMomAtSurface_
 
LocalPoint localTrackPosAtSurface_
 
int me0segid_
 
ME0Segment me0Segment_
 
int trackCharge_
 

Additional Inherited Members

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

Author
David Nash NEU

Definition at line 21 of file ME0Muon.h.

Constructor & Destructor Documentation

◆ ME0Muon() [1/2]

ME0Muon::ME0Muon ( )

Definition at line 9 of file ME0Muon.cc.

9 {}

◆ ME0Muon() [2/2]

reco::ME0Muon::ME0Muon ( const TrackRef t,
const ME0Segment s,
const int  v,
const double  c 
)
inline

◆ ~ME0Muon()

reco::ME0Muon::~ME0Muon ( )
inlineoverride

Definition at line 31 of file ME0Muon.h.

31 {}

Member Function Documentation

◆ globalTrackCov()

const AlgebraicSymMatrix66& reco::ME0Muon::globalTrackCov ( ) const
inline

Definition at line 54 of file ME0Muon.h.

54 { return globalTrackCov_; }

References globalTrackCov_.

◆ globalTrackMomAtSurface()

const GlobalVector& reco::ME0Muon::globalTrackMomAtSurface ( ) const
inline

Definition at line 49 of file ME0Muon.h.

49 { return globalTrackMomAtSurface_; }

References globalTrackMomAtSurface_.

Referenced by setGlobalTrackMomAtSurface().

◆ globalTrackPosAtSurface()

const GlobalPoint& reco::ME0Muon::globalTrackPosAtSurface ( ) const
inline

Definition at line 48 of file ME0Muon.h.

48 { return globalTrackPosAtSurface_; }

References globalTrackPosAtSurface_.

Referenced by setGlobalTrackPosAtSurface().

◆ innerTrack()

TrackRef reco::ME0Muon::innerTrack ( ) const
inline

reference to Track reconstructed in the tracker only

Definition at line 34 of file ME0Muon.h.

34 { return innerTrack_; }

References innerTrack_.

Referenced by Lepton.Lepton::lostInner(), Muon.Muon::muonID(), and track().

◆ localTrackCov()

const AlgebraicSymMatrix55& reco::ME0Muon::localTrackCov ( ) const
inline

Definition at line 55 of file ME0Muon.h.

55 { return localTrackCov_; }

References localTrackCov_.

Referenced by muon::isGoodMuon().

◆ localTrackMomAtSurface()

const LocalVector& reco::ME0Muon::localTrackMomAtSurface ( ) const
inline

Definition at line 51 of file ME0Muon.h.

51 { return localTrackMomAtSurface_; }

References localTrackMomAtSurface_.

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

◆ localTrackPosAtSurface()

const LocalPoint& reco::ME0Muon::localTrackPosAtSurface ( ) const
inline

Definition at line 50 of file ME0Muon.h.

50 { return localTrackPosAtSurface_; }

References localTrackPosAtSurface_.

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

◆ me0segid()

int reco::ME0Muon::me0segid ( ) const
inline

Definition at line 46 of file ME0Muon.h.

46 { return me0segid_; }

References me0segid_.

◆ me0segment()

const ME0Segment& reco::ME0Muon::me0segment ( ) const
inline

Definition at line 42 of file ME0Muon.h.

42 { return me0Segment_; }

References me0Segment_.

Referenced by muon::isGoodMuon().

◆ overlap()

bool ME0Muon::overlap ( const Candidate c) const
overrideprivatevirtual

check overlap with another candidate

Implements reco::RecoCandidate.

Definition at line 11 of file ME0Muon.cc.

11  {
12  const RecoCandidate *o = dynamic_cast<const RecoCandidate *>(&c);
13  return (o != nullptr && (checkOverlap(track(), o->track())));
14 }

References HltBtagPostValidation_cff::c, reco::RecoCandidate::checkOverlap(), EcalTangentSkim_cfg::o, and track().

◆ setGlobalTrackCov()

void reco::ME0Muon::setGlobalTrackCov ( const AlgebraicSymMatrix66 trackCov)
inline

Definition at line 70 of file ME0Muon.h.

70 { globalTrackCov_ = trackCov; }

References globalTrackCov_.

◆ setGlobalTrackMomAtSurface()

void reco::ME0Muon::setGlobalTrackMomAtSurface ( const GlobalVector globalTrackMomAtSurface)
inline

Definition at line 60 of file ME0Muon.h.

References globalTrackMomAtSurface(), and globalTrackMomAtSurface_.

◆ setGlobalTrackPosAtSurface()

void reco::ME0Muon::setGlobalTrackPosAtSurface ( const GlobalPoint globalTrackPosAtSurface)
inline

Definition at line 57 of file ME0Muon.h.

References globalTrackPosAtSurface(), and globalTrackPosAtSurface_.

◆ setInnerTrack()

void reco::ME0Muon::setInnerTrack ( const TrackRef t)
inline

set reference to Track

Definition at line 37 of file ME0Muon.h.

37 { innerTrack_ = t; }

References innerTrack_, and OrderedSet::t.

Referenced by setTrack().

◆ setLocalTrackCov()

void reco::ME0Muon::setLocalTrackCov ( const AlgebraicSymMatrix55 trackCov)
inline

Definition at line 71 of file ME0Muon.h.

71 { localTrackCov_ = trackCov; }

References localTrackCov_.

◆ setLocalTrackMomAtSurface()

void reco::ME0Muon::setLocalTrackMomAtSurface ( const LocalVector localTrackMomAtSurface)
inline

Definition at line 66 of file ME0Muon.h.

References localTrackMomAtSurface(), and localTrackMomAtSurface_.

◆ setLocalTrackPosAtSurface()

void reco::ME0Muon::setLocalTrackPosAtSurface ( const LocalPoint localTrackPosAtSurface)
inline

Definition at line 63 of file ME0Muon.h.

References localTrackPosAtSurface(), and localTrackPosAtSurface_.

◆ setme0segid()

void reco::ME0Muon::setme0segid ( const int  v)
inline

Definition at line 45 of file ME0Muon.h.

45 { me0segid_ = v; }

References me0segid_, and findQualityFiles::v.

◆ setME0Segment()

void reco::ME0Muon::setME0Segment ( const ME0Segment s)
inline

set reference to our new ME0Segment type

Definition at line 40 of file ME0Muon.h.

40 { me0Segment_ = s; }

References me0Segment_, and alignCSCRings::s.

◆ setTrack()

void reco::ME0Muon::setTrack ( const TrackRef t)
inline

Definition at line 38 of file ME0Muon.h.

38 { setInnerTrack(t); }

References setInnerTrack(), and OrderedSet::t.

◆ setTrackCharge()

void reco::ME0Muon::setTrackCharge ( const int &  trackCharge)
inline

Definition at line 69 of file ME0Muon.h.

References trackCharge(), and trackCharge_.

◆ track()

TrackRef reco::ME0Muon::track ( ) const
inlineoverridevirtual

reference to a Track

Reimplemented from reco::RecoCandidate.

Definition at line 35 of file ME0Muon.h.

35 { return innerTrack(); }

References innerTrack().

Referenced by overlap().

◆ trackCharge()

int reco::ME0Muon::trackCharge ( ) const
inline

Definition at line 53 of file ME0Muon.h.

53 { return trackCharge_; }

References trackCharge_.

Referenced by setTrackCharge().

Member Data Documentation

◆ globalTrackCov_

AlgebraicSymMatrix66 reco::ME0Muon::globalTrackCov_
private

Definition at line 88 of file ME0Muon.h.

Referenced by globalTrackCov(), and setGlobalTrackCov().

◆ globalTrackMomAtSurface_

GlobalVector reco::ME0Muon::globalTrackMomAtSurface_
private

Definition at line 83 of file ME0Muon.h.

Referenced by globalTrackMomAtSurface(), and setGlobalTrackMomAtSurface().

◆ globalTrackPosAtSurface_

GlobalPoint reco::ME0Muon::globalTrackPosAtSurface_
private

Definition at line 82 of file ME0Muon.h.

Referenced by globalTrackPosAtSurface(), and setGlobalTrackPosAtSurface().

◆ innerTrack_

TrackRef reco::ME0Muon::innerTrack_
private

reference to Track reconstructed in the tracker only

Definition at line 78 of file ME0Muon.h.

Referenced by innerTrack(), ME0Muon(), and setInnerTrack().

◆ localTrackCov_

AlgebraicSymMatrix55 reco::ME0Muon::localTrackCov_
private

Definition at line 89 of file ME0Muon.h.

Referenced by localTrackCov(), and setLocalTrackCov().

◆ localTrackMomAtSurface_

LocalVector reco::ME0Muon::localTrackMomAtSurface_
private

Definition at line 86 of file ME0Muon.h.

Referenced by localTrackMomAtSurface(), and setLocalTrackMomAtSurface().

◆ localTrackPosAtSurface_

LocalPoint reco::ME0Muon::localTrackPosAtSurface_
private

Definition at line 85 of file ME0Muon.h.

Referenced by localTrackPosAtSurface(), and setLocalTrackPosAtSurface().

◆ me0segid_

int reco::ME0Muon::me0segid_
private

Definition at line 80 of file ME0Muon.h.

Referenced by ME0Muon(), me0segid(), and setme0segid().

◆ me0Segment_

ME0Segment reco::ME0Muon::me0Segment_
private

Definition at line 79 of file ME0Muon.h.

Referenced by ME0Muon(), me0segment(), and setME0Segment().

◆ trackCharge_

int reco::ME0Muon::trackCharge_
private

Definition at line 87 of file ME0Muon.h.

Referenced by ME0Muon(), setTrackCharge(), and trackCharge().

reco::ME0Muon::me0Segment_
ME0Segment me0Segment_
Definition: ME0Muon.h:79
reco::RecoCandidate::checkOverlap
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
reco::ME0Muon::trackCharge
int trackCharge() const
Definition: ME0Muon.h:53
reco::ME0Muon::setInnerTrack
void setInnerTrack(const TrackRef &t)
set reference to Track
Definition: ME0Muon.h:37
reco::ME0Muon::globalTrackPosAtSurface_
GlobalPoint globalTrackPosAtSurface_
Definition: ME0Muon.h:82
reco::ME0Muon::innerTrack_
TrackRef innerTrack_
reference to Track reconstructed in the tracker only
Definition: ME0Muon.h:78
findQualityFiles.v
v
Definition: findQualityFiles.py:179
reco::ME0Muon::globalTrackPosAtSurface
const GlobalPoint & globalTrackPosAtSurface() const
Definition: ME0Muon.h:48
reco::ME0Muon::trackCharge_
int trackCharge_
Definition: ME0Muon.h:87
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
alignCSCRings.s
s
Definition: alignCSCRings.py:92
reco::ME0Muon::globalTrackMomAtSurface
const GlobalVector & globalTrackMomAtSurface() const
Definition: ME0Muon.h:49
reco::ME0Muon::localTrackCov_
AlgebraicSymMatrix55 localTrackCov_
Definition: ME0Muon.h:89
OrderedSet.t
t
Definition: OrderedSet.py:90
reco::ME0Muon::track
TrackRef track() const override
reference to a Track
Definition: ME0Muon.h:35
reco::ME0Muon::localTrackPosAtSurface_
LocalPoint localTrackPosAtSurface_
Definition: ME0Muon.h:85
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
reco::RecoCandidate
Definition: RecoCandidate.h:20
reco::ME0Muon::globalTrackCov_
AlgebraicSymMatrix66 globalTrackCov_
Definition: ME0Muon.h:88
reco::ME0Muon::localTrackMomAtSurface_
LocalVector localTrackMomAtSurface_
Definition: ME0Muon.h:86
reco::ME0Muon::innerTrack
TrackRef innerTrack() const
reference to Track reconstructed in the tracker only
Definition: ME0Muon.h:34
reco::ME0Muon::globalTrackMomAtSurface_
GlobalVector globalTrackMomAtSurface_
Definition: ME0Muon.h:83
reco::ME0Muon::localTrackMomAtSurface
const LocalVector & localTrackMomAtSurface() const
Definition: ME0Muon.h:51
reco::ME0Muon::me0segid_
int me0segid_
Definition: ME0Muon.h:80
reco::ME0Muon::localTrackPosAtSurface
const LocalPoint & localTrackPosAtSurface() const
Definition: ME0Muon.h:50