37 DC =
new std::vector<G4VDigiCollection*>;
42 DC =
new std::vector<G4VDigiCollection*>;
43 for(
G4int i=0;i<cap;i++)
52 for(
size_t i=0;i<DC->size();i++)
60 if(DCID>=0 && DCID<
G4int(DC->size()))
61 { (*DC)[DCID] = aDC; }
67 DC =
new std::vector<G4VDigiCollection*>(rhs.DC->size());
68 for (
unsigned int i = 0 ; i < rhs.DC->size() ; ++i )
69 *(DC->at(i)) = *(rhs.DC->at(i));
74 if (
this == &rhs )
return *
this;
76 for ( std::vector<G4VDigiCollection*>::const_iterator it = DC->begin() ;
77 it != DC->end() ; ++it )
81 DC->resize(rhs.DC->size());
82 for (
unsigned int i = 0 ; i < rhs.DC->size() ; ++i )
83 *(DC->at(i)) = *(rhs.DC->at(i));
G4DCofThisEvent & operator=(const G4DCofThisEvent &)
void AddDigiCollection(G4int DCID, G4VDigiCollection *aDC)
G4DLLIMPORT G4ThreadLocal G4Allocator< G4DCofThisEvent > * anDCoTHAllocator_G4MT_TLS_