Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DigitVector.h

Go to the documentation of this file.
00001 #ifndef DIGITVECTOR_H
00002 #define DIGITVECTOR_H
00003 
00004 // A simple wrapper for std::vector<CandDigitHandle>
00005 //
00006 // n.tagg1@physics.ox.ac.uk
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

Generated on Mon Feb 15 11:06:37 2010 for loon by  doxygen 1.3.9.1