00001 #ifndef CANDDEADCHIP_H 00002 #define CANDDEADCHIP_H 00003 00004 #include "Candidate/CandBase.h" 00005 #include "RawData/RawChannelId.h" 00006 00007 class AlgHandle; 00008 class CandContext; 00009 class CandDeadChipHandle; 00010 00011 class CandDeadChip : public CandBase 00012 { 00013 friend class CandDeadChipHandle; 00014 00015 public: 00016 typedef enum EChipStatus { 00017 kOkay = 0x00, 00018 kBad = 0x01, 00019 kCold = 0x02, 00020 kHot = 0x04, 00021 kBusy = 0x08, 00022 kError = 0x10 00023 } ChipStatus_t; 00024 00025 static CandDeadChipHandle MakeCandidate(AlgHandle& ah, CandContext& ch); 00026 CandDeadChip(); 00027 00028 protected: 00029 CandDeadChip(AlgHandle& ah); 00030 CandDeadChip(AlgHandle& ah, CandHandle& ch, CandContext& cx); 00031 CandDeadChip(const CandDeadChip& rhs); 00032 virtual ~CandDeadChip(); 00033 virtual CandDeadChip* Dup() const; 00034 virtual void CreateLocalHandle(); 00035 00036 private: 00037 Int_t fEntries; 00038 RawChannelId fRawChannelId; 00039 Int_t fAdc; 00040 Int_t fTdc; 00041 Int_t fTdc0; 00042 Int_t fErrorCode; 00043 Int_t fTriggerRate; 00044 CandDeadChip::ChipStatus_t fStatus; 00045 00046 ClassDef(CandDeadChip,2) 00047 }; 00048 00049 #endif 00050
1.3.9.1