#include <G4DCofThisEvent.hh>
Definition at line 50 of file G4DCofThisEvent.hh.
G4DCofThisEvent::G4DCofThisEvent |
( |
| ) |
|
Definition at line 35 of file G4DCofThisEvent.cc.
37 DC =
new std::vector<G4VDigiCollection*>;
G4DLLIMPORT G4ThreadLocal G4Allocator< G4DCofThisEvent > * anDCoTHAllocator_G4MT_TLS_
G4DCofThisEvent::G4DCofThisEvent |
( |
G4int |
cap | ) |
|
Definition at line 40 of file G4DCofThisEvent.cc.
42 DC =
new std::vector<G4VDigiCollection*>;
43 for(
G4int i=0;i<cap;i++)
G4DLLIMPORT G4ThreadLocal G4Allocator< G4DCofThisEvent > * anDCoTHAllocator_G4MT_TLS_
G4DCofThisEvent::~G4DCofThisEvent |
( |
| ) |
|
Definition at line 49 of file G4DCofThisEvent.cc.
52 for(
size_t i=0;i<DC->size();i++)
G4DLLIMPORT G4ThreadLocal G4Allocator< G4DCofThisEvent > * anDCoTHAllocator_G4MT_TLS_
Definition at line 64 of file G4DCofThisEvent.cc.
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));
G4DLLIMPORT G4ThreadLocal G4Allocator< G4DCofThisEvent > * anDCoTHAllocator_G4MT_TLS_
Definition at line 58 of file G4DCofThisEvent.cc.
60 if(DCID>=0 && DCID<
G4int(DC->size()))
61 { (*DC)[DCID] = aDC; }
G4DLLIMPORT G4ThreadLocal G4Allocator< G4DCofThisEvent > * anDCoTHAllocator_G4MT_TLS_
G4int G4DCofThisEvent::GetCapacity |
( |
| ) |
const |
|
inline |
G4int G4DCofThisEvent::GetNumberOfCollections |
( |
| ) |
const |
|
inline |
void G4DCofThisEvent::operator delete |
( |
void * |
anDCoTE | ) |
|
|
inline |
Definition at line 102 of file G4DCofThisEvent.hh.
void FreeSingle(Type *anElement)
G4DLLIMPORT G4ThreadLocal G4Allocator< G4DCofThisEvent > * anDCoTHAllocator_G4MT_TLS_
void * G4DCofThisEvent::operator new |
( |
size_t |
| ) |
|
|
inline |
Definition at line 95 of file G4DCofThisEvent.hh.
G4DLLIMPORT G4ThreadLocal G4Allocator< G4DCofThisEvent > * anDCoTHAllocator_G4MT_TLS_
Definition at line 72 of file G4DCofThisEvent.cc.
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));
G4DLLIMPORT G4ThreadLocal G4Allocator< G4DCofThisEvent > * anDCoTHAllocator_G4MT_TLS_
The documentation for this class was generated from the following files: