DataFormats
TrackReco
interface
DeDxData.h
Go to the documentation of this file.
1
#ifndef TrackReco_DeDxData_h
2
#define TrackReco_DeDxData_h
3
4
#include "
DataFormats/Common/interface/ValueMap.h
"
5
6
namespace
reco
{
7
8
class
DeDxData
{
9
public
:
10
DeDxData
();
11
DeDxData
(
float
val
,
float
er,
unsigned
int
num
);
12
virtual
~DeDxData
();
13
float
dEdx
()
const
;
14
float
dEdxError
()
const
;
15
int
numberOfSaturatedMeasurements
()
const
;
16
unsigned
int
numberOfMeasurements
()
const
;
17
18
private
:
19
float
value_
;
20
float
error_
;
21
unsigned
int
numberOfMeasurements_
;
22
};
23
24
//Association Track -> float estimator
25
typedef
std::vector<reco::DeDxData>
DeDxDataCollection
;
26
typedef
edm::ValueMap<reco::DeDxData>
DeDxDataValueMap
;
27
28
// //Association Track -> float estimator
29
//typedef edm::AssociationVector<reco::TrackRefProd,std::vector<DeDxData> > DeDxDataCollection;
30
//typedef DeDxDataCollection::value_type DeDxData;
31
//typedef edm::Ref<DeDxDataCollection> DeDxDataRef;
32
//typedef edm::RefProd<DeDxDataCollection> DeDxDataRefProd;
33
//typedef edm::RefVector<DeDxDataCollection> DeDxDataRefVector;
34
35
}
// namespace reco
36
#endif
reco::DeDxData::value_
float value_
Definition:
DeDxData.h:19
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
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
EgammaValidation_cff.num
num
Definition:
EgammaValidation_cff.py:34
ValueMap.h
heppy_batch.val
val
Definition:
heppy_batch.py:351
reco::DeDxData::dEdx
float dEdx() const
Definition:
DeDxData.cc:11
reco::DeDxDataCollection
std::vector< reco::DeDxData > DeDxDataCollection
Definition:
DeDxData.h:25
edm::ValueMap
Definition:
ValueMap.h:107
reco::DeDxData
Definition:
DeDxData.h:8
reco::DeDxDataValueMap
edm::ValueMap< reco::DeDxData > DeDxDataValueMap
Definition:
DeDxData.h:26
reco::DeDxData::DeDxData
DeDxData()
Definition:
DeDxData.cc:5
reco::DeDxData::dEdxError
float dEdxError() const
Definition:
DeDxData.cc:13
Generated for CMSSW Reference Manual by
1.8.16