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

Constructor & Destructor Documentation

reco::DeDxHit::DeDxHit ( )
inline

Definition at line 13 of file DeDxHit.h.

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

Definition at line 15 of file DeDxHit.h.

16  : m_charge(ch), m_momentum(mom), m_pathLength(len), m_rawDetId(rawDetId) {}
float m_pathLength
Definition: DeDxHit.h:37
uint32_t rawDetId() const
Return the rawDetId.
Definition: DeDxHit.h:28
float m_momentum
Definition: DeDxHit.h:36
uint32_t m_rawDetId
Definition: DeDxHit.h:38
float m_charge
Definition: DeDxHit.h:35

Member Function Documentation

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

Return the angle and thick normalized, calibrated energy release.

Definition at line 19 of file DeDxHit.h.

References m_charge.

19 { return m_charge; }
float m_charge
Definition: DeDxHit.h:35
float reco::DeDxHit::momentum ( ) const
inline

Return the momentum of the trajectory at the interaction point.

Definition at line 22 of file DeDxHit.h.

References m_momentum.

22 { return m_momentum; }
float m_momentum
Definition: DeDxHit.h:36
bool reco::DeDxHit::operator< ( const DeDxHit other) const
inline

Definition at line 30 of file DeDxHit.h.

References m_charge.

30 { return m_charge < other.m_charge; }
float m_charge
Definition: DeDxHit.h:35
float reco::DeDxHit::pathLength ( ) const
inline

Return the path length.

Definition at line 25 of file DeDxHit.h.

References m_pathLength.

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

Return the rawDetId.

Definition at line 28 of file DeDxHit.h.

References m_rawDetId.

28 { return m_rawDetId; }
uint32_t m_rawDetId
Definition: DeDxHit.h:38

Member Data Documentation

float reco::DeDxHit::m_charge
private

Definition at line 35 of file DeDxHit.h.

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

float reco::DeDxHit::m_momentum
private

Definition at line 36 of file DeDxHit.h.

Referenced by momentum().

float reco::DeDxHit::m_pathLength
private

Definition at line 37 of file DeDxHit.h.

Referenced by pathLength().

uint32_t reco::DeDxHit::m_rawDetId
private

Definition at line 38 of file DeDxHit.h.

Referenced by rawDetId().