#include <G4DCofThisEvent.hh>
Definition at line 49 of file G4DCofThisEvent.hh.
◆ G4DCofThisEvent() [1/3]
G4DCofThisEvent::G4DCofThisEvent |
( |
| ) |
|
◆ G4DCofThisEvent() [2/3]
G4DCofThisEvent::G4DCofThisEvent |
( |
G4int | cap | ) |
|
|
explicit |
Definition at line 41 of file G4DCofThisEvent.cc.
42{
43 DC = new std::vector<G4VDigiCollection*>(cap, nullptr);
44}
◆ ~G4DCofThisEvent()
G4DCofThisEvent::~G4DCofThisEvent |
( |
| ) |
|
◆ G4DCofThisEvent() [3/3]
Definition at line 61 of file G4DCofThisEvent.cc.
62{
63 DC = new std::vector<G4VDigiCollection*>(rhs.DC->size());
64 for (unsigned int i = 0; i < rhs.DC->size(); ++i)
65 *(DC->at(i)) = *(rhs.DC->at(i));
66}
◆ AddDigiCollection()
◆ GetCapacity()
size_t G4DCofThisEvent::GetCapacity |
( |
| ) |
const |
|
inline |
◆ GetDC()
◆ GetNumberOfCollections()
G4int G4DCofThisEvent::GetNumberOfCollections |
( |
| ) |
const |
|
inline |
◆ operator delete()
void G4DCofThisEvent::operator delete |
( |
void * | anDCoTE | ) |
|
|
inline |
Definition at line 100 of file G4DCofThisEvent.hh.
101{
103}
G4DLLIMPORT G4Allocator< G4DCofThisEvent > *& anDCoTHAllocator_G4MT_TLS_()
◆ operator new()
void * G4DCofThisEvent::operator new |
( |
size_t | | ) |
|
|
inline |
◆ operator=()
Definition at line 68 of file G4DCofThisEvent.cc.
69{
70 if (this == &rhs) return *this;
71
73 delete d;
74 }
75 DC->resize(rhs.DC->size());
76 for (unsigned int i = 0; i < rhs.DC->size(); ++i)
77 *(DC->at(i)) = *(rhs.DC->at(i));
78 return *this;
79}
The documentation for this class was generated from the following files: