CMS 3D CMS Logo

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 
7 DeDxData::DeDxData(float val, float er, unsigned int num) : value_(val), error_(er), numberOfMeasurements_(num) { ; }
8 
10 
11 float DeDxData::dEdx() const { return value_; }
12 
13 float DeDxData::dEdxError() const {
14  return -1;
15  /*error_;*/
16 }
17 
18 unsigned int DeDxData::numberOfMeasurements() const { return numberOfMeasurements_; }
19 
20 int DeDxData::numberOfSaturatedMeasurements() const { return error_ >= 0 ? (int)error_ : 0; }
DeDxData.h
reco::DeDxData::value_
float value_
Definition: DeDxData.h:19
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::DeDxData::~DeDxData
virtual ~DeDxData()
Definition: DeDxData.cc:9
reco::DeDxData::error_
float error_
Definition: DeDxData.h:20
reco::DeDxData::numberOfMeasurements
unsigned int numberOfMeasurements() const
Definition: DeDxData.cc:18
reco::DeDxData::numberOfSaturatedMeasurements
int numberOfSaturatedMeasurements() const
Definition: DeDxData.cc:20
reco::DeDxData::numberOfMeasurements_
unsigned int numberOfMeasurements_
Definition: DeDxData.h:21
createfilelist.int
int
Definition: createfilelist.py:10
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:33
heppy_batch.val
val
Definition: heppy_batch.py:351
reco::DeDxData::dEdx
float dEdx() const
Definition: DeDxData.cc:11
reco::DeDxData::DeDxData
DeDxData()
Definition: DeDxData.cc:5
reco::DeDxData::dEdxError
float dEdxError() const
Definition: DeDxData.cc:13