41 DC =
new std::vector<G4VDigiCollection*>;
46 DC =
new std::vector<G4VDigiCollection*>;
47 for(
G4int i=0;i<cap;i++)
56 for(
size_t i=0;i<
DC->size();i++)
64 if(DCID>=0 && DCID<
G4int(
DC->size()))
65 { (*DC)[DCID] = aDC; }
71 DC =
new std::vector<G4VDigiCollection*>(rhs.
DC->size());
72 for (
unsigned int i = 0 ; i < rhs.
DC->size() ; ++i )
73 *(
DC->at(i)) = *(rhs.
DC->at(i));
78 if (
this == &rhs )
return *
this;
80 for ( std::vector<G4VDigiCollection*>::const_iterator it =
DC->begin() ;
81 it !=
DC->end() ; ++it )
85 DC->resize(rhs.
DC->size());
86 for (
unsigned int i = 0 ; i < rhs.
DC->size() ; ++i )
87 *(
DC->at(i)) = *(rhs.
DC->at(i));
G4DCofThisEvent & operator=(const G4DCofThisEvent &)
std::vector< G4VDigiCollection * > * DC
#define G4ThreadLocalStatic
G4DLLIMPORT G4Allocator< G4DCofThisEvent > *& anDCoTHAllocator_G4MT_TLS_()
void AddDigiCollection(G4int DCID, G4VDigiCollection *aDC)