test
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 Attributes
ScoutingMuon Class Reference

#include <ScoutingMuon.h>

Public Member Functions

int charge () const
 
float chi2 () const
 
float dxy () const
 
float dz () 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
 
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)
 
 ScoutingMuon ()
 
float trackIso () const
 
int type () const
 

Private Attributes

int charge_
 
float chi2_
 
float dxy_
 
float dz_
 
float ecalIso_
 
float eta_
 
float hcalIso_
 
float m_
 
float ndof_
 
int nMatchedStations_
 
int nTrackerLayersWithMeasurement_
 
int nValidMuonHits_
 
int nValidPixelHits_
 
float phi_
 
float pt_
 
float trackIso_
 
int type_
 

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

Definition at line 12 of file ScoutingMuon.h.

15  :
16  pt_(pt), eta_(eta), phi_(phi), m_(m),
type
Definition: HCALResponse.h:21
int nTrackerLayersWithMeasurement() const
Definition: ScoutingMuon.h:44
int nValidPixelHits_
Definition: ScoutingMuon.h:63
int nValidMuonHits() const
Definition: ScoutingMuon.h:41
int nTrackerLayersWithMeasurement_
Definition: ScoutingMuon.h:65
int nMatchedStations() const
Definition: ScoutingMuon.h:43
float ecalIso() const
Definition: ScoutingMuon.h:33
float dxy() const
Definition: ScoutingMuon.h:39
float ndof() const
Definition: ScoutingMuon.h:37
float eta() const
Definition: ScoutingMuon.h:30
float m() const
Definition: ScoutingMuon.h:32
float pt() const
Definition: ScoutingMuon.h:29
float chi2() const
Definition: ScoutingMuon.h:36
float ecalIso_
Definition: ScoutingMuon.h:54
float trackIso_
Definition: ScoutingMuon.h:56
float trackIso() const
Definition: ScoutingMuon.h:35
float dz() const
Definition: ScoutingMuon.h:40
float hcalIso_
Definition: ScoutingMuon.h:55
int nMatchedStations_
Definition: ScoutingMuon.h:64
int charge() const
Definition: ScoutingMuon.h:38
int nValidMuonHits_
Definition: ScoutingMuon.h:62
float phi() const
Definition: ScoutingMuon.h:31
int nValidPixelHits() const
Definition: ScoutingMuon.h:42
float hcalIso() const
Definition: ScoutingMuon.h:34
ScoutingMuon::ScoutingMuon ( )
inline

Definition at line 23 of file ScoutingMuon.h.

23  :pt_(0), eta_(0), phi_(0), m_(0), ecalIso_(0), hcalIso_(0), trackIso_(0),
24  chi2_(0), ndof_(0), charge_(0), dxy_(0), dz_(0), nValidMuonHits_(0),
26  type_(0) {}
int nValidPixelHits_
Definition: ScoutingMuon.h:63
int nTrackerLayersWithMeasurement_
Definition: ScoutingMuon.h:65
float ecalIso_
Definition: ScoutingMuon.h:54
float trackIso_
Definition: ScoutingMuon.h:56
float hcalIso_
Definition: ScoutingMuon.h:55
int nMatchedStations_
Definition: ScoutingMuon.h:64
int nValidMuonHits_
Definition: ScoutingMuon.h:62

Member Function Documentation

int ScoutingMuon::charge ( ) const
inline

Definition at line 38 of file ScoutingMuon.h.

References charge_.

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

Definition at line 36 of file ScoutingMuon.h.

References chi2_.

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

Definition at line 39 of file ScoutingMuon.h.

References dxy_.

Referenced by Electron.Electron::cutBasedId().

39 { return dxy_; }
float ScoutingMuon::dz ( ) const
inline

Definition at line 40 of file ScoutingMuon.h.

References dz_.

Referenced by Electron.Electron::cutBasedId().

40 { return dz_; }
float ScoutingMuon::ecalIso ( ) const
inline

Definition at line 33 of file ScoutingMuon.h.

References ecalIso_.

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

Definition at line 30 of file ScoutingMuon.h.

References eta_.

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

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

Definition at line 34 of file ScoutingMuon.h.

References hcalIso_.

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

Definition at line 46 of file ScoutingMuon.h.

References type_.

Referenced by Muon.Muon::muonID().

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

Definition at line 47 of file ScoutingMuon.h.

References type_.

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

Definition at line 32 of file ScoutingMuon.h.

References m_.

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

Definition at line 37 of file ScoutingMuon.h.

References ndof_.

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

Definition at line 43 of file ScoutingMuon.h.

References nMatchedStations_.

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

Definition at line 44 of file ScoutingMuon.h.

References nTrackerLayersWithMeasurement_.

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

Definition at line 41 of file ScoutingMuon.h.

References nValidMuonHits_.

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

Definition at line 42 of file ScoutingMuon.h.

References nValidPixelHits_.

42 { return nValidPixelHits_; }
int nValidPixelHits_
Definition: ScoutingMuon.h:63
float ScoutingMuon::phi ( ) const
inline

Definition at line 31 of file ScoutingMuon.h.

References phi_.

Referenced by Particle.Particle::__str__().

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

Definition at line 35 of file ScoutingMuon.h.

References trackIso_.

35 { return trackIso_; }
float trackIso_
Definition: ScoutingMuon.h:56
int ScoutingMuon::type ( ) const
inline

Member Data Documentation

int ScoutingMuon::charge_
private

Definition at line 59 of file ScoutingMuon.h.

Referenced by charge().

float ScoutingMuon::chi2_
private

Definition at line 57 of file ScoutingMuon.h.

Referenced by chi2().

float ScoutingMuon::dxy_
private

Definition at line 60 of file ScoutingMuon.h.

Referenced by dxy().

float ScoutingMuon::dz_
private

Definition at line 61 of file ScoutingMuon.h.

Referenced by dz().

float ScoutingMuon::ecalIso_
private

Definition at line 54 of file ScoutingMuon.h.

Referenced by ecalIso().

float ScoutingMuon::eta_
private

Definition at line 51 of file ScoutingMuon.h.

Referenced by eta().

float ScoutingMuon::hcalIso_
private

Definition at line 55 of file ScoutingMuon.h.

Referenced by hcalIso().

float ScoutingMuon::m_
private

Definition at line 53 of file ScoutingMuon.h.

Referenced by m().

float ScoutingMuon::ndof_
private

Definition at line 58 of file ScoutingMuon.h.

Referenced by ndof().

int ScoutingMuon::nMatchedStations_
private

Definition at line 64 of file ScoutingMuon.h.

Referenced by nMatchedStations().

int ScoutingMuon::nTrackerLayersWithMeasurement_
private

Definition at line 65 of file ScoutingMuon.h.

Referenced by nTrackerLayersWithMeasurement().

int ScoutingMuon::nValidMuonHits_
private

Definition at line 62 of file ScoutingMuon.h.

Referenced by nValidMuonHits().

int ScoutingMuon::nValidPixelHits_
private

Definition at line 63 of file ScoutingMuon.h.

Referenced by nValidPixelHits().

float ScoutingMuon::phi_
private

Definition at line 52 of file ScoutingMuon.h.

Referenced by phi().

float ScoutingMuon::pt_
private

Definition at line 50 of file ScoutingMuon.h.

Referenced by pt().

float ScoutingMuon::trackIso_
private

Definition at line 56 of file ScoutingMuon.h.

Referenced by trackIso().

int ScoutingMuon::type_
private