29#ifndef G4TDigiCollection_h
30#define G4TDigiCollection_h 1
59#if defined G4DIGI_ALLOC_EXPORT
76 inline void *
operator new(size_t);
77 inline void operator delete(
void* aDC);
100 std::vector<T*>*theDigiCollection
102 theDigiCollection->push_back(aHit);
103 return theDigiCollection->size();
110 std::vector<T*>*theDigiCollection
112 return theDigiCollection->size();
149 std::vector<T*> * theDigiCollection =
new std::vector<T*>;
150 theCollection = (
void*)theDigiCollection;
158 std::vector<T*> * theDigiCollection =
new std::vector<T*>;
165 std::vector<T*> * theDigiCollection = (std::vector<T*>*)theCollection;
167 for(
size_t i=0;i<theDigiCollection->size();i++)
168 {
delete (*theDigiCollection)[i]; }
169 theDigiCollection->clear();
170 delete theDigiCollection;
182 std::vector<T*> * theDigiCollection = (std::vector<T*>*)theCollection;
183 size_t n = theDigiCollection->size();
184 for(
size_t i=0;i<n;i++)
185 { (*theDigiCollection)[i]->Draw(); }
191 std::vector<T*> * theDigiCollection = (std::vector<T*>*)theCollection;
192 size_t n = theDigiCollection->size();
193 for(
size_t i=0;i<n;i++)
194 { (*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()