CMS 3D CMS Logo

DeDxData.h

Go to the documentation of this file.
00001 #ifndef TrackReco_DeDxData_h
00002 #define TrackReco_DeDxData_h
00003 
00004 #include "DataFormats/Common/interface/ValueMap.h"
00005 
00006 namespace reco {
00007 
00008   class DeDxData{
00009     public:
00010       DeDxData();
00011       DeDxData(float val, float er, unsigned int num );
00012       virtual ~DeDxData();
00013 
00014       float dEdx() const;
00015       float dEdxError() const;
00016       unsigned int numberOfMeasurements() const;
00017 
00018     private:
00019       float value_;
00020       float error_;
00021       unsigned int numberOfMeasurements_;
00022   };
00023 
00024 
00025 
00026 // //Association Track -> float estimator
00027 typedef  std::vector<reco::DeDxData>    DeDxDataCollection;
00028 typedef  edm::ValueMap<reco::DeDxData>  DeDxDataValueMap;
00029 
00030 
00031 // //Association Track -> float estimator
00032 //typedef  edm::AssociationVector<reco::TrackRefProd,std::vector<DeDxData> >  DeDxDataCollection;
00033 //typedef  DeDxDataCollection::value_type DeDxData;
00034 //typedef  edm::Ref<DeDxDataCollection> DeDxDataRef;
00035 //typedef  edm::RefProd<DeDxDataCollection> DeDxDataRefProd;
00036 //typedef  edm::RefVector<DeDxDataCollection> DeDxDataRefVector;
00037 
00038 }
00039 #endif
00040 

Generated on Tue Jun 9 17:31:47 2009 for CMSSW by  doxygen 1.5.4