mEmcMIPCorrModule.h

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 //
00003 //  (c) PHENIX Collaboration 2000/10/15
00004 //
00005 // Purpose: wraps the MIP correction of DST
00006 // 
00007 // Description: algorithm class
00008 //              
00009 // Author:  Hisayuki Torii
00010 //
00011 //-----------------------------------------------------------------------------
00012 #ifndef __MEMCMIPCORRMODULE_H__
00013 #define __MEMCMIPCORRMODULE_H__
00014 #include "phool.h"
00015 
00021 class PHCompositeNode;
00022 
00023 class mEmcMIPCorrModule {
00024  public:
00026   mEmcMIPCorrModule();
00028   virtual ~mEmcMIPCorrModule() {} ;
00029 
00031   static mEmcMIPCorrModule* instance(char* filename);
00032   static mEmcMIPCorrModule* instance();
00034   PHBoolean  event(PHCompositeNode * root) ;
00035   // Access file DB
00036   void readfile(char* filename);
00037   void print();
00038 
00039  private:
00040   static mEmcMIPCorrModule* _instance;
00041   int   fVerbose ;
00042   float _corrfact[8][96][48];        //Sector*Zrow*Yrow
00043   float _corrfact_err[8][96][48];    //     For PbGl 2*96*48
00044   float _corrfact_stat[8][96][48];   //     For PbSc 6*72*36
00045 };
00046 #endif /*__MEMCMIPCORRMODULE_H__*/
00047 
00048 
00049