Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
TrackReco
src
DeDxData.cc
Go to the documentation of this file.
1
#include "
DataFormats/TrackReco/interface/DeDxData.h
"
2
3
using namespace
reco
;
4
5
DeDxData::DeDxData
() :
6
value_(0.),
7
error_(0.),
8
numberOfMeasurements_(0)
9
{
10
;
11
}
12
13
DeDxData::DeDxData
(
float
val,
float
er,
unsigned
int
num
) :
14
value_(val),
15
error_(er),
16
numberOfMeasurements_(num)
17
{
18
;
19
}
20
21
DeDxData::~DeDxData
()
22
{
23
;
24
}
25
26
float
DeDxData::dEdx
()
const
27
{
28
return
value_
;
29
}
30
31
float
DeDxData::dEdxError
()
const
32
{
33
return
-1;
34
/*error_;*/
35
}
36
37
unsigned
int
DeDxData::numberOfMeasurements
()
const
38
{
39
return
numberOfMeasurements_
;
40
}
41
42
int
DeDxData::numberOfSaturatedMeasurements
()
const
43
{
44
return
error_
>= 0 ? (int)
error_
: 0;
45
}
46
reco::DeDxData::dEdxError
float dEdxError() const
Definition:
DeDxData.cc:31
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
DeDxData.h
reco::DeDxData::dEdx
float dEdx() const
Definition:
DeDxData.cc:26
reco::DeDxData::numberOfMeasurements
unsigned int numberOfMeasurements() const
Definition:
DeDxData.cc:37
pileupDistInMC.num
tuple num
Definition:
pileupDistInMC.py:64
reco::DeDxData::DeDxData
DeDxData()
Definition:
DeDxData.cc:5
reco::DeDxData::~DeDxData
virtual ~DeDxData()
Definition:
DeDxData.cc:21
reco::DeDxData::value_
float value_
Definition:
DeDxData.h:22
reco::DeDxData::error_
float error_
Definition:
DeDxData.h:23
reco::DeDxData::numberOfMeasurements_
unsigned int numberOfMeasurements_
Definition:
DeDxData.h:24
reco::DeDxData::numberOfSaturatedMeasurements
int numberOfSaturatedMeasurements() const
Definition:
DeDxData.cc:42
Generated for CMSSW Reference Manual by
1.8.5