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::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 9 of file DeDxData.h.

Constructor & Destructor Documentation

DeDxData::DeDxData ( )

Definition at line 5 of file DeDxData.cc.

5  :
6  value_(0.),
7  error_(0.),
9 {
10  ;
11 }
float value_
Definition: DeDxData.h:22
float error_
Definition: DeDxData.h:23
unsigned int numberOfMeasurements_
Definition: DeDxData.h:24
DeDxData::DeDxData ( float  val,
float  er,
unsigned int  num 
)

Definition at line 13 of file DeDxData.cc.

13  :
14  value_(val),
15  error_(er),
17 {
18  ;
19 }
float value_
Definition: DeDxData.h:22
float error_
Definition: DeDxData.h:23
unsigned int numberOfMeasurements_
Definition: DeDxData.h:24
DeDxData::~DeDxData ( )
virtual

Definition at line 21 of file DeDxData.cc.

22 {
23  ;
24 }

Member Function Documentation

float DeDxData::dEdx ( ) const

Definition at line 26 of file DeDxData.cc.

References value_.

Referenced by MTVHistoProducerAlgoForTracker::fill_dedx_recoTrack_histos().

27 {
28  return value_;
29 }
float value_
Definition: DeDxData.h:22
float DeDxData::dEdxError ( ) const

Definition at line 31 of file DeDxData.cc.

32 {
33  return -1;
34  /*error_;*/
35 }
unsigned int DeDxData::numberOfMeasurements ( ) const

Definition at line 37 of file DeDxData.cc.

References numberOfMeasurements_.

Referenced by MTVHistoProducerAlgoForTracker::fill_dedx_recoTrack_histos().

38 {
39  return numberOfMeasurements_;
40 }
unsigned int numberOfMeasurements_
Definition: DeDxData.h:24
int DeDxData::numberOfSaturatedMeasurements ( ) const

Definition at line 42 of file DeDxData.cc.

References error_.

Referenced by MTVHistoProducerAlgoForTracker::fill_dedx_recoTrack_histos().

43 {
44  return error_ >= 0 ? (int)error_ : 0;
45 }
float error_
Definition: DeDxData.h:23

Member Data Documentation

float reco::DeDxData::error_
private

Definition at line 23 of file DeDxData.h.

Referenced by numberOfSaturatedMeasurements().

unsigned int reco::DeDxData::numberOfMeasurements_
private

Definition at line 24 of file DeDxData.h.

Referenced by numberOfMeasurements().

float reco::DeDxData::value_
private

Definition at line 22 of file DeDxData.h.

Referenced by dEdx().