CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
virtual TrackRef track () const
 reference to a Track More...
 
int trackCharge () const
 
virtual ~ME0Muon ()
 
- Public Member Functions inherited from reco::RecoCandidate
virtual const TrackbestTrack () const
 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...
 
virtual RecoCandidateclone () const
 returns a clone of the Candidate object More...
 
virtual reco::TrackRef combinedMuon () const
 reference to a stand-alone muon Track 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::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...
 
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 isCaloMuon () const
 
virtual bool isConvertedPhoton () const
 
virtual bool isElectron () const
 
virtual bool isGlobalMuon () const
 
virtual bool isJet () const
 
virtual bool isMuon () const
 
virtual bool isPhoton () const
 
virtual bool isStandAloneMuon () const
 
virtual bool isTrackerMuon () 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...
 

Private Member Functions

virtual bool overlap (const Candidate &) const
 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::ME0Muon ( )

Definition at line 9 of file ME0Muon.cc.

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

Definition at line 25 of file ME0Muon.h.

References EnergyCorrector::c, innerTrack_, me0segid_, me0Segment_, alignCSCRings::s, lumiQTWidget::t, trackCharge_, and findQualityFiles::v.

int trackCharge_
Definition: ME0Muon.h:75
ME0Segment me0Segment_
Definition: ME0Muon.h:67
int me0segid_
Definition: ME0Muon.h:68
TrackRef innerTrack_
reference to Track reconstructed in the tracker only
Definition: ME0Muon.h:66
virtual reco::ME0Muon::~ME0Muon ( )
inlinevirtual

Definition at line 26 of file ME0Muon.h.

26 {}

Member Function Documentation

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

Definition at line 50 of file ME0Muon.h.

References globalTrackCov_.

50 { return globalTrackCov_; }
AlgebraicSymMatrix66 globalTrackCov_
Definition: ME0Muon.h:76
const GlobalVector& reco::ME0Muon::globalTrackMomAtSurface ( ) const
inline

Definition at line 45 of file ME0Muon.h.

References globalTrackMomAtSurface_.

Referenced by setGlobalTrackMomAtSurface().

45 { return globalTrackMomAtSurface_; }
GlobalVector globalTrackMomAtSurface_
Definition: ME0Muon.h:71
const GlobalPoint& reco::ME0Muon::globalTrackPosAtSurface ( ) const
inline

Definition at line 44 of file ME0Muon.h.

References globalTrackPosAtSurface_.

Referenced by setGlobalTrackPosAtSurface().

44 { return globalTrackPosAtSurface_; }
GlobalPoint globalTrackPosAtSurface_
Definition: ME0Muon.h:70
TrackRef reco::ME0Muon::innerTrack ( ) const
inline

reference to Track reconstructed in the tracker only

Definition at line 29 of file ME0Muon.h.

References innerTrack_.

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

29 { return innerTrack_; }
TrackRef innerTrack_
reference to Track reconstructed in the tracker only
Definition: ME0Muon.h:66
const AlgebraicSymMatrix55& reco::ME0Muon::localTrackCov ( ) const
inline

Definition at line 51 of file ME0Muon.h.

References localTrackCov_.

Referenced by muon::isGoodMuon().

51 { return localTrackCov_; }
AlgebraicSymMatrix55 localTrackCov_
Definition: ME0Muon.h:77
const LocalVector& reco::ME0Muon::localTrackMomAtSurface ( ) const
inline

Definition at line 47 of file ME0Muon.h.

References localTrackMomAtSurface_.

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

47 { return localTrackMomAtSurface_; }
LocalVector localTrackMomAtSurface_
Definition: ME0Muon.h:74
const LocalPoint& reco::ME0Muon::localTrackPosAtSurface ( ) const
inline

Definition at line 46 of file ME0Muon.h.

References localTrackPosAtSurface_.

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

46 { return localTrackPosAtSurface_; }
LocalPoint localTrackPosAtSurface_
Definition: ME0Muon.h:73
int reco::ME0Muon::me0segid ( ) const
inline

Definition at line 41 of file ME0Muon.h.

References me0segid_.

41 {return me0segid_;}
int me0segid_
Definition: ME0Muon.h:68
const ME0Segment& reco::ME0Muon::me0segment ( ) const
inline

Definition at line 37 of file ME0Muon.h.

References me0Segment_.

Referenced by muon::isGoodMuon().

37 { return me0Segment_; }
ME0Segment me0Segment_
Definition: ME0Muon.h:67
bool ME0Muon::overlap ( const Candidate c) const
privatevirtual

check overlap with another candidate

Implements reco::RecoCandidate.

Definition at line 12 of file ME0Muon.cc.

References EnergyCorrector::c, reco::RecoCandidate::checkOverlap(), connectstrParser::o, track(), and reco::RecoCandidate::track().

12  {
13  const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c );
14  return ( o != 0 &&
15  ( checkOverlap( track(), o->track() ))
16  );
17 }
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:69
virtual reco::TrackRef track() const
reference to a Track
virtual TrackRef track() const
reference to a Track
Definition: ME0Muon.h:30
void reco::ME0Muon::setGlobalTrackCov ( const AlgebraicSymMatrix66 trackCov)
inline

Definition at line 58 of file ME0Muon.h.

References globalTrackCov_.

Referenced by ME0SegmentMatcher::produce().

58 { globalTrackCov_ = trackCov; }
AlgebraicSymMatrix66 globalTrackCov_
Definition: ME0Muon.h:76
void reco::ME0Muon::setGlobalTrackMomAtSurface ( const GlobalVector globalTrackMomAtSurface)
inline

Definition at line 54 of file ME0Muon.h.

References globalTrackMomAtSurface(), and globalTrackMomAtSurface_.

Referenced by ME0SegmentMatcher::produce().

const GlobalVector & globalTrackMomAtSurface() const
Definition: ME0Muon.h:45
GlobalVector globalTrackMomAtSurface_
Definition: ME0Muon.h:71
void reco::ME0Muon::setGlobalTrackPosAtSurface ( const GlobalPoint globalTrackPosAtSurface)
inline

Definition at line 53 of file ME0Muon.h.

References globalTrackPosAtSurface(), and globalTrackPosAtSurface_.

Referenced by ME0SegmentMatcher::produce().

const GlobalPoint & globalTrackPosAtSurface() const
Definition: ME0Muon.h:44
GlobalPoint globalTrackPosAtSurface_
Definition: ME0Muon.h:70
void reco::ME0Muon::setInnerTrack ( const TrackRef t)
inline

set reference to Track

Definition at line 32 of file ME0Muon.h.

References innerTrack_, and lumiQTWidget::t.

Referenced by setTrack().

32 { innerTrack_ = t; }
TrackRef innerTrack_
reference to Track reconstructed in the tracker only
Definition: ME0Muon.h:66
void reco::ME0Muon::setLocalTrackCov ( const AlgebraicSymMatrix55 trackCov)
inline

Definition at line 59 of file ME0Muon.h.

References localTrackCov_.

Referenced by ME0SegmentMatcher::produce().

59 { localTrackCov_ = trackCov; }
AlgebraicSymMatrix55 localTrackCov_
Definition: ME0Muon.h:77
void reco::ME0Muon::setLocalTrackMomAtSurface ( const LocalVector localTrackMomAtSurface)
inline

Definition at line 56 of file ME0Muon.h.

References localTrackMomAtSurface(), and localTrackMomAtSurface_.

Referenced by ME0SegmentMatcher::produce().

const LocalVector & localTrackMomAtSurface() const
Definition: ME0Muon.h:47
LocalVector localTrackMomAtSurface_
Definition: ME0Muon.h:74
void reco::ME0Muon::setLocalTrackPosAtSurface ( const LocalPoint localTrackPosAtSurface)
inline

Definition at line 55 of file ME0Muon.h.

References localTrackPosAtSurface(), and localTrackPosAtSurface_.

Referenced by ME0SegmentMatcher::produce().

const LocalPoint & localTrackPosAtSurface() const
Definition: ME0Muon.h:46
LocalPoint localTrackPosAtSurface_
Definition: ME0Muon.h:73
void reco::ME0Muon::setme0segid ( const int  v)
inline

Definition at line 40 of file ME0Muon.h.

References me0segid_, and findQualityFiles::v.

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

set reference to our new ME0Segment type

Definition at line 35 of file ME0Muon.h.

References me0Segment_, and alignCSCRings::s.

35 { me0Segment_ = s; }
ME0Segment me0Segment_
Definition: ME0Muon.h:67
void reco::ME0Muon::setTrack ( const TrackRef t)
inline

Definition at line 33 of file ME0Muon.h.

References setInnerTrack().

33 { setInnerTrack(t); }
void setInnerTrack(const TrackRef &t)
set reference to Track
Definition: ME0Muon.h:32
void reco::ME0Muon::setTrackCharge ( const int &  trackCharge)
inline

Definition at line 57 of file ME0Muon.h.

References trackCharge(), and trackCharge_.

int trackCharge() const
Definition: ME0Muon.h:49
int trackCharge_
Definition: ME0Muon.h:75
virtual TrackRef reco::ME0Muon::track ( ) const
inlinevirtual

reference to a Track

Reimplemented from reco::RecoCandidate.

Definition at line 30 of file ME0Muon.h.

References innerTrack().

Referenced by overlap().

30 { return innerTrack(); }
TrackRef innerTrack() const
reference to Track reconstructed in the tracker only
Definition: ME0Muon.h:29
int reco::ME0Muon::trackCharge ( ) const
inline

Definition at line 49 of file ME0Muon.h.

References trackCharge_.

Referenced by setTrackCharge().

49 { return trackCharge_; }
int trackCharge_
Definition: ME0Muon.h:75

Member Data Documentation

AlgebraicSymMatrix66 reco::ME0Muon::globalTrackCov_
private

Definition at line 76 of file ME0Muon.h.

Referenced by globalTrackCov(), and setGlobalTrackCov().

GlobalVector reco::ME0Muon::globalTrackMomAtSurface_
private

Definition at line 71 of file ME0Muon.h.

Referenced by globalTrackMomAtSurface(), and setGlobalTrackMomAtSurface().

GlobalPoint reco::ME0Muon::globalTrackPosAtSurface_
private

Definition at line 70 of file ME0Muon.h.

Referenced by globalTrackPosAtSurface(), and setGlobalTrackPosAtSurface().

TrackRef reco::ME0Muon::innerTrack_
private

reference to Track reconstructed in the tracker only

Definition at line 66 of file ME0Muon.h.

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

AlgebraicSymMatrix55 reco::ME0Muon::localTrackCov_
private

Definition at line 77 of file ME0Muon.h.

Referenced by localTrackCov(), and setLocalTrackCov().

LocalVector reco::ME0Muon::localTrackMomAtSurface_
private

Definition at line 74 of file ME0Muon.h.

Referenced by localTrackMomAtSurface(), and setLocalTrackMomAtSurface().

LocalPoint reco::ME0Muon::localTrackPosAtSurface_
private

Definition at line 73 of file ME0Muon.h.

Referenced by localTrackPosAtSurface(), and setLocalTrackPosAtSurface().

int reco::ME0Muon::me0segid_
private

Definition at line 68 of file ME0Muon.h.

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

ME0Segment reco::ME0Muon::me0Segment_
private

Definition at line 67 of file ME0Muon.h.

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

int reco::ME0Muon::trackCharge_
private

Definition at line 75 of file ME0Muon.h.

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