30 #include "G4HCofThisEvent.hh"
36 HC =
new std::vector<G4VHitsCollection*>;
41 HC =
new std::vector<G4VHitsCollection*>;
42 for(
G4int i=0;i<cap;i++)
51 for(
size_t i=0;i<
HC->size();i++)
59 if(HCID>=0 && HCID<
G4int(
HC->size()))
70 HC =
new std::vector<G4VHitsCollection*>(rhs.
HC->size());
71 for (
unsigned int i = 0 ; i<rhs.
HC->size() ; ++i)
72 *(
HC->at(i)) = *(rhs.
HC->at(i));
77 if (
this == &rhs )
return *
this;
79 for ( std::vector<G4VHitsCollection*>::const_iterator it =
HC->begin() ;
80 it !=
HC->end() ; ++it )
84 HC->resize(rhs.
HC->size());
85 for (
unsigned int i = 0 ; i<rhs.
HC->size() ; ++i)
86 *(
HC->at(i)) = *(rhs.
HC->at(i));
G4ThreadLocal G4Allocator< G4HCofThisEvent > * anHCoTHAllocator_G4MT_TLS_
G4HCofThisEvent & operator=(const G4HCofThisEvent &)
std::vector< G4VHitsCollection * > * HC
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)