EmcSector.h

Go to the documentation of this file.
00001 #ifndef __EMCSECTOR_H__
00002 #define __EMCSECTOR_H__
00003 
00004 #include <string>
00005 
00006 class EmcSuperModule;
00007 
00013 class EmcSector
00014 {
00015  public:
00016 
00017   EmcSector();
00018   virtual  ~EmcSector();
00019 
00020  public:
00021 
00023   virtual EmcSuperModule * getSuperModule(int SMnumber) = 0;
00025   virtual void GetEnergyCalibration(int, float&, float&, float&) = 0;  
00026 
00028   virtual void setSectorId(const char *EmcSector);
00029 
00031   virtual void CorrectEnergyCalibration(const char* /*fname*/) { }
00032 
00034   virtual bool IsOK(void) const { return fIsOK; }
00035   virtual bool getStatus(void) const { return IsOK(); }
00036 
00037 protected:
00038 
00039   std::string SectorId;
00040   int SectorN;
00041   bool fIsOK;
00042 };
00043 
00044 #endif