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

◆ DeDxHit() [1/2]

reco::DeDxHit::DeDxHit ( )
inline

Definition at line 13 of file DeDxHit.h.

13 {}

◆ DeDxHit() [2/2]

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

Member Function Documentation

◆ charge()

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

Return the angle and thick normalized, calibrated energy release.

Definition at line 19 of file DeDxHit.h.

19 { return m_charge; }

References m_charge.

◆ momentum()

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

Return the momentum of the trajectory at the interaction point.

Definition at line 22 of file DeDxHit.h.

22 { return m_momentum; }

References m_momentum.

◆ operator<()

bool reco::DeDxHit::operator< ( const DeDxHit other) const
inline

Definition at line 30 of file DeDxHit.h.

30 { return m_charge < other.m_charge; }

References m_charge, and trackingPlots::other.

◆ pathLength()

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

Return the path length.

Definition at line 25 of file DeDxHit.h.

25 { return m_pathLength; }

References m_pathLength.

◆ rawDetId()

uint32_t reco::DeDxHit::rawDetId ( ) const
inline

Return the rawDetId.

Definition at line 28 of file DeDxHit.h.

28 { return m_rawDetId; }

References m_rawDetId.

Member Data Documentation

◆ m_charge

float reco::DeDxHit::m_charge
private

Definition at line 35 of file DeDxHit.h.

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

◆ m_momentum

float reco::DeDxHit::m_momentum
private

Definition at line 36 of file DeDxHit.h.

Referenced by momentum().

◆ m_pathLength

float reco::DeDxHit::m_pathLength
private

Definition at line 37 of file DeDxHit.h.

Referenced by pathLength().

◆ m_rawDetId

uint32_t reco::DeDxHit::m_rawDetId
private

Definition at line 38 of file DeDxHit.h.

Referenced by rawDetId().

reco::DeDxHit::rawDetId
uint32_t rawDetId() const
Return the rawDetId.
Definition: DeDxHit.h:28
reco::DeDxHit::m_charge
float m_charge
Definition: DeDxHit.h:35
reco::DeDxHit::m_pathLength
float m_pathLength
Definition: DeDxHit.h:37
reco::DeDxHit::m_rawDetId
uint32_t m_rawDetId
Definition: DeDxHit.h:38
reco::DeDxHit::m_momentum
float m_momentum
Definition: DeDxHit.h:36
trackingPlots.other
other
Definition: trackingPlots.py:1464