Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ParameterResolutions.h

Go to the documentation of this file.
00001 #ifndef ParameterRESOLUTION__H
00002 #define ParameterRESOLUTION__H
00003 
00004 #include "AtlfastAlgs/BinID.h"
00005 #include "AtlfastEvent/TrackTrajectory.h"
00006 
00007 namespace Atlfast {
00008   
00009   class ParameterResolutions {
00010   public:
00011     ParameterResolutions() {}
00012     ParameterResolutions(vector<BinID>& bins, double low, double high)
00013       : m_coefficientBins(bins), m_etaLow(low), m_etaHigh(high){
00014       m_powerSeries.push_back(0);
00015       m_powerSeries.push_back(1);
00016       m_powerSeries.push_back(0.5);
00017       m_powerSeries.push_back(2);
00018     }
00019     double resolution(const TrackTrajectory&) const;
00020   private:
00021     double interpolate(double, double, double) const;
00022     double calculateResolution(double, const vector<double>&) const;
00023 
00024     vector<BinID> m_coefficientBins;
00025     vector<double> m_powerSeries;
00026     double m_etaLow;
00027     double m_etaHigh;
00028   };
00029 
00030 
00031 }
00032 
00033 #endif

Generated on Tue Mar 18 11:18:24 2003 for AtlfastAlgs by doxygen1.3-rc1