29#ifndef G4TDigiCollection_h
30#define G4TDigiCollection_h 1
59#if defined G4DIGI_ALLOC_EXPORT
78 inline void*
operator new(size_t);
79 inline void operator delete(
void* aDC);
100 std::vector<T*>* theDigiCollection = (std::vector<T*>*)
theCollection;
101 theDigiCollection->push_back(aHit);
102 return theDigiCollection->size();
108 std::vector<T*>* theDigiCollection = (std::vector<T*>*)
theCollection;
109 return theDigiCollection->size();
143 std::vector<T*>* theDigiCollection =
new std::vector<T*>;
144 theCollection = (
void*) theDigiCollection;
151 std::vector<T*>* theDigiCollection =
new std::vector<T*>;
158 std::vector<T*>* theDigiCollection = (std::vector<T*>*) theCollection;
160 for(
size_t i = 0; i < theDigiCollection->size(); i++)
162 delete(*theDigiCollection)[i];
164 theDigiCollection->clear();
165 delete theDigiCollection;
177 std::vector<T*>* theDigiCollection = (std::vector<T*>*) theCollection;
178 size_t n = theDigiCollection->size();
179 for(
size_t i = 0; i < n; i++)
181 (*theDigiCollection)[i]->Draw();
188 std::vector<T*>* theDigiCollection = (std::vector<T*>*) theCollection;
189 size_t n = theDigiCollection->size();
190 for(
size_t i = 0; i < n; i++)
192 (*theDigiCollection)[i]->Print();
G4DLLIMPORT G4Allocator< G4DigiCollection > *& aDCAllocator_G4MT_TLS_()
virtual ~G4DigiCollection()
G4bool operator==(const G4DigiCollection &right) const
virtual size_t GetSize() const
virtual ~G4TDigiCollection()
virtual void PrintAllDigi()
G4bool operator==(const G4TDigiCollection &right) const
std::vector< T * > * GetVector() const
T * operator[](size_t i) const
virtual G4VDigi * GetDigi(size_t i) const
virtual void DrawAllDigi()