00001 #ifndef DIGITVECTOR_H
00002 #define DIGITVECTOR_H
00003
00004
00005
00006
00008
00009 #include <TObject.h>
00010 #include "CandDigit/CandDigitHandle.h"
00011
00012 class CandDigitHandle;
00013
00014 class DigitVector : public TObject,
00015 public std::vector<CandDigitHandle>
00016 {
00017 public:
00018 DigitVector() {};
00019
00020 DigitVector(const CandHandle* p)
00021 { FillFrom(p); };
00022
00023 DigitVector(const DigitVector& list,
00024 UInt_t start,
00025 UInt_t stop )
00026 { FillFrom(list,start,stop); };
00027
00028 void FillFrom(const CandHandle*, Bool_t nodupe = false);
00029 void FillFrom(const DigitVector& list,
00030 UInt_t start,
00031 UInt_t stop,
00032 Bool_t nodupe = false);
00033
00034
00035 void AddDigit(CandDigitHandle,Bool_t nodupe = false);
00036 };
00037
00038 #endif