39 HC =
new std::vector<G4VHitsCollection*>;
44 HC =
new std::vector<G4VHitsCollection*>;
45 for(
G4int i=0;i<cap;i++)
54 for(
size_t i=0;i<HC->size();i++)
62 if(HCID>=0 && HCID<
G4int(HC->size()))
73 HC =
new std::vector<G4VHitsCollection*>(rhs.HC->size());
74 for (
unsigned int i = 0 ; i<rhs.HC->size() ; ++i)
75 *(HC->at(i)) = *(rhs.HC->at(i));
80 if (
this == &rhs )
return *
this;
82 for ( std::vector<G4VHitsCollection*>::const_iterator it = HC->begin() ;
83 it != HC->end() ; ++it )
87 HC->resize(rhs.HC->size());
88 for (
unsigned int i = 0 ; i<rhs.HC->size() ; ++i)
89 *(HC->at(i)) = *(rhs.HC->at(i));
G4Allocator< G4HCofThisEvent > *& anHCoTHAllocator_G4MT_TLS_()
G4DLLIMPORT G4Allocator< G4HCofThisEvent > *& anHCoTHAllocator_G4MT_TLS_()
G4HCofThisEvent & operator=(const G4HCofThisEvent &)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
#define G4ThreadLocalStatic