test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DeDxData.h
Go to the documentation of this file.
1 #ifndef TrackReco_DeDxData_h
2 #define TrackReco_DeDxData_h
3 
5 
6 namespace reco
7 {
8 
9 class DeDxData
10 {
11 
12 public:
13  DeDxData();
14  DeDxData(float val, float er, unsigned int num);
15  virtual ~DeDxData();
16  float dEdx() const;
17  float dEdxError() const;
19  unsigned int numberOfMeasurements() const;
20 
21 private:
22  float value_;
23  float error_;
24  unsigned int numberOfMeasurements_;
25 };
26 
27 
28 
29 //Association Track -> float estimator
30 typedef std::vector<reco::DeDxData> DeDxDataCollection;
32 
33 
34 // //Association Track -> float estimator
35 //typedef edm::AssociationVector<reco::TrackRefProd,std::vector<DeDxData> > DeDxDataCollection;
36 //typedef DeDxDataCollection::value_type DeDxData;
37 //typedef edm::Ref<DeDxDataCollection> DeDxDataRef;
38 //typedef edm::RefProd<DeDxDataCollection> DeDxDataRefProd;
39 //typedef edm::RefVector<DeDxDataCollection> DeDxDataRefVector;
40 
41 } // namespace reco
42 #endif
43 
float dEdxError() const
Definition: DeDxData.cc:31
float dEdx() const
Definition: DeDxData.cc:26
unsigned int numberOfMeasurements() const
Definition: DeDxData.cc:37
virtual ~DeDxData()
Definition: DeDxData.cc:21
float value_
Definition: DeDxData.h:22
float error_
Definition: DeDxData.h:23
std::vector< reco::DeDxData > DeDxDataCollection
Definition: DeDxData.h:30
unsigned int numberOfMeasurements_
Definition: DeDxData.h:24
int numberOfSaturatedMeasurements() const
Definition: DeDxData.cc:42
edm::ValueMap< reco::DeDxData > DeDxDataValueMap
Definition: DeDxData.h:31