CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Friends
MuScleFitMuon Class Reference

#include <Muon.h>

Inheritance diagram for MuScleFitMuon:

Public Member Functions

Int_t charge () const
 
void copy (const MuScleFitMuon &copyMuon)
 Used to copy the content of another MuScleFitMuon. More...
 
Float_t e () const
 
Float_t E () const
 
Float_t energy () const
 
Float_t Eta () const
 
Float_t eta () const
 
UInt_t hitsMuon () const
 
UInt_t hitsTk () const
 
 MuScleFitMuon ()
 
 MuScleFitMuon (const lorentzVector &initP4, const int initCharge=-1, const double initPtError=0, const unsigned int initHitsTk=0, const unsigned int initHitsMuon=0)
 
lorentzVector p4 () const
 
Float_t Phi () const
 
Float_t phi () const
 
Float_t Pt () const
 
Float_t pt () const
 
Double_t ptError () const
 
Float_t t () const
 
Float_t x () const
 
Float_t y () const
 
Float_t z () const
 

Public Attributes

Int_t fCharge
 
UInt_t fHitsMuon
 
UInt_t fHitsTk
 
lorentzVector fP4
 
Double_t fPtError
 

Friends

std::ostream & operator<< (std::ostream &stream, const MuScleFitMuon &mu)
 

Detailed Description

Definition at line 14 of file Muon.h.

Constructor & Destructor Documentation

MuScleFitMuon::MuScleFitMuon ( )
inline

Definition at line 16 of file Muon.h.

17  : fP4(lorentzVector(0., 0., 0., 0.)),
18  fCharge(0), //+1 or -1
19  fPtError(0.),
20  fHitsMuon(0),
21  fHitsTk(0) {}
UInt_t fHitsTk
Definition: Muon.h:73
Int_t fCharge
Definition: Muon.h:70
reco::Particle::LorentzVector lorentzVector
Definition: GenMuonPair.h:9
UInt_t fHitsMuon
Definition: Muon.h:72
Double_t fPtError
Definition: Muon.h:71
lorentzVector fP4
Definition: Muon.h:69
MuScleFitMuon::MuScleFitMuon ( const lorentzVector initP4,
const int  initCharge = -1,
const double  initPtError = 0,
const unsigned int  initHitsTk = 0,
const unsigned int  initHitsMuon = 0 
)
inline

Definition at line 23 of file Muon.h.

28  : fP4(initP4), fCharge(initCharge), fPtError(initPtError), fHitsMuon(initHitsMuon), fHitsTk(initHitsTk) {}
UInt_t fHitsTk
Definition: Muon.h:73
Int_t fCharge
Definition: Muon.h:70
UInt_t fHitsMuon
Definition: Muon.h:72
Double_t fPtError
Definition: Muon.h:71
lorentzVector fP4
Definition: Muon.h:69

Member Function Documentation

Int_t MuScleFitMuon::charge ( void  ) const
inline

Definition at line 41 of file Muon.h.

References fCharge.

Referenced by copy().

41 { return fCharge; }
Int_t fCharge
Definition: Muon.h:70
void MuScleFitMuon::copy ( const MuScleFitMuon copyMuon)
inline

Used to copy the content of another MuScleFitMuon.

Definition at line 31 of file Muon.h.

References charge(), fCharge, fHitsMuon, fHitsTk, fP4, fPtError, hitsMuon(), hitsTk(), p4(), and ptError().

31  {
32  fP4 = copyMuon.p4();
33  fPtError = copyMuon.ptError();
34  fCharge = copyMuon.charge();
35  fHitsMuon = copyMuon.hitsMuon();
36  fHitsTk = copyMuon.hitsTk();
37  }
UInt_t fHitsTk
Definition: Muon.h:73
Int_t fCharge
Definition: Muon.h:70
UInt_t hitsMuon() const
Definition: Muon.h:43
UInt_t fHitsMuon
Definition: Muon.h:72
Double_t ptError() const
Definition: Muon.h:42
Double_t fPtError
Definition: Muon.h:71
UInt_t hitsTk() const
Definition: Muon.h:44
lorentzVector fP4
Definition: Muon.h:69
Int_t charge() const
Definition: Muon.h:41
lorentzVector p4() const
Definition: Muon.h:40
Float_t MuScleFitMuon::e ( ) const
inline

Definition at line 51 of file Muon.h.

References fP4.

51 { return fP4.e(); }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::E ( ) const
inline

Definition at line 53 of file Muon.h.

References fP4.

53 { return fP4.E(); }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::energy ( ) const
inline

Definition at line 54 of file Muon.h.

References fP4.

Referenced by Jet.Jet::rawEnergy().

54 { return fP4.energy(); }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::Eta ( ) const
inline

Definition at line 56 of file Muon.h.

References fP4.

56 { return fP4.Eta(); }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::eta ( void  ) const
inline

Definition at line 60 of file Muon.h.

References fP4.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

60 { return fP4.eta(); }
lorentzVector fP4
Definition: Muon.h:69
UInt_t MuScleFitMuon::hitsMuon ( ) const
inline

Definition at line 43 of file Muon.h.

References fHitsMuon.

Referenced by copy().

43 { return fHitsMuon; }
UInt_t fHitsMuon
Definition: Muon.h:72
UInt_t MuScleFitMuon::hitsTk ( ) const
inline

Definition at line 44 of file Muon.h.

References fHitsTk.

Referenced by copy().

44 { return fHitsTk; }
UInt_t fHitsTk
Definition: Muon.h:73
lorentzVector MuScleFitMuon::p4 ( ) const
inline

Definition at line 40 of file Muon.h.

References fP4.

Referenced by copy(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), Lepton.Lepton::p4WithFSR(), and RootTreeHandler::readTree().

40 { return fP4; }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::Phi ( ) const
inline

Definition at line 57 of file Muon.h.

References fP4.

57 { return fP4.Phi(); }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::phi ( void  ) const
inline

Definition at line 61 of file Muon.h.

References fP4.

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

61 { return fP4.phi(); }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::Pt ( ) const
inline

Definition at line 55 of file Muon.h.

References fP4.

55 { return fP4.Pt(); }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::pt ( ) const
inline
Double_t MuScleFitMuon::ptError ( ) const
inline

Definition at line 42 of file Muon.h.

References fPtError.

Referenced by copy().

42 { return fPtError; }
Double_t fPtError
Definition: Muon.h:71
Float_t MuScleFitMuon::t ( ) const
inline

Definition at line 50 of file Muon.h.

References fP4.

50 { return fP4.t(); }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::x ( ) const
inline
Float_t MuScleFitMuon::y ( ) const
inline

Definition at line 48 of file Muon.h.

References fP4.

Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().

48 { return fP4.y(); }
lorentzVector fP4
Definition: Muon.h:69
Float_t MuScleFitMuon::z ( ) const
inline

Definition at line 49 of file Muon.h.

References fP4.

Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().

49 { return fP4.z(); }
lorentzVector fP4
Definition: Muon.h:69

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const MuScleFitMuon mu 
)
friend

Definition at line 63 of file Muon.h.

63  {
64  stream << "p4 = " << mu.p4() << ", q = " << mu.charge() << ", ptError = " << mu.ptError()
65  << ", hitsTk = " << mu.hitsTk() << ", hitsMuon = " << mu.hitsMuon();
66  return stream;
67  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
UInt_t hitsMuon() const
Definition: Muon.h:43
Double_t ptError() const
Definition: Muon.h:42
UInt_t hitsTk() const
Definition: Muon.h:44
Int_t charge() const
Definition: Muon.h:41
lorentzVector p4() const
Definition: Muon.h:40

Member Data Documentation

Int_t MuScleFitMuon::fCharge

Definition at line 70 of file Muon.h.

Referenced by charge(), and copy().

UInt_t MuScleFitMuon::fHitsMuon

Definition at line 72 of file Muon.h.

Referenced by copy(), and hitsMuon().

UInt_t MuScleFitMuon::fHitsTk

Definition at line 73 of file Muon.h.

Referenced by copy(), and hitsTk().

lorentzVector MuScleFitMuon::fP4

Definition at line 69 of file Muon.h.

Referenced by copy(), e(), E(), energy(), Eta(), eta(), p4(), Phi(), phi(), Pt(), pt(), t(), x(), y(), and z().

Double_t MuScleFitMuon::fPtError

Definition at line 71 of file Muon.h.

Referenced by copy(), and ptError().