49 #ifndef G4TAtomicHitsCollection_h
50 #define G4TAtomicHitsCollection_h 1
52 #include "G4VHitsCollection.hh"
60 #include <type_traits>
90 "G4TAtomicHitsCollection must use fundamental type");
177 for(
size_t i = 0; i < theCollection->size(); i++)
178 delete (*theCollection)[i];
179 theCollection->clear();
180 delete theCollection;
195 for(
size_t i = 0; i < theCollection->size(); i++)
196 (*theCollection)[i]->Draw();
203 for(
size_t i = 0; i < theCollection->size(); i++)
204 (*theCollection)[i]->Print();
virtual G4VHit * GetHit(size_t i) const
G4TAtomicHitsCollection()
virtual void DrawAllHits()
#define G4MUTEX_INITIALIZER
value_type * operator[](size_t i) const
virtual size_t GetSize() const
container_type * theCollection
const XML_Char int const XML_Char * value
virtual void PrintAllHits()
G4int operator==(const G4TAtomicHitsCollection< T > &right) const
container_type * GetVector() const
std::deque< value_type * > container_type
Definition of the G4atomic class.
#define G4MUTEXDESTROY(mutex)
virtual ~G4TAtomicHitsCollection()