00001 00002 // $Id: CandDigitList.h,v 1.10 2006/04/07 18:15:18 kordosky Exp $ 00003 // 00004 // CandDigitList.h 00005 // 00006 // Concrete CandDigitList class descended from CandBase. 00007 // CandBase must grant friendship to class CandRefer. 00008 // 00009 // Each concrete CandBase must define a Dup function. 00010 // 00011 // Author: G. Irwin 1/2000 00013 00014 #ifndef CANDDIGITLIST_H 00015 #define CANDDIGITLIST_H 00016 00017 #include "Candidate/CandBase.h" 00018 00019 class AlgHandle; 00020 class CandContext; 00021 class CandDigitListHandle; 00022 class CandDigitList : public CandBase 00023 { 00024 00025 friend class CandDigitListHandle; 00026 00027 public: 00028 static CandDigitListHandle MakeCandidate(AlgHandle &ah, 00029 CandContext &cx); 00030 CandDigitList(); // Public for I/O 00031 00032 virtual std::ostream& FormatToOStream(std::ostream& os, 00033 Option_t *option="") const; 00034 00035 protected: 00036 Double_t fAbsTime; // Abs snarl time in Munits base time units (sec) 00037 Bool_t fIsSparse; // Input RawDigitDataBlock was Sparsified 00038 00039 CandDigitList(AlgHandle &ah); 00040 CandDigitList(AlgHandle &ah, CandHandle &ch, CandContext &cx); 00041 CandDigitList(const CandDigitList &rhs); 00042 virtual ~CandDigitList(); 00043 virtual void CreateLocalHandle(); 00044 virtual CandDigitList *Dup() const; 00045 virtual Bool_t IsEquivalent(const TObject *rhs) const; 00046 00047 ClassDef(CandDigitList,2) // Concrete Event Candidate Class 00048 00049 }; 00050 00051 #endif // CANDDIGITLIST_H
1.3.9.1