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);
106 std::vector<T*>* theDigiCollection = (std::vector<T*>*)
theCollection;
107 theDigiCollection->push_back(aHit);
108 return theDigiCollection->size();
116 std::vector<T*>* theDigiCollection = (std::vector<T*>*)
theCollection;
117 return theDigiCollection->size();
164 std::vector<T*>* theDigiCollection =
new std::vector<T*>;
165 theCollection = (
void*) theDigiCollection;
175 std::vector<T*>* theDigiCollection =
new std::vector<T*>;
184 std::vector<T*>* theDigiCollection = (std::vector<T*>*) theCollection;
186 for(
size_t i = 0; i < theDigiCollection->size(); i++)
188 delete(*theDigiCollection)[i];
190 theDigiCollection->clear();
191 delete theDigiCollection;
207 std::vector<T*>* theDigiCollection = (std::vector<T*>*) theCollection;
208 size_t n = theDigiCollection->size();
209 for(
size_t i = 0; i <
n; i++)
211 (*theDigiCollection)[i]->Draw();
220 std::vector<T*>* theDigiCollection = (std::vector<T*>*) theCollection;
221 size_t n = theDigiCollection->size();
222 for(
size_t i = 0; i <
n; i++)
224 (*theDigiCollection)[i]->Print();
G4DLLIMPORT G4Allocator< G4DigiCollection > *& aDCAllocator_G4MT_TLS_()
void FreeSingle(Type *anElement)
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()