00001 // 00002 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00003 // Package: 00004 // MdcData 00005 // $Id: MdcDigiStatus.h,v 1.1.1.1 2005/04/21 06:04:41 zhangy Exp $ 00006 // 00007 // Abstract: 00008 // Defines the online status flags 00009 // 00010 // 00011 // Author: 00012 // R. Stroili INFN & Padova University 00013 // 00014 // Creation Date: 00015 // November 20, 2000 00016 // 00017 // ---------------------------------------------------------------------------- 00018 // 00019 #ifndef MDCDIGISTATUS_H 00020 #define MDCDIGISTATUS_H 00021 00022 class MdcDigiStatus { 00023 public: 00024 enum { badWaveform = 0x200, 00025 badPedestal = 0x400, 00026 clippedWaveform = 0x800, 00027 rawDataAppended = 0x1000, 00028 unstablePedestal = 0x2000, 00029 chargeCorrected = 0x4000 }; 00030 00031 enum { allFlags = 0x7E00, 00032 flagShift = 9 }; 00033 00034 ~MdcDigiStatus(){;} // Public to allow usage of class namespace 00035 00036 private: 00037 // Make constructor private to prevent instantiation 00038 MdcDigiStatus(){;} 00039 }; 00040 00041 #endif /* MDCDIGISTATUS_H */