CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DeDxData.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
5  DeDxData::DeDxData() : value_(0.), error_(0.), numberOfMeasurements_(0){}
6  DeDxData::DeDxData (float val, float er, unsigned int num) : value_(val), error_(er), numberOfMeasurements_(num) {}
8 float DeDxData::dEdx() const {return value_;}
9 float DeDxData::dEdxError() const {return -1;/*error_;*/}
11 int DeDxData::numberOfSaturatedMeasurements() const {return error_>=0 ? (int)error_ : 0;}
12 
float dEdxError() const
Definition: DeDxData.cc:9
float dEdx() const
Definition: DeDxData.cc:8
unsigned int numberOfMeasurements() const
Definition: DeDxData.cc:10
virtual ~DeDxData()
Definition: DeDxData.cc:7
float value_
Definition: DeDxData.h:20
float error_
Definition: DeDxData.h:21
unsigned int numberOfMeasurements_
Definition: DeDxData.h:22
int numberOfSaturatedMeasurements() const
Definition: DeDxData.cc:11