CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/RecoTracker/TkMSParametrization/src/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 #include "FWCore/Utilities/interface/GCC11Compatibility.h"
00013 
00014 class dso_hidden SumX0AtEtaDataProvider{ 
00015 public: virtual float sumX0atEta(float eta, float r) const = 0; 
00016 }; 
00017 
00018 class dso_hidden MultipleScatteringX0Data : public SumX0AtEtaDataProvider {
00019 
00020 public:
00021   MultipleScatteringX0Data();
00022   virtual ~MultipleScatteringX0Data();
00023   int nBinsEta() const;
00024   float minEta() const;
00025   float maxEta() const;
00026   virtual float sumX0atEta(float eta, float r) const;
00027 
00028 private:
00029   std::string fileName();
00030 
00031    TFile * theFile;
00032    TH2F  * theData;
00033 };
00034 
00035 #endif