00001 00002 // $Id: CandDeMuxDigitListHandle.h,v 1.3 2003/04/21 18:55:45 gmieg Exp $ 00003 // 00004 // CandDeMuxDigitListHandle.h 00005 // 00006 // CandDeMuxDigitListHandle is the specialized access handle to 00007 // CandDeMuxDigitList 00008 // 00009 // Each concrete CandHandle must define a DupHandle function. 00010 // 00011 // Author: G. Irwin 5/2002 00013 00014 #ifndef CANDDEMUXDIGITLISTHANDLE_H 00015 #define CANDDEMUXDIGITLISTHANDLE_H 00016 00017 #include "CandDigit/CandDeMuxDigitList.h" 00018 #include "CandDigit/CandDigitListHandle.h" 00019 00020 class CandDeMuxDigitListHandle : public CandDigitListHandle 00021 { 00022 00023 public: 00024 CandDeMuxDigitListHandle(); 00025 CandDeMuxDigitListHandle(const CandDeMuxDigitListHandle &cdlh); 00026 CandDeMuxDigitListHandle(CandDeMuxDigitList *cdl); 00027 virtual ~CandDeMuxDigitListHandle(); 00028 virtual CandDeMuxDigitListHandle *DupHandle() const; 00029 00030 Int_t GetDeMuxDigitListFlagWord() const; 00031 Int_t GetNumValidPlanesU() const; 00032 Int_t GetNumValidPlanesV() const; 00033 Int_t GetNumStrayPlanesU() const; 00034 Int_t GetNumStrayPlanesV() const; 00035 Float_t GetAvgTimeOffset() const; 00036 void SetDeMuxDigitListFlagBit( // Turn bit(s) on 00037 CandDeMuxDigitList::DeMuxDigitListFlag_t ddlflag); 00038 void SetDeMuxDigitListFlagWord(Int_t ddlflag); // Set whole word 00039 void SetNumValidPlanesU(Int_t numvalidplanesu); 00040 void SetNumValidPlanesV(Int_t numvalidplanesv); 00041 void SetNumStrayPlanesU(Int_t numstrayplanesu); 00042 void SetNumStrayPlanesV(Int_t numstrayplanesv); 00043 void SetAvgTimeOffset(Float_t avgtimeoffset); 00044 void UnSetDeMuxDigitListFlagBit( // Turn bit(s) off 00045 CandDeMuxDigitList::DeMuxDigitListFlag_t ddlflag); 00046 00047 virtual void Trace(const char *c = "") const; 00048 00049 ClassDef(CandDeMuxDigitListHandle,1) // Handle to CandDeMuxDigitList 00050 00051 }; 00052 00053 #endif // CANDDEMUXDIGITLISTHANDLE_H
1.3.9.1