CMS 3D CMS Logo

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  float dEdx() const;
14  float dEdxError() 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;
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
float dEdx() const
Definition: DeDxData.cc:11
float dEdxError() const
Definition: DeDxData.cc:13
virtual ~DeDxData()
Definition: DeDxData.cc:9
float value_
Definition: DeDxData.h:19
fixed size matrix
float error_
Definition: DeDxData.h:20
int numberOfSaturatedMeasurements() const
Definition: DeDxData.cc:20
unsigned int numberOfMeasurements() const
Definition: DeDxData.cc:18
std::vector< reco::DeDxData > DeDxDataCollection
Definition: DeDxData.h:25
unsigned int numberOfMeasurements_
Definition: DeDxData.h:21
edm::ValueMap< reco::DeDxData > DeDxDataValueMap
Definition: DeDxData.h:26