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 ()
 
 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)
 
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

◆ 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) {}

Member Function Documentation

◆ charge()

int ScoutingMuon::charge ( ) const
inline

Definition at line 117 of file ScoutingMuon.h.

117 { return charge_; }

References charge_.

◆ chi2()

float ScoutingMuon::chi2 ( void  ) const
inline

Definition at line 115 of file ScoutingMuon.h.

115 { return chi2_; }

References chi2_.

◆ dxy()

float ScoutingMuon::dxy ( ) const
inline

Definition at line 118 of file ScoutingMuon.h.

118 { return dxy_; }

References dxy_.

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

◆ dxyError()

float ScoutingMuon::dxyError ( ) const
inline

Definition at line 133 of file ScoutingMuon.h.

133 { return dxyError_; }

References dxyError_.

◆ dz()

float ScoutingMuon::dz ( ) const
inline

Definition at line 119 of file ScoutingMuon.h.

119 { return dz_; }

References dz_.

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

◆ dzError()

float ScoutingMuon::dzError ( ) const
inline

Definition at line 134 of file ScoutingMuon.h.

134 { return dzError_; }

References dzError_.

◆ ecalIso()

float ScoutingMuon::ecalIso ( ) const
inline

Definition at line 112 of file ScoutingMuon.h.

112 { return ecalIso_; }

References ecalIso_.

◆ eta()

float ScoutingMuon::eta ( ) const
inline

Definition at line 109 of file ScoutingMuon.h.

109 { return eta_; }

References eta_.

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

◆ hcalIso()

float ScoutingMuon::hcalIso ( ) const
inline

Definition at line 113 of file ScoutingMuon.h.

113 { return hcalIso_; }

References hcalIso_.

◆ isGlobalMuon()

bool ScoutingMuon::isGlobalMuon ( ) const
inline

Definition at line 125 of file ScoutingMuon.h.

125 { return type_ & 1 << 1; }

References type_.

Referenced by Muon.Muon::muonID().

◆ isTrackerMuon()

bool ScoutingMuon::isTrackerMuon ( ) const
inline

Definition at line 126 of file ScoutingMuon.h.

126 { return type_ & 1 << 2; }

References type_.

◆ m()

float ScoutingMuon::m ( ) const
inline

Definition at line 111 of file ScoutingMuon.h.

111 { return m_; }

References m_.

◆ ndof()

float ScoutingMuon::ndof ( ) const
inline

Definition at line 116 of file ScoutingMuon.h.

116 { return ndof_; }

References ndof_.

◆ nMatchedStations()

int ScoutingMuon::nMatchedStations ( ) const
inline

Definition at line 122 of file ScoutingMuon.h.

122 { return nMatchedStations_; }

References nMatchedStations_.

◆ nTrackerLayersWithMeasurement()

int ScoutingMuon::nTrackerLayersWithMeasurement ( ) const
inline

Definition at line 123 of file ScoutingMuon.h.

References nTrackerLayersWithMeasurement_.

◆ nValidMuonHits()

int ScoutingMuon::nValidMuonHits ( ) const
inline

Definition at line 120 of file ScoutingMuon.h.

120 { return nValidMuonHits_; }

References nValidMuonHits_.

◆ nValidPixelHits()

int ScoutingMuon::nValidPixelHits ( ) const
inline

Definition at line 121 of file ScoutingMuon.h.

121 { return nValidPixelHits_; }

References nValidPixelHits_.

◆ nValidStripHits()

int ScoutingMuon::nValidStripHits ( ) const
inline

Definition at line 127 of file ScoutingMuon.h.

127 { return nValidStripHits_; }

References nValidStripHits_.

◆ phi()

float ScoutingMuon::phi ( ) const
inline

Definition at line 110 of file ScoutingMuon.h.

110 { return phi_; }

References phi_.

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

◆ pt()

float ScoutingMuon::pt ( ) const
inline

◆ trackIso()

float ScoutingMuon::trackIso ( ) const
inline

Definition at line 114 of file ScoutingMuon.h.

114 { return trackIso_; }

References trackIso_.

◆ trk_dsz()

float ScoutingMuon::trk_dsz ( ) const
inline

Definition at line 138 of file ScoutingMuon.h.

138 { return trk_dsz_; }

References trk_dsz_.

◆ trk_dszError()

float ScoutingMuon::trk_dszError ( ) const
inline

Definition at line 139 of file ScoutingMuon.h.

139 { return trk_dszError_; }

References trk_dszError_.

◆ trk_eta()

float ScoutingMuon::trk_eta ( ) const
inline

Definition at line 132 of file ScoutingMuon.h.

132 { return trk_eta_; }

References trk_eta_.

◆ trk_lambda()

float ScoutingMuon::trk_lambda ( ) const
inline

Definition at line 129 of file ScoutingMuon.h.

129 { return trk_lambda_; }

References trk_lambda_.

◆ trk_lambdaError()

float ScoutingMuon::trk_lambdaError ( ) const
inline

Definition at line 136 of file ScoutingMuon.h.

136 { return trk_lambdaError_; }

References trk_lambdaError_.

◆ trk_phi()

float ScoutingMuon::trk_phi ( ) const
inline

Definition at line 131 of file ScoutingMuon.h.

131 { return trk_phi_; }

References trk_phi_.

◆ trk_phiError()

float ScoutingMuon::trk_phiError ( ) const
inline

Definition at line 137 of file ScoutingMuon.h.

137 { return trk_phiError_; }

References trk_phiError_.

◆ trk_pt()

float ScoutingMuon::trk_pt ( ) const
inline

Definition at line 130 of file ScoutingMuon.h.

130 { return trk_pt_; }

References trk_pt_.

◆ trk_qoverp()

float ScoutingMuon::trk_qoverp ( ) const
inline

Definition at line 128 of file ScoutingMuon.h.

128 { return trk_qoverp_; }

References trk_qoverp_.

◆ trk_qoverpError()

float ScoutingMuon::trk_qoverpError ( ) const
inline

Definition at line 135 of file ScoutingMuon.h.

135 { return trk_qoverpError_; }

References trk_qoverpError_.

◆ type()

int ScoutingMuon::type ( ) const
inline

Definition at line 124 of file ScoutingMuon.h.

124 { return type_; }

References type_.

◆ vtxIndx()

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

Definition at line 140 of file ScoutingMuon.h.

140 { return vtxIndx_; }

References vtxIndx_.

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

ScoutingMuon::trk_lambdaError_
float trk_lambdaError_
Definition: ScoutingMuon.h:169
ScoutingMuon::nTrackerLayersWithMeasurement_
int nTrackerLayersWithMeasurement_
Definition: ScoutingMuon.h:158
ScoutingMuon::trk_qoverpError_
float trk_qoverpError_
Definition: ScoutingMuon.h:168
ScoutingMuon::ecalIso_
float ecalIso_
Definition: ScoutingMuon.h:147
ScoutingMuon::dz
float dz() const
Definition: ScoutingMuon.h:119
ScoutingMuon::trk_lambda_
float trk_lambda_
Definition: ScoutingMuon.h:162
ScoutingMuon::eta_
float eta_
Definition: ScoutingMuon.h:144
ScoutingMuon::nValidMuonHits
int nValidMuonHits() const
Definition: ScoutingMuon.h:120
ScoutingMuon::ecalIso
float ecalIso() const
Definition: ScoutingMuon.h:112
ScoutingMuon::trk_qoverp
float trk_qoverp() const
Definition: ScoutingMuon.h:128
ScoutingMuon::dxy
float dxy() const
Definition: ScoutingMuon.h:118
ScoutingMuon::trk_phi_
float trk_phi_
Definition: ScoutingMuon.h:164
ScoutingMuon::vtxIndx
std::vector< int > vtxIndx() const
Definition: ScoutingMuon.h:140
ScoutingMuon::pt_
float pt_
Definition: ScoutingMuon.h:143
ScoutingMuon::m_
float m_
Definition: ScoutingMuon.h:146
ScoutingMuon::trk_phiError
float trk_phiError() const
Definition: ScoutingMuon.h:137
ScoutingMuon::eta
float eta() const
Definition: ScoutingMuon.h:109
ScoutingMuon::trk_pt
float trk_pt() const
Definition: ScoutingMuon.h:130
ScoutingMuon::trk_phiError_
float trk_phiError_
Definition: ScoutingMuon.h:170
ScoutingMuon::dxy_
float dxy_
Definition: ScoutingMuon.h:153
ScoutingMuon::dzError
float dzError() const
Definition: ScoutingMuon.h:134
ScoutingMuon::hcalIso
float hcalIso() const
Definition: ScoutingMuon.h:113
ScoutingMuon::trk_phi
float trk_phi() const
Definition: ScoutingMuon.h:131
ScoutingMuon::dxyError_
float dxyError_
Definition: ScoutingMuon.h:166
ScoutingMuon::dxyError
float dxyError() const
Definition: ScoutingMuon.h:133
ScoutingMuon::trk_dszError_
float trk_dszError_
Definition: ScoutingMuon.h:172
ScoutingMuon::chi2_
float chi2_
Definition: ScoutingMuon.h:150
ScoutingMuon::chi2
float chi2() const
Definition: ScoutingMuon.h:115
ScoutingMuon::phi_
float phi_
Definition: ScoutingMuon.h:145
ScoutingMuon::trk_dsz
float trk_dsz() const
Definition: ScoutingMuon.h:138
ScoutingMuon::dz_
float dz_
Definition: ScoutingMuon.h:154
ScoutingMuon::nMatchedStations_
int nMatchedStations_
Definition: ScoutingMuon.h:157
ScoutingMuon::trk_eta
float trk_eta() const
Definition: ScoutingMuon.h:132
ScoutingMuon::vtxIndx_
std::vector< int > vtxIndx_
Definition: ScoutingMuon.h:173
ScoutingMuon::ndof_
float ndof_
Definition: ScoutingMuon.h:151
ScoutingMuon::nValidPixelHits
int nValidPixelHits() const
Definition: ScoutingMuon.h:121
ScoutingMuon::trk_lambdaError
float trk_lambdaError() const
Definition: ScoutingMuon.h:136
ScoutingMuon::nTrackerLayersWithMeasurement
int nTrackerLayersWithMeasurement() const
Definition: ScoutingMuon.h:123
ScoutingMuon::charge_
int charge_
Definition: ScoutingMuon.h:152
ScoutingMuon::type_
int type_
Definition: ScoutingMuon.h:159
ScoutingMuon::nMatchedStations
int nMatchedStations() const
Definition: ScoutingMuon.h:122
ScoutingMuon::pt
float pt() const
Definition: ScoutingMuon.h:108
type
type
Definition: HCALResponse.h:21
ScoutingMuon::trk_qoverp_
float trk_qoverp_
Definition: ScoutingMuon.h:161
eostools.move
def move(src, dest)
Definition: eostools.py:511
ScoutingMuon::nValidStripHits
int nValidStripHits() const
Definition: ScoutingMuon.h:127
ScoutingMuon::trk_eta_
float trk_eta_
Definition: ScoutingMuon.h:165
ScoutingMuon::dzError_
float dzError_
Definition: ScoutingMuon.h:167
ScoutingMuon::trk_dszError
float trk_dszError() const
Definition: ScoutingMuon.h:139
ScoutingMuon::trk_dsz_
float trk_dsz_
Definition: ScoutingMuon.h:171
ScoutingMuon::nValidPixelHits_
int nValidPixelHits_
Definition: ScoutingMuon.h:156
ScoutingMuon::trk_lambda
float trk_lambda() const
Definition: ScoutingMuon.h:129
ScoutingMuon::trk_qoverpError
float trk_qoverpError() const
Definition: ScoutingMuon.h:135
ScoutingMuon::hcalIso_
float hcalIso_
Definition: ScoutingMuon.h:148
ScoutingMuon::nValidMuonHits_
int nValidMuonHits_
Definition: ScoutingMuon.h:155
ScoutingMuon::phi
float phi() const
Definition: ScoutingMuon.h:110
ScoutingMuon::trackIso_
float trackIso_
Definition: ScoutingMuon.h:149
ScoutingMuon::trk_pt_
float trk_pt_
Definition: ScoutingMuon.h:163
ScoutingMuon::nValidStripHits_
int nValidStripHits_
Definition: ScoutingMuon.h:160
ScoutingMuon::m
float m() const
Definition: ScoutingMuon.h:111
ScoutingMuon::charge
int charge() const
Definition: ScoutingMuon.h:117
ScoutingMuon::trackIso
float trackIso() const
Definition: ScoutingMuon.h:114
ScoutingMuon::ndof
float ndof() const
Definition: ScoutingMuon.h:116