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  class DeDxData{
9  public:
10  DeDxData();
11  DeDxData(float val, float er, unsigned int num );
12  virtual ~DeDxData();
13 
14  float dEdx() const;
15  float dEdxError() const;
17  unsigned int numberOfMeasurements() const;
18 
19  private:
20  float value_;
21  float error_;
22  unsigned int numberOfMeasurements_;
23  };
24 
25 
26 
27 // //Association Track -> float estimator
28 typedef std::vector<reco::DeDxData> DeDxDataCollection;
30 
31 
32 // //Association Track -> float estimator
33 //typedef edm::AssociationVector<reco::TrackRefProd,std::vector<DeDxData> > DeDxDataCollection;
34 //typedef DeDxDataCollection::value_type DeDxData;
35 //typedef edm::Ref<DeDxDataCollection> DeDxDataRef;
36 //typedef edm::RefProd<DeDxDataCollection> DeDxDataRefProd;
37 //typedef edm::RefVector<DeDxDataCollection> DeDxDataRefVector;
38 
39 }
40 #endif
41 
float dEdxError() const
Definition: DeDxData.cc:9
float dEdx() const
Definition: DeDxData.cc:8
unsigned int numberOfMeasurements() const
Definition: DeDxData.cc:10
virtual ~DeDxData()
Definition: DeDxData.cc:7
long long int num
Definition: procUtils.cc:71
float value_
Definition: DeDxData.h:20
float error_
Definition: DeDxData.h:21
std::vector< reco::DeDxData > DeDxDataCollection
Definition: DeDxData.h:28
unsigned int numberOfMeasurements_
Definition: DeDxData.h:22
int numberOfSaturatedMeasurements() const
Definition: DeDxData.cc:11
edm::ValueMap< reco::DeDxData > DeDxDataValueMap
Definition: DeDxData.h:29