cbi2.h

Go to the documentation of this file.
00001 #ifndef CBI2_H
00002 #define CBI2_H
00003 
00004 #include "newdatreader.h"
00005 
00006 #include <map>
00007 #include <vector>
00008 
00009 class CL;
00010 class Spline;
00011 
00025 class CBI2
00026 {
00027   public:
00028     CBI2(CL&);
00029     double chi2( double beamErrorAdjust=0, double calibrationFactor=1 );
00030     double chi2WithCalibration(); 
00031 
00033     std::map<int,bool> bandDeselect;
00034 
00035   protected:
00036     double windowConv(int windowNumber,Spline &Cl, double cut_l);
00037     void init();
00038 
00039   private:
00040     const CL& mCl;
00041     double mThband[15];
00042     bool initialized;
00043     std::map<int,bool> mSavedBandDeselect;
00044     std::vector<NewdatReader::Band> mExpData;
00045     NewdatReader::Matrix mMatrix;
00046 };
00047 
00048 #endif // CBI2_H

Generated on Mon May 5 17:48:32 2008 for cmbeasy by  doxygen 1.4.6