• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

/Users/jmonk/Physics/ForIA/ForIA/AnalysisTools/MinBiasPhiGridCorrections.hh

Go to the documentation of this file.
00001 #ifndef FORIA_MINBIAS_PHIGRID_CORRECTIONS_HH
00002 #define FORIA_MINBIAS_PHIGRID_CORRECTIONS_HH
00003 
00004 #include <vector>
00005 
00006 #include <gsl/gsl_rng.h>
00007 
00008 class TH2F;
00009 
00010 namespace ForIA{
00011 
00012   using std::vector;
00013     
00014   class MinBiasPhiGridCorrections{
00015 
00016   public:
00017     
00018     MinBiasPhiGridCorrections();
00019 
00020     ~MinBiasPhiGridCorrections();
00021     
00022     bool setGrid(const vector<double> &grid);
00023 
00024     const vector<double> &correctedGrid();
00025 
00026 //    double correctedSegment(int seg);
00027 
00028   private:
00029 
00030     void initialise();
00031 
00032     double getDelta(const TH2F *qPlot, double pT);
00033     
00034     int m_segments;
00035     
00036     bool m_doInitialise;
00037     
00038     vector<double> m_input;
00039     
00040     vector<double> m_corrected;
00041     
00042     vector<bool> m_gotSegment;
00043     bool m_gotGrid;
00044   
00045     TH2F * m_quantilePlot;
00046     
00050     double m_minPT;
00051     
00052 //    vector<TH2F*> m_selfPlots;
00053 //    vector<TH2F*> m_plusPlots;
00054 //    vector<TH2F*> m_minusPlots;
00055 
00056     gsl_rng *m_randomGenerator;
00057     
00058   };
00059 }
00060 
00061 #endif
00062 

Generated on Mon Jul 30 2012 16:56:35 for ForIA by  doxygen 1.7.2