29#ifndef G4TDigiCollection_h
30#define G4TDigiCollection_h 1
60#if defined G4DIGI_ALLOC_EXPORT
76 inline void*
operator new(size_t);
77 inline void operator delete(
void* aDC);
97 theDigiCollection->push_back(aHit);
98 return theDigiCollection->size();
105 return theDigiCollection->size();
131 auto theDigiCollection =
new std::vector<T*>;
132 theCollection = (
void*)theDigiCollection;
139 auto theDigiCollection =
new std::vector<T*>;
146 auto theDigiCollection = (std::vector<T*>*)theCollection;
147 for (
const auto* digi : *theDigiCollection) {
150 theDigiCollection->clear();
151 delete theDigiCollection;
163 auto theDigiCollection = (std::vector<T*>*)theCollection;
164 for (
auto* digi : *theDigiCollection) {
172 auto theDigiCollection = (std::vector<T*>*)theCollection;
173 for (
auto* digi : *theDigiCollection) {
G4DLLIMPORT G4Allocator< G4DigiCollection > *& aDCAllocator_G4MT_TLS_()
~G4DigiCollection() override=default
G4bool operator==(const G4DigiCollection &right) const
void DrawAllDigi() override
G4bool operator==(const G4TDigiCollection &right) const
void PrintAllDigi() override
size_t GetSize() const override
~G4TDigiCollection() override
std::vector< T * > * GetVector() const
T * operator[](size_t i) const
G4VDigi * GetDigi(size_t i) const override
G4VDigiCollection()=default