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 > 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() [1/2]

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 >  vtxIndx 
)
inline

Definition at line 11 of file ScoutingMuon.h.

42  : pt_(pt),
43  eta_(eta),
44  phi_(phi),
45  m_(m),
49  chi2_(chi2),
50  ndof_(ndof),
51  charge_(charge),
52  dxy_(dxy),
53  dz_(dz),
58  type_(type),
62  trk_pt_(trk_pt),
float hcalIso() const
Definition: ScoutingMuon.h:113
int nValidPixelHits_
Definition: ScoutingMuon.h:156
float dxyError() const
Definition: ScoutingMuon.h:133
float phi() const
Definition: ScoutingMuon.h:110
float pt() const
Definition: ScoutingMuon.h:108
std::vector< int > vtxIndx() const
Definition: ScoutingMuon.h:140
float trk_pt() const
Definition: ScoutingMuon.h:130
float dxy() const
Definition: ScoutingMuon.h:118
float trk_lambdaError_
Definition: ScoutingMuon.h:169
int nValidMuonHits() const
Definition: ScoutingMuon.h:120
int nTrackerLayersWithMeasurement_
Definition: ScoutingMuon.h:158
float eta() const
Definition: ScoutingMuon.h:109
int nValidStripHits() const
Definition: ScoutingMuon.h:127
int nMatchedStations() const
Definition: ScoutingMuon.h:122
float trk_lambdaError() const
Definition: ScoutingMuon.h:136
float trk_phi() const
Definition: ScoutingMuon.h:131
std::vector< int > vtxIndx_
Definition: ScoutingMuon.h:173
int charge() const
Definition: ScoutingMuon.h:117
float ecalIso() const
Definition: ScoutingMuon.h:112
float trk_dsz() const
Definition: ScoutingMuon.h:138
int nTrackerLayersWithMeasurement() const
Definition: ScoutingMuon.h:123
float trk_dszError() const
Definition: ScoutingMuon.h:139
float trk_phiError() const
Definition: ScoutingMuon.h:137
float trk_dszError_
Definition: ScoutingMuon.h:172
float dzError() const
Definition: ScoutingMuon.h:134
int nValidStripHits_
Definition: ScoutingMuon.h:160
float m() const
Definition: ScoutingMuon.h:111
float trk_lambda_
Definition: ScoutingMuon.h:162
int nMatchedStations_
Definition: ScoutingMuon.h:157
float ndof() const
Definition: ScoutingMuon.h:116
float trk_qoverp() const
Definition: ScoutingMuon.h:128
float dz() const
Definition: ScoutingMuon.h:119
float trk_lambda() const
Definition: ScoutingMuon.h:129
float trk_qoverpError_
Definition: ScoutingMuon.h:168
float trk_eta() const
Definition: ScoutingMuon.h:132
float chi2() const
Definition: ScoutingMuon.h:115
int nValidPixelHits() const
Definition: ScoutingMuon.h:121
float trk_qoverpError() const
Definition: ScoutingMuon.h:135
float trackIso() const
Definition: ScoutingMuon.h:114
float trk_qoverp_
Definition: ScoutingMuon.h:161
float trk_phiError_
Definition: ScoutingMuon.h:170
def move(src, dest)
Definition: eostools.py:511

◆ ScoutingMuon() [2/2]

ScoutingMuon::ScoutingMuon ( )
inline

Definition at line 74 of file ScoutingMuon.h.

75  : pt_(0),
76  eta_(0),
77  phi_(0),
78  m_(0),
79  ecalIso_(0),
80  hcalIso_(0),
81  trackIso_(0),
82  chi2_(0),
83  ndof_(0),
84  charge_(0),
85  dxy_(0),
86  dz_(0),
87  nValidMuonHits_(0),
91  type_(0),
93  trk_qoverp_(0),
94  trk_lambda_(0),
95  trk_pt_(0),
96  trk_phi_(0),
97  trk_eta_(0),
98  dxyError_(0),
99  dzError_(0),
100  trk_qoverpError_(0),
101  trk_lambdaError_(0),
102  trk_phiError_(0),
103  trk_dsz_(0),
104  trk_dszError_(0),
105  vtxIndx_(0) {}
int nValidPixelHits_
Definition: ScoutingMuon.h:156
float trk_lambdaError_
Definition: ScoutingMuon.h:169
int nTrackerLayersWithMeasurement_
Definition: ScoutingMuon.h:158
std::vector< int > vtxIndx_
Definition: ScoutingMuon.h:173
float trk_dszError_
Definition: ScoutingMuon.h:172
int nValidStripHits_
Definition: ScoutingMuon.h:160
float trk_lambda_
Definition: ScoutingMuon.h:162
int nMatchedStations_
Definition: ScoutingMuon.h:157
float trk_qoverpError_
Definition: ScoutingMuon.h:168
float trk_qoverp_
Definition: ScoutingMuon.h:161
float trk_phiError_
Definition: ScoutingMuon.h:170

Member Function Documentation

◆ charge()

int ScoutingMuon::charge ( ) const
inline

Definition at line 117 of file ScoutingMuon.h.

References charge_.

117 { return charge_; }

◆ chi2()

float ScoutingMuon::chi2 ( void  ) const
inline

Definition at line 115 of file ScoutingMuon.h.

References chi2_.

115 { return chi2_; }

◆ dxy()

float ScoutingMuon::dxy ( ) const
inline

Definition at line 118 of file ScoutingMuon.h.

References dxy_.

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

118 { return dxy_; }

◆ dxyError()

float ScoutingMuon::dxyError ( ) const
inline

Definition at line 133 of file ScoutingMuon.h.

References dxyError_.

133 { return dxyError_; }

◆ dz()

float ScoutingMuon::dz ( ) const
inline

Definition at line 119 of file ScoutingMuon.h.

References dz_.

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

119 { return dz_; }

◆ dzError()

float ScoutingMuon::dzError ( ) const
inline

Definition at line 134 of file ScoutingMuon.h.

References dzError_.

134 { return dzError_; }

◆ ecalIso()

float ScoutingMuon::ecalIso ( ) const
inline

Definition at line 112 of file ScoutingMuon.h.

References ecalIso_.

112 { return ecalIso_; }

◆ eta()

float ScoutingMuon::eta ( ) const
inline

◆ hcalIso()

float ScoutingMuon::hcalIso ( ) const
inline

Definition at line 113 of file ScoutingMuon.h.

References hcalIso_.

113 { return hcalIso_; }

◆ isGlobalMuon()

bool ScoutingMuon::isGlobalMuon ( ) const
inline

Definition at line 125 of file ScoutingMuon.h.

References type_.

Referenced by Muon.Muon::muonID().

125 { return type_ & 1 << 1; }

◆ isTrackerMuon()

bool ScoutingMuon::isTrackerMuon ( ) const
inline

Definition at line 126 of file ScoutingMuon.h.

References type_.

126 { return type_ & 1 << 2; }

◆ m()

float ScoutingMuon::m ( ) const
inline

Definition at line 111 of file ScoutingMuon.h.

References m_.

111 { return m_; }

◆ ndof()

float ScoutingMuon::ndof ( ) const
inline

Definition at line 116 of file ScoutingMuon.h.

References ndof_.

116 { return ndof_; }

◆ nMatchedStations()

int ScoutingMuon::nMatchedStations ( ) const
inline

Definition at line 122 of file ScoutingMuon.h.

References nMatchedStations_.

122 { return nMatchedStations_; }
int nMatchedStations_
Definition: ScoutingMuon.h:157

◆ nTrackerLayersWithMeasurement()

int ScoutingMuon::nTrackerLayersWithMeasurement ( ) const
inline

Definition at line 123 of file ScoutingMuon.h.

References nTrackerLayersWithMeasurement_.

int nTrackerLayersWithMeasurement_
Definition: ScoutingMuon.h:158

◆ nValidMuonHits()

int ScoutingMuon::nValidMuonHits ( ) const
inline

Definition at line 120 of file ScoutingMuon.h.

References nValidMuonHits_.

120 { return nValidMuonHits_; }

◆ nValidPixelHits()

int ScoutingMuon::nValidPixelHits ( ) const
inline

Definition at line 121 of file ScoutingMuon.h.

References nValidPixelHits_.

121 { return nValidPixelHits_; }
int nValidPixelHits_
Definition: ScoutingMuon.h:156

◆ nValidStripHits()

int ScoutingMuon::nValidStripHits ( ) const
inline

Definition at line 127 of file ScoutingMuon.h.

References nValidStripHits_.

127 { return nValidStripHits_; }
int nValidStripHits_
Definition: ScoutingMuon.h:160

◆ phi()

float ScoutingMuon::phi ( ) const
inline

◆ pt()

float ScoutingMuon::pt ( ) const
inline

◆ trackIso()

float ScoutingMuon::trackIso ( ) const
inline

Definition at line 114 of file ScoutingMuon.h.

References trackIso_.

114 { return trackIso_; }

◆ trk_dsz()

float ScoutingMuon::trk_dsz ( ) const
inline

Definition at line 138 of file ScoutingMuon.h.

References trk_dsz_.

138 { return trk_dsz_; }

◆ trk_dszError()

float ScoutingMuon::trk_dszError ( ) const
inline

Definition at line 139 of file ScoutingMuon.h.

References trk_dszError_.

139 { return trk_dszError_; }
float trk_dszError_
Definition: ScoutingMuon.h:172

◆ trk_eta()

float ScoutingMuon::trk_eta ( ) const
inline

Definition at line 132 of file ScoutingMuon.h.

References trk_eta_.

132 { return trk_eta_; }

◆ trk_lambda()

float ScoutingMuon::trk_lambda ( ) const
inline

Definition at line 129 of file ScoutingMuon.h.

References trk_lambda_.

129 { return trk_lambda_; }
float trk_lambda_
Definition: ScoutingMuon.h:162

◆ trk_lambdaError()

float ScoutingMuon::trk_lambdaError ( ) const
inline

Definition at line 136 of file ScoutingMuon.h.

References trk_lambdaError_.

136 { return trk_lambdaError_; }
float trk_lambdaError_
Definition: ScoutingMuon.h:169

◆ trk_phi()

float ScoutingMuon::trk_phi ( ) const
inline

Definition at line 131 of file ScoutingMuon.h.

References trk_phi_.

131 { return trk_phi_; }

◆ trk_phiError()

float ScoutingMuon::trk_phiError ( ) const
inline

Definition at line 137 of file ScoutingMuon.h.

References trk_phiError_.

137 { return trk_phiError_; }
float trk_phiError_
Definition: ScoutingMuon.h:170

◆ trk_pt()

float ScoutingMuon::trk_pt ( ) const
inline

Definition at line 130 of file ScoutingMuon.h.

References trk_pt_.

130 { return trk_pt_; }

◆ trk_qoverp()

float ScoutingMuon::trk_qoverp ( ) const
inline

Definition at line 128 of file ScoutingMuon.h.

References trk_qoverp_.

128 { return trk_qoverp_; }
float trk_qoverp_
Definition: ScoutingMuon.h:161

◆ trk_qoverpError()

float ScoutingMuon::trk_qoverpError ( ) const
inline

Definition at line 135 of file ScoutingMuon.h.

References trk_qoverpError_.

135 { return trk_qoverpError_; }
float trk_qoverpError_
Definition: ScoutingMuon.h:168

◆ type()

int ScoutingMuon::type ( ) const
inline

Definition at line 124 of file ScoutingMuon.h.

References type_.

124 { return type_; }

◆ vtxIndx()

std::vector<int> ScoutingMuon::vtxIndx ( ) const
inline

Definition at line 140 of file ScoutingMuon.h.

References vtxIndx_.

140 { return vtxIndx_; }
std::vector< int > vtxIndx_
Definition: ScoutingMuon.h:173

Member Data Documentation

◆ charge_

int ScoutingMuon::charge_
private

Definition at line 152 of file ScoutingMuon.h.

Referenced by charge().

◆ chi2_

float ScoutingMuon::chi2_
private

Definition at line 150 of file ScoutingMuon.h.

Referenced by chi2().

◆ dxy_

float ScoutingMuon::dxy_
private

Definition at line 153 of file ScoutingMuon.h.

Referenced by dxy().

◆ dxyError_

float ScoutingMuon::dxyError_
private

Definition at line 166 of file ScoutingMuon.h.

Referenced by dxyError().

◆ dz_

float ScoutingMuon::dz_
private

Definition at line 154 of file ScoutingMuon.h.

Referenced by dz().

◆ dzError_

float ScoutingMuon::dzError_
private

Definition at line 167 of file ScoutingMuon.h.

Referenced by dzError().

◆ ecalIso_

float ScoutingMuon::ecalIso_
private

Definition at line 147 of file ScoutingMuon.h.

Referenced by ecalIso().

◆ eta_

float ScoutingMuon::eta_
private

Definition at line 144 of file ScoutingMuon.h.

Referenced by eta().

◆ hcalIso_

float ScoutingMuon::hcalIso_
private

Definition at line 148 of file ScoutingMuon.h.

Referenced by hcalIso().

◆ m_

float ScoutingMuon::m_
private

Definition at line 146 of file ScoutingMuon.h.

Referenced by m().

◆ ndof_

float ScoutingMuon::ndof_
private

Definition at line 151 of file ScoutingMuon.h.

Referenced by ndof().

◆ nMatchedStations_

int ScoutingMuon::nMatchedStations_
private

Definition at line 157 of file ScoutingMuon.h.

Referenced by nMatchedStations().

◆ nTrackerLayersWithMeasurement_

int ScoutingMuon::nTrackerLayersWithMeasurement_
private

Definition at line 158 of file ScoutingMuon.h.

Referenced by nTrackerLayersWithMeasurement().

◆ nValidMuonHits_

int ScoutingMuon::nValidMuonHits_
private

Definition at line 155 of file ScoutingMuon.h.

Referenced by nValidMuonHits().

◆ nValidPixelHits_

int ScoutingMuon::nValidPixelHits_
private

Definition at line 156 of file ScoutingMuon.h.

Referenced by nValidPixelHits().

◆ nValidStripHits_

int ScoutingMuon::nValidStripHits_
private

Definition at line 160 of file ScoutingMuon.h.

Referenced by nValidStripHits().

◆ phi_

float ScoutingMuon::phi_
private

Definition at line 145 of file ScoutingMuon.h.

Referenced by phi().

◆ pt_

float ScoutingMuon::pt_
private

Definition at line 143 of file ScoutingMuon.h.

Referenced by pt().

◆ trackIso_

float ScoutingMuon::trackIso_
private

Definition at line 149 of file ScoutingMuon.h.

Referenced by trackIso().

◆ trk_dsz_

float ScoutingMuon::trk_dsz_
private

Definition at line 171 of file ScoutingMuon.h.

Referenced by trk_dsz().

◆ trk_dszError_

float ScoutingMuon::trk_dszError_
private

Definition at line 172 of file ScoutingMuon.h.

Referenced by trk_dszError().

◆ trk_eta_

float ScoutingMuon::trk_eta_
private

Definition at line 165 of file ScoutingMuon.h.

Referenced by trk_eta().

◆ trk_lambda_

float ScoutingMuon::trk_lambda_
private

Definition at line 162 of file ScoutingMuon.h.

Referenced by trk_lambda().

◆ trk_lambdaError_

float ScoutingMuon::trk_lambdaError_
private

Definition at line 169 of file ScoutingMuon.h.

Referenced by trk_lambdaError().

◆ trk_phi_

float ScoutingMuon::trk_phi_
private

Definition at line 164 of file ScoutingMuon.h.

Referenced by trk_phi().

◆ trk_phiError_

float ScoutingMuon::trk_phiError_
private

Definition at line 170 of file ScoutingMuon.h.

Referenced by trk_phiError().

◆ trk_pt_

float ScoutingMuon::trk_pt_
private

Definition at line 163 of file ScoutingMuon.h.

Referenced by trk_pt().

◆ trk_qoverp_

float ScoutingMuon::trk_qoverp_
private

Definition at line 161 of file ScoutingMuon.h.

Referenced by trk_qoverp().

◆ trk_qoverpError_

float ScoutingMuon::trk_qoverpError_
private

Definition at line 168 of file ScoutingMuon.h.

Referenced by trk_qoverpError().

◆ type_

int ScoutingMuon::type_
private

◆ vtxIndx_

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

Definition at line 173 of file ScoutingMuon.h.

Referenced by vtxIndx().