CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ScoutingMuon Class Reference

#include <ScoutingMuon.h>

Public Member Functions

int charge () const
 
float chi2 () const
 
float dxy () const
 
float dxyError () const
 
float dz () const
 
float dzError () const
 
float ecalIso () const
 
float eta () const
 
float hcalIso () const
 
bool isGlobalMuon () const
 
bool isTrackerMuon () const
 
float m () const
 
float ndof () const
 
int nMatchedStations () const
 
int nTrackerLayersWithMeasurement () const
 
int nValidMuonHits () const
 
int nValidPixelHits () const
 
int nValidStripHits () const
 
float phi () const
 
float pt () const
 
 ScoutingMuon (float pt, float eta, float phi, float m, float ecalIso, float hcalIso, float trackIso, float chi2, float ndof, int charge, float dxy, float dz, int nValidMuonHits, int nValidPixelHits, int nMatchedStations, int nTrackerLayersWithMeasurement, int type, int nValidStripHits, float trk_qoverp, float trk_lambda, float trk_pt, float trk_phi, float trk_eta, float dxyError, float dzError, float trk_qoverpError, float trk_lambdaError, float trk_phiError, float trk_dsz, float trk_dszError, std::vector< int > const &vtxIndx)
 
 ScoutingMuon ()
 
float trackIso () const
 
float trk_dsz () const
 
float trk_dszError () const
 
float trk_eta () const
 
float trk_lambda () const
 
float trk_lambdaError () const
 
float trk_phi () const
 
float trk_phiError () const
 
float trk_pt () const
 
float trk_qoverp () const
 
float trk_qoverpError () const
 
int type () const
 
std::vector< int > vtxIndx () const
 

Private Attributes

int charge_
 
float chi2_
 
float dxy_
 
float dxyError_
 
float dz_
 
float dzError_
 
float ecalIso_
 
float eta_
 
float hcalIso_
 
float m_
 
float ndof_
 
int nMatchedStations_
 
int nTrackerLayersWithMeasurement_
 
int nValidMuonHits_
 
int nValidPixelHits_
 
int nValidStripHits_
 
float phi_
 
float pt_
 
float trackIso_
 
float trk_dsz_
 
float trk_dszError_
 
float trk_eta_
 
float trk_lambda_
 
float trk_lambdaError_
 
float trk_phi_
 
float trk_phiError_
 
float trk_pt_
 
float trk_qoverp_
 
float trk_qoverpError_
 
int type_
 
std::vector< int > vtxIndx_
 

Detailed Description

Definition at line 8 of file ScoutingMuon.h.

Constructor & Destructor Documentation

ScoutingMuon::ScoutingMuon ( float  pt,
float  eta,
float  phi,
float  m,
float  ecalIso,
float  hcalIso,
float  trackIso,
float  chi2,
float  ndof,
int  charge,
float  dxy,
float  dz,
int  nValidMuonHits,
int  nValidPixelHits,
int  nMatchedStations,
int  nTrackerLayersWithMeasurement,
int  type,
int  nValidStripHits,
float  trk_qoverp,
float  trk_lambda,
float  trk_pt,
float  trk_phi,
float  trk_eta,
float  dxyError,
float  dzError,
float  trk_qoverpError,
float  trk_lambdaError,
float  trk_phiError,
float  trk_dsz,
float  trk_dszError,
std::vector< int > const &  vtxIndx 
)
inline

Definition at line 12 of file ScoutingMuon.h.

18  :
19  pt_(pt), eta_(eta), phi_(phi), m_(m),
type
Definition: HCALResponse.h:21
int nValidStripHits() const
Definition: ScoutingMuon.h:57
int nTrackerLayersWithMeasurement() const
Definition: ScoutingMuon.h:53
int nValidPixelHits_
Definition: ScoutingMuon.h:86
std::vector< int > vtxIndx() const
Definition: ScoutingMuon.h:70
int nValidMuonHits() const
Definition: ScoutingMuon.h:50
float trk_lambdaError_
Definition: ScoutingMuon.h:99
float trk_lambdaError() const
Definition: ScoutingMuon.h:66
int nTrackerLayersWithMeasurement_
Definition: ScoutingMuon.h:88
int nMatchedStations() const
Definition: ScoutingMuon.h:52
float ecalIso() const
Definition: ScoutingMuon.h:42
float trk_eta_
Definition: ScoutingMuon.h:95
float dxy() const
Definition: ScoutingMuon.h:48
float ndof() const
Definition: ScoutingMuon.h:46
float eta() const
Definition: ScoutingMuon.h:39
float trk_lambda() const
Definition: ScoutingMuon.h:59
float dzError() const
Definition: ScoutingMuon.h:64
float m() const
Definition: ScoutingMuon.h:41
float trk_qoverp() const
Definition: ScoutingMuon.h:58
float trk_phi_
Definition: ScoutingMuon.h:94
float trk_phiError() const
Definition: ScoutingMuon.h:67
float pt() const
Definition: ScoutingMuon.h:38
float trk_phi() const
Definition: ScoutingMuon.h:61
std::vector< int > vtxIndx_
Definition: ScoutingMuon.h:103
float chi2() const
Definition: ScoutingMuon.h:45
float trk_pt() const
Definition: ScoutingMuon.h:60
float trk_dszError() const
Definition: ScoutingMuon.h:69
float trk_eta() const
Definition: ScoutingMuon.h:62
float dzError_
Definition: ScoutingMuon.h:97
float ecalIso_
Definition: ScoutingMuon.h:77
float trackIso_
Definition: ScoutingMuon.h:79
float dxyError() const
Definition: ScoutingMuon.h:63
float trk_dszError_
Definition: ScoutingMuon.h:102
float trackIso() const
Definition: ScoutingMuon.h:44
float dz() const
Definition: ScoutingMuon.h:49
int nValidStripHits_
Definition: ScoutingMuon.h:90
float trk_lambda_
Definition: ScoutingMuon.h:92
float hcalIso_
Definition: ScoutingMuon.h:78
int nMatchedStations_
Definition: ScoutingMuon.h:87
int charge() const
Definition: ScoutingMuon.h:47
float trk_qoverpError_
Definition: ScoutingMuon.h:98
int nValidMuonHits_
Definition: ScoutingMuon.h:85
float dxyError_
Definition: ScoutingMuon.h:96
float trk_qoverpError() const
Definition: ScoutingMuon.h:65
float phi() const
Definition: ScoutingMuon.h:40
float trk_qoverp_
Definition: ScoutingMuon.h:91
float trk_phiError_
Definition: ScoutingMuon.h:100
int nValidPixelHits() const
Definition: ScoutingMuon.h:51
float trk_dsz() const
Definition: ScoutingMuon.h:68
float hcalIso() const
Definition: ScoutingMuon.h:43
ScoutingMuon::ScoutingMuon ( )
inline

Definition at line 29 of file ScoutingMuon.h.

29  :pt_(0), eta_(0), phi_(0), m_(0), ecalIso_(0), hcalIso_(0), trackIso_(0),
30  chi2_(0), ndof_(0), charge_(0), dxy_(0), dz_(0), nValidMuonHits_(0),
33  trk_lambda_(0), trk_pt_(0),
int nValidPixelHits_
Definition: ScoutingMuon.h:86
float trk_lambdaError_
Definition: ScoutingMuon.h:99
int nTrackerLayersWithMeasurement_
Definition: ScoutingMuon.h:88
float trk_eta_
Definition: ScoutingMuon.h:95
float trk_phi_
Definition: ScoutingMuon.h:94
std::vector< int > vtxIndx_
Definition: ScoutingMuon.h:103
float dzError_
Definition: ScoutingMuon.h:97
float ecalIso_
Definition: ScoutingMuon.h:77
float trackIso_
Definition: ScoutingMuon.h:79
float trk_dszError_
Definition: ScoutingMuon.h:102
int nValidStripHits_
Definition: ScoutingMuon.h:90
float trk_lambda_
Definition: ScoutingMuon.h:92
float hcalIso_
Definition: ScoutingMuon.h:78
int nMatchedStations_
Definition: ScoutingMuon.h:87
float trk_qoverpError_
Definition: ScoutingMuon.h:98
int nValidMuonHits_
Definition: ScoutingMuon.h:85
float dxyError_
Definition: ScoutingMuon.h:96
float trk_qoverp_
Definition: ScoutingMuon.h:91
float trk_phiError_
Definition: ScoutingMuon.h:100

Member Function Documentation

int ScoutingMuon::charge ( ) const
inline

Definition at line 47 of file ScoutingMuon.h.

References charge_.

47 { return charge_; }
float ScoutingMuon::chi2 ( void  ) const
inline

Definition at line 45 of file ScoutingMuon.h.

References chi2_.

45 { return chi2_; }
float ScoutingMuon::dxy ( ) const
inline

Definition at line 48 of file ScoutingMuon.h.

References dxy_.

Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dxyPull().

48 { return dxy_; }
float ScoutingMuon::dxyError ( ) const
inline

Definition at line 63 of file ScoutingMuon.h.

References dxyError_.

63 { return dxyError_; }
float dxyError_
Definition: ScoutingMuon.h:96
float ScoutingMuon::dz ( ) const
inline

Definition at line 49 of file ScoutingMuon.h.

References dz_.

Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dzPull().

49 { return dz_; }
float ScoutingMuon::dzError ( ) const
inline

Definition at line 64 of file ScoutingMuon.h.

References dzError_.

64 { return dzError_; }
float dzError_
Definition: ScoutingMuon.h:97
float ScoutingMuon::ecalIso ( ) const
inline

Definition at line 42 of file ScoutingMuon.h.

References ecalIso_.

42 { return ecalIso_; }
float ecalIso_
Definition: ScoutingMuon.h:77
float ScoutingMuon::eta ( ) const
inline

Definition at line 39 of file ScoutingMuon.h.

References eta_.

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

39 { return eta_; }
float ScoutingMuon::hcalIso ( ) const
inline

Definition at line 43 of file ScoutingMuon.h.

References hcalIso_.

43 { return hcalIso_; }
float hcalIso_
Definition: ScoutingMuon.h:78
bool ScoutingMuon::isGlobalMuon ( ) const
inline

Definition at line 55 of file ScoutingMuon.h.

References type_.

Referenced by Muon.Muon::muonID().

55 { return type_ & 1<<1; }
bool ScoutingMuon::isTrackerMuon ( ) const
inline

Definition at line 56 of file ScoutingMuon.h.

References type_.

56 { return type_ & 1<<2; }
float ScoutingMuon::m ( ) const
inline

Definition at line 41 of file ScoutingMuon.h.

References m_.

41 { return m_; }
float ScoutingMuon::ndof ( ) const
inline

Definition at line 46 of file ScoutingMuon.h.

References ndof_.

46 { return ndof_; }
int ScoutingMuon::nMatchedStations ( ) const
inline

Definition at line 52 of file ScoutingMuon.h.

References nMatchedStations_.

52 { return nMatchedStations_; }
int nMatchedStations_
Definition: ScoutingMuon.h:87
int ScoutingMuon::nTrackerLayersWithMeasurement ( ) const
inline

Definition at line 53 of file ScoutingMuon.h.

References nTrackerLayersWithMeasurement_.

int nTrackerLayersWithMeasurement_
Definition: ScoutingMuon.h:88
int ScoutingMuon::nValidMuonHits ( ) const
inline

Definition at line 50 of file ScoutingMuon.h.

References nValidMuonHits_.

50 { return nValidMuonHits_; }
int nValidMuonHits_
Definition: ScoutingMuon.h:85
int ScoutingMuon::nValidPixelHits ( ) const
inline

Definition at line 51 of file ScoutingMuon.h.

References nValidPixelHits_.

51 { return nValidPixelHits_; }
int nValidPixelHits_
Definition: ScoutingMuon.h:86
int ScoutingMuon::nValidStripHits ( ) const
inline

Definition at line 57 of file ScoutingMuon.h.

References nValidStripHits_.

57 { return nValidStripHits_; }
int nValidStripHits_
Definition: ScoutingMuon.h:90
float ScoutingMuon::phi ( ) const
inline

Definition at line 40 of file ScoutingMuon.h.

References phi_.

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

40 { return phi_; }
float ScoutingMuon::pt ( ) const
inline
float ScoutingMuon::trackIso ( ) const
inline

Definition at line 44 of file ScoutingMuon.h.

References trackIso_.

44 { return trackIso_; }
float trackIso_
Definition: ScoutingMuon.h:79
float ScoutingMuon::trk_dsz ( ) const
inline

Definition at line 68 of file ScoutingMuon.h.

References trk_dsz_.

68 { return trk_dsz_; }
float ScoutingMuon::trk_dszError ( ) const
inline

Definition at line 69 of file ScoutingMuon.h.

References trk_dszError_.

69 { return trk_dszError_; }
float trk_dszError_
Definition: ScoutingMuon.h:102
float ScoutingMuon::trk_eta ( ) const
inline

Definition at line 62 of file ScoutingMuon.h.

References trk_eta_.

62 { return trk_eta_; }
float trk_eta_
Definition: ScoutingMuon.h:95
float ScoutingMuon::trk_lambda ( ) const
inline

Definition at line 59 of file ScoutingMuon.h.

References trk_lambda_.

59 { return trk_lambda_; }
float trk_lambda_
Definition: ScoutingMuon.h:92
float ScoutingMuon::trk_lambdaError ( ) const
inline

Definition at line 66 of file ScoutingMuon.h.

References trk_lambdaError_.

66 { return trk_lambdaError_; }
float trk_lambdaError_
Definition: ScoutingMuon.h:99
float ScoutingMuon::trk_phi ( ) const
inline

Definition at line 61 of file ScoutingMuon.h.

References trk_phi_.

61 { return trk_phi_; }
float trk_phi_
Definition: ScoutingMuon.h:94
float ScoutingMuon::trk_phiError ( ) const
inline

Definition at line 67 of file ScoutingMuon.h.

References trk_phiError_.

67 { return trk_phiError_; }
float trk_phiError_
Definition: ScoutingMuon.h:100
float ScoutingMuon::trk_pt ( ) const
inline

Definition at line 60 of file ScoutingMuon.h.

References trk_pt_.

60 { return trk_pt_; }
float ScoutingMuon::trk_qoverp ( ) const
inline

Definition at line 58 of file ScoutingMuon.h.

References trk_qoverp_.

58 { return trk_qoverp_; }
float trk_qoverp_
Definition: ScoutingMuon.h:91
float ScoutingMuon::trk_qoverpError ( ) const
inline

Definition at line 65 of file ScoutingMuon.h.

References trk_qoverpError_.

65 { return trk_qoverpError_; }
float trk_qoverpError_
Definition: ScoutingMuon.h:98
int ScoutingMuon::type ( ) const
inline
std::vector<int> ScoutingMuon::vtxIndx ( ) const
inline

Definition at line 70 of file ScoutingMuon.h.

References vtxIndx_.

70 { return vtxIndx_; }
std::vector< int > vtxIndx_
Definition: ScoutingMuon.h:103

Member Data Documentation

int ScoutingMuon::charge_
private

Definition at line 82 of file ScoutingMuon.h.

Referenced by charge().

float ScoutingMuon::chi2_
private

Definition at line 80 of file ScoutingMuon.h.

Referenced by chi2().

float ScoutingMuon::dxy_
private

Definition at line 83 of file ScoutingMuon.h.

Referenced by dxy().

float ScoutingMuon::dxyError_
private

Definition at line 96 of file ScoutingMuon.h.

Referenced by dxyError().

float ScoutingMuon::dz_
private

Definition at line 84 of file ScoutingMuon.h.

Referenced by dz().

float ScoutingMuon::dzError_
private

Definition at line 97 of file ScoutingMuon.h.

Referenced by dzError().

float ScoutingMuon::ecalIso_
private

Definition at line 77 of file ScoutingMuon.h.

Referenced by ecalIso().

float ScoutingMuon::eta_
private

Definition at line 74 of file ScoutingMuon.h.

Referenced by eta().

float ScoutingMuon::hcalIso_
private

Definition at line 78 of file ScoutingMuon.h.

Referenced by hcalIso().

float ScoutingMuon::m_
private

Definition at line 76 of file ScoutingMuon.h.

Referenced by m().

float ScoutingMuon::ndof_
private

Definition at line 81 of file ScoutingMuon.h.

Referenced by ndof().

int ScoutingMuon::nMatchedStations_
private

Definition at line 87 of file ScoutingMuon.h.

Referenced by nMatchedStations().

int ScoutingMuon::nTrackerLayersWithMeasurement_
private

Definition at line 88 of file ScoutingMuon.h.

Referenced by nTrackerLayersWithMeasurement().

int ScoutingMuon::nValidMuonHits_
private

Definition at line 85 of file ScoutingMuon.h.

Referenced by nValidMuonHits().

int ScoutingMuon::nValidPixelHits_
private

Definition at line 86 of file ScoutingMuon.h.

Referenced by nValidPixelHits().

int ScoutingMuon::nValidStripHits_
private

Definition at line 90 of file ScoutingMuon.h.

Referenced by nValidStripHits().

float ScoutingMuon::phi_
private

Definition at line 75 of file ScoutingMuon.h.

Referenced by phi().

float ScoutingMuon::pt_
private

Definition at line 73 of file ScoutingMuon.h.

Referenced by pt().

float ScoutingMuon::trackIso_
private

Definition at line 79 of file ScoutingMuon.h.

Referenced by trackIso().

float ScoutingMuon::trk_dsz_
private

Definition at line 101 of file ScoutingMuon.h.

Referenced by trk_dsz().

float ScoutingMuon::trk_dszError_
private

Definition at line 102 of file ScoutingMuon.h.

Referenced by trk_dszError().

float ScoutingMuon::trk_eta_
private

Definition at line 95 of file ScoutingMuon.h.

Referenced by trk_eta().

float ScoutingMuon::trk_lambda_
private

Definition at line 92 of file ScoutingMuon.h.

Referenced by trk_lambda().

float ScoutingMuon::trk_lambdaError_
private

Definition at line 99 of file ScoutingMuon.h.

Referenced by trk_lambdaError().

float ScoutingMuon::trk_phi_
private

Definition at line 94 of file ScoutingMuon.h.

Referenced by trk_phi().

float ScoutingMuon::trk_phiError_
private

Definition at line 100 of file ScoutingMuon.h.

Referenced by trk_phiError().

float ScoutingMuon::trk_pt_
private

Definition at line 93 of file ScoutingMuon.h.

Referenced by trk_pt().

float ScoutingMuon::trk_qoverp_
private

Definition at line 91 of file ScoutingMuon.h.

Referenced by trk_qoverp().

float ScoutingMuon::trk_qoverpError_
private

Definition at line 98 of file ScoutingMuon.h.

Referenced by trk_qoverpError().

int ScoutingMuon::type_
private
std::vector<int> ScoutingMuon::vtxIndx_
private

Definition at line 103 of file ScoutingMuon.h.

Referenced by vtxIndx().