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
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 10 of file DeDxHit.h.

Constructor & Destructor Documentation

reco::DeDxHit::DeDxHit ( )
inline

Definition at line 14 of file DeDxHit.h.

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

Definition at line 16 of file DeDxHit.h.

16  :
17  m_charge(ch),
18  m_momentum(mom),
19  m_pathLength(len),
21  }
float m_pathLength
Definition: DeDxHit.h:52
uint32_t rawDetId() const
Return the rawDetId.
Definition: DeDxHit.h:39
float m_momentum
Definition: DeDxHit.h:51
uint32_t m_rawDetId
Definition: DeDxHit.h:53
float m_charge
Definition: DeDxHit.h:50

Member Function Documentation

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

Return the angle and thick normalized, calibrated energy release.

Definition at line 24 of file DeDxHit.h.

References m_charge.

24  {
25  return m_charge;
26  }
float m_charge
Definition: DeDxHit.h:50
float reco::DeDxHit::momentum ( ) const
inline

Return the momentum of the trajectory at the interaction point.

Definition at line 29 of file DeDxHit.h.

References m_momentum.

29  {
30  return m_momentum;
31  }
float m_momentum
Definition: DeDxHit.h:51
bool reco::DeDxHit::operator< ( const DeDxHit other) const
inline

Definition at line 43 of file DeDxHit.h.

References m_charge.

43  {
44  return m_charge < other.m_charge;
45  }
float m_charge
Definition: DeDxHit.h:50
float reco::DeDxHit::pathLength ( ) const
inline

Return the path length.

Definition at line 34 of file DeDxHit.h.

References m_pathLength.

34  {
35  return m_pathLength;
36  }
float m_pathLength
Definition: DeDxHit.h:52
uint32_t reco::DeDxHit::rawDetId ( ) const
inline

Return the rawDetId.

Definition at line 39 of file DeDxHit.h.

References m_rawDetId.

39  {
40  return m_rawDetId;
41  }
uint32_t m_rawDetId
Definition: DeDxHit.h:53

Member Data Documentation

float reco::DeDxHit::m_charge
private

Definition at line 50 of file DeDxHit.h.

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

float reco::DeDxHit::m_momentum
private

Definition at line 51 of file DeDxHit.h.

Referenced by momentum().

float reco::DeDxHit::m_pathLength
private

Definition at line 52 of file DeDxHit.h.

Referenced by pathLength().

uint32_t reco::DeDxHit::m_rawDetId
private

Definition at line 53 of file DeDxHit.h.

Referenced by rawDetId().