CMS 3D CMS Logo

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

#include <DeDxData.h>

Public Member Functions

float dEdx () const
 
 DeDxData ()
 
 DeDxData (float val, float er, unsigned int num)
 
float dEdxError () const
 
unsigned int numberOfMeasurements () const
 
int numberOfSaturatedMeasurements () const
 
virtual ~DeDxData ()
 

Private Attributes

float error_
 
unsigned int numberOfMeasurements_
 
float value_
 

Detailed Description

Definition at line 8 of file DeDxData.h.

Constructor & Destructor Documentation

◆ DeDxData() [1/2]

DeDxData::DeDxData ( )

Definition at line 5 of file DeDxData.cc.

5 : value_(0.), error_(0.), numberOfMeasurements_(0) { ; }
float value_
Definition: DeDxData.h:19
float error_
Definition: DeDxData.h:20
unsigned int numberOfMeasurements_
Definition: DeDxData.h:21

◆ DeDxData() [2/2]

DeDxData::DeDxData ( float  val,
float  er,
unsigned int  num 
)

Definition at line 7 of file DeDxData.cc.

◆ ~DeDxData()

DeDxData::~DeDxData ( )
virtual

Definition at line 9 of file DeDxData.cc.

9 { ; }

Member Function Documentation

◆ dEdx()

float DeDxData::dEdx ( ) const

Definition at line 11 of file DeDxData.cc.

References value_.

Referenced by MTVHistoProducerAlgoForTracker::fill_dedx_recoTrack_histos().

11 { return value_; }
float value_
Definition: DeDxData.h:19

◆ dEdxError()

float DeDxData::dEdxError ( ) const

Definition at line 13 of file DeDxData.cc.

13  {
14  return -1;
15  /*error_;*/
16 }

◆ numberOfMeasurements()

unsigned int DeDxData::numberOfMeasurements ( ) const

Definition at line 18 of file DeDxData.cc.

References numberOfMeasurements_.

Referenced by MTVHistoProducerAlgoForTracker::fill_dedx_recoTrack_histos().

18 { return numberOfMeasurements_; }
unsigned int numberOfMeasurements_
Definition: DeDxData.h:21

◆ numberOfSaturatedMeasurements()

int DeDxData::numberOfSaturatedMeasurements ( ) const

Definition at line 20 of file DeDxData.cc.

References error_, and createfilelist::int.

Referenced by MTVHistoProducerAlgoForTracker::fill_dedx_recoTrack_histos().

20 { return error_ >= 0 ? (int)error_ : 0; }
float error_
Definition: DeDxData.h:20

Member Data Documentation

◆ error_

float reco::DeDxData::error_
private

Definition at line 20 of file DeDxData.h.

Referenced by numberOfSaturatedMeasurements().

◆ numberOfMeasurements_

unsigned int reco::DeDxData::numberOfMeasurements_
private

Definition at line 21 of file DeDxData.h.

Referenced by numberOfMeasurements().

◆ value_

float reco::DeDxData::value_
private

Definition at line 19 of file DeDxData.h.

Referenced by dEdx().