00001
00002
00004
00005 #ifndef TDVETO_DATA_H
00006 #define TDVETO_DATA_H 1
00007
00008 #include "data/IVetoData.h"
00009
00010 #include "instrument/Glast.h"
00011 #include "geometry/Point.h"
00012
00013 #include "GaudiKernel/Kernel.h"
00014 #include "GaudiKernel/DataObject.h"
00015 #include "GaudiKernel/SmartRefVector.h"
00016 #include "GlastEvent/TopLevel/Definitions.h"
00017 #include "GlastEvent/Utilities/CellID.h"
00018 #include "GaudiKernel/ObjectVector.h"
00019 #include "GaudiKernel/ObjectList.h"
00020
00021
00022
00023 class Scintillator;
00024
00025 extern const CLID& CLID_TdVetoData;
00026
00027
00028
00032 class TdVetoData : public IVetoData, public DataObject
00033 {
00034 public:
00035
00036 virtual const CLID& clID() const { return TdVetoData::classID(); }
00037 static const CLID& classID() { return CLID_TdVetoData; }
00038
00039 TdVetoData ();
00040 ~TdVetoData ();
00041
00042 TdVetoData::const_iterator begin () const
00043 {
00044 return tileList.begin();
00045 }
00046
00047 TdVetoData::const_iterator end () const
00048 {
00049 return tileList.end();
00050 }
00051
00053 void load (const Scintillator& tile);
00054
00056 void printOn (std::ostream& cout) const;
00057
00058
00059 void clear ();
00060
00061 int count()const;
00062
00063 private:
00064
00065
00066 VetoList tileList;
00067
00068 private:
00069 };
00070
00071 #endif
00072