src
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
() : value_(0.), error_(0.), numberOfMeasurements_(0) { ; }
6
7
DeDxData::DeDxData
(
float
val
,
float
er,
unsigned
int
num
) : value_(
val
), error_(er), numberOfMeasurements_(
num
) { ; }
8
9
DeDxData::~DeDxData
() { ; }
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; }
reco::DeDxData::dEdx
float dEdx() const
Definition:
DeDxData.cc:11
DeDxData.h
createfilelist.int
int
Definition:
createfilelist.py:10
reco::DeDxData::DeDxData
DeDxData()
Definition:
DeDxData.cc:5
reco::DeDxData::dEdxError
float dEdxError() const
Definition:
DeDxData.cc:13
EgammaValidation_cff.num
num
Definition:
EgammaValidation_cff.py:33
reco::DeDxData::~DeDxData
virtual ~DeDxData()
Definition:
DeDxData.cc:9
reco::DeDxData::value_
float value_
Definition:
DeDxData.h:19
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::DeDxData::error_
float error_
Definition:
DeDxData.h:20
reco::DeDxData::numberOfSaturatedMeasurements
int numberOfSaturatedMeasurements() const
Definition:
DeDxData.cc:20
reco::DeDxData::numberOfMeasurements
unsigned int numberOfMeasurements() const
Definition:
DeDxData.cc:18
reco::DeDxData::numberOfMeasurements_
unsigned int numberOfMeasurements_
Definition:
DeDxData.h:21
heppy_batch.val
val
Definition:
heppy_batch.py:351
Generated for CMSSW Reference Manual by
1.8.14