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