mEmcMaskDeadTowers.h

Go to the documentation of this file.
00001 #ifndef __mEmcMaskDeadTowers_h__
00002 #define __mEmcMaskDeadTowers_h__
00003 
00004 #include "phool.h"
00005 #include <vector>
00006 #include "EMCModule.h"
00007 
00008 static size_t NFEMS = 172;
00009 static size_t NCHANNELS = NFEMS*144;
00010 
00011 class PHCompositeNode;
00012 
00015 class mEmcMaskDeadTowers : public EMCModule
00016 {
00017 public:
00018   mEmcMaskDeadTowers();
00019   virtual ~mEmcMaskDeadTowers();
00020 
00021   PHBoolean event(PHCompositeNode*);
00022   unsigned int ErrorFast(int towerID);
00023   unsigned int DeadmapFast(int towerID);
00024   unsigned int WarningFast(int towerID);
00025 
00026  private:
00027   std::vector<unsigned int> fErrorMap;
00028   std::vector<unsigned int> fErrorRaw;
00029   std::vector<unsigned int> fWarnRaw;
00030   
00031 };
00032 #endif