CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::DeDxHit Class Reference

#include <DeDxHit.h>

Public Member Functions

float charge () const
 Return the angle and thick normalized, calibrated energy release. More...
 
 DeDxHit ()
 
 DeDxHit (float ch, float mom, float len, uint32_t rawDetId)
 
float momentum () const
 Return the momentum of the trajectory at the interaction point. More...
 
bool operator< (const DeDxHit &other) const
 
float pathLength () const
 Return the path length. More...
 
uint32_t rawDetId () const
 Return the rawDetId. More...
 

Private Attributes

float m_charge
 
float m_momentum
 
float m_pathLength
 
uint32_t m_rawDetId
 

Detailed Description

Class defining the dedx hits, i.e. track hits with only dedx need informations

Definition at line 12 of file DeDxHit.h.

Constructor & Destructor Documentation

reco::DeDxHit::DeDxHit ( )
inline

Definition at line 16 of file DeDxHit.h.

16 {}
reco::DeDxHit::DeDxHit ( float  ch,
float  mom,
float  len,
uint32_t  rawDetId 
)
inline

Definition at line 18 of file DeDxHit.h.

18  :
19  m_charge(ch),
20  m_momentum(mom),
21  m_pathLength(len),
23  }
float m_pathLength
Definition: DeDxHit.h:54
uint32_t rawDetId() const
Return the rawDetId.
Definition: DeDxHit.h:41
float m_momentum
Definition: DeDxHit.h:53
uint32_t m_rawDetId
Definition: DeDxHit.h:55
float m_charge
Definition: DeDxHit.h:52

Member Function Documentation

float reco::DeDxHit::charge ( ) const
inline

Return the angle and thick normalized, calibrated energy release.

Definition at line 26 of file DeDxHit.h.

References m_charge.

26  {
27  return m_charge;
28  }
float m_charge
Definition: DeDxHit.h:52
float reco::DeDxHit::momentum ( ) const
inline

Return the momentum of the trajectory at the interaction point.

Definition at line 31 of file DeDxHit.h.

References m_momentum.

31  {
32  return m_momentum;
33  }
float m_momentum
Definition: DeDxHit.h:53
bool reco::DeDxHit::operator< ( const DeDxHit other) const
inline

Definition at line 45 of file DeDxHit.h.

References m_charge.

45  {
46  return m_charge < other.m_charge;
47  }
float m_charge
Definition: DeDxHit.h:52
float reco::DeDxHit::pathLength ( ) const
inline

Return the path length.

Definition at line 36 of file DeDxHit.h.

References m_pathLength.

36  {
37  return m_pathLength;
38  }
float m_pathLength
Definition: DeDxHit.h:54
uint32_t reco::DeDxHit::rawDetId ( ) const
inline

Return the rawDetId.

Definition at line 41 of file DeDxHit.h.

References m_rawDetId.

41  {
42  return m_rawDetId;
43  }
uint32_t m_rawDetId
Definition: DeDxHit.h:55

Member Data Documentation

float reco::DeDxHit::m_charge
private

Definition at line 52 of file DeDxHit.h.

Referenced by charge(), and operator<().

float reco::DeDxHit::m_momentum
private

Definition at line 53 of file DeDxHit.h.

Referenced by momentum().

float reco::DeDxHit::m_pathLength
private

Definition at line 54 of file DeDxHit.h.

Referenced by pathLength().

uint32_t reco::DeDxHit::m_rawDetId
private

Definition at line 55 of file DeDxHit.h.

Referenced by rawDetId().