CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoTracker/TkMSParametrization/interface/MultipleScatteringX0Data.h

Go to the documentation of this file.
00001 #ifndef MultipleScatteringX0Data_H
00002 #define MultipleScatteringX0Data_H
00003 
00008 #include <string>
00009 class TFile;
00010 class TH2F;
00011 
00012 
00013 class SumX0AtEtaDataProvider{ 
00014 public: virtual float sumX0atEta(float eta, float r) const = 0; 
00015 }; 
00016 
00017 class MultipleScatteringX0Data : public SumX0AtEtaDataProvider {
00018 
00019 public:
00020   MultipleScatteringX0Data();
00021   virtual ~MultipleScatteringX0Data();
00022   int nBinsEta() const;
00023   float minEta() const;
00024   float maxEta() const;
00025   virtual float sumX0atEta(float eta, float r) const;
00026 
00027 private:
00028   std::string fileName();
00029 
00030    TFile * theFile;
00031    TH2F  * theData;
00032 };
00033 
00034 #endif