#include <G4HCofThisEvent.hh>
◆ G4HCofThisEvent() [1/7]
G4HCofThisEvent::G4HCofThisEvent |
( |
| ) |
|
Definition at line 34 of file G4HCofThisEvent.cc.
36 HC =
new std::vector<G4VHitsCollection*>;
G4ThreadLocal G4Allocator< G4HCofThisEvent > * anHCoTHAllocator_G4MT_TLS_
std::vector< G4VHitsCollection * > * HC
◆ G4HCofThisEvent() [2/7]
G4HCofThisEvent::G4HCofThisEvent |
( |
G4int |
cap | ) |
|
Definition at line 39 of file G4HCofThisEvent.cc.
41 HC =
new std::vector<G4VHitsCollection*>;
42 for(
G4int i=0;i<cap;i++)
G4ThreadLocal G4Allocator< G4HCofThisEvent > * anHCoTHAllocator_G4MT_TLS_
std::vector< G4VHitsCollection * > * HC
◆ ~G4HCofThisEvent() [1/3]
G4HCofThisEvent::~G4HCofThisEvent |
( |
| ) |
|
Definition at line 48 of file G4HCofThisEvent.cc.
51 for(
size_t i=0;i<
HC->size();i++)
G4ThreadLocal G4Allocator< G4HCofThisEvent > * anHCoTHAllocator_G4MT_TLS_
std::vector< G4VHitsCollection * > * HC
◆ G4HCofThisEvent() [3/7]
G4HCofThisEvent::G4HCofThisEvent |
( |
| ) |
|
◆ G4HCofThisEvent() [4/7]
G4HCofThisEvent::G4HCofThisEvent |
( |
G4int |
cap | ) |
|
◆ ~G4HCofThisEvent() [2/3]
G4HCofThisEvent::~G4HCofThisEvent |
( |
| ) |
|
◆ G4HCofThisEvent() [5/7]
G4HCofThisEvent::G4HCofThisEvent |
( |
| ) |
|
◆ G4HCofThisEvent() [6/7]
G4HCofThisEvent::G4HCofThisEvent |
( |
G4int |
cap | ) |
|
◆ ~G4HCofThisEvent() [3/3]
G4HCofThisEvent::~G4HCofThisEvent |
( |
| ) |
|
◆ G4HCofThisEvent() [7/7]
Definition at line 67 of file G4HCofThisEvent.cc.
70 HC =
new std::vector<G4VHitsCollection*>(rhs.
HC->size());
71 for (
unsigned int i = 0 ; i<rhs.
HC->size() ; ++i)
72 *(
HC->at(i)) = *(rhs.
HC->at(i));
G4ThreadLocal G4Allocator< G4HCofThisEvent > * anHCoTHAllocator_G4MT_TLS_
std::vector< G4VHitsCollection * > * HC
◆ AddHitsCollection() [1/3]
◆ AddHitsCollection() [2/3]
◆ AddHitsCollection() [3/3]
Definition at line 57 of file G4HCofThisEvent.cc.
59 if(HCID>=0 && HCID<
G4int(
HC->size()))
G4ThreadLocal G4Allocator< G4HCofThisEvent > * anHCoTHAllocator_G4MT_TLS_
std::vector< G4VHitsCollection * > * HC
◆ GetCapacity() [1/3]
G4int G4HCofThisEvent::GetCapacity |
( |
| ) |
|
|
inline |
◆ GetCapacity() [2/3]
G4int G4HCofThisEvent::GetCapacity |
( |
| ) |
|
|
inline |
◆ GetCapacity() [3/3]
G4int G4HCofThisEvent::GetCapacity |
( |
| ) |
|
|
inline |
◆ GetHC() [1/3]
◆ GetHC() [2/3]
◆ GetHC() [3/3]
◆ GetNumberOfCollections() [1/3]
G4int G4HCofThisEvent::GetNumberOfCollections |
( |
| ) |
|
|
inline |
◆ GetNumberOfCollections() [2/3]
G4int G4HCofThisEvent::GetNumberOfCollections |
( |
| ) |
|
|
inline |
◆ GetNumberOfCollections() [3/3]
G4int G4HCofThisEvent::GetNumberOfCollections |
( |
| ) |
|
|
inline |
◆ operator delete() [1/3]
void G4HCofThisEvent::operator delete |
( |
void * |
anHCoTE | ) |
|
|
inline |
◆ operator delete() [2/3]
void G4HCofThisEvent::operator delete |
( |
void * |
anHCoTE | ) |
|
|
inline |
◆ operator delete() [3/3]
void G4HCofThisEvent::operator delete |
( |
void * |
anHCoTE | ) |
|
|
inline |
◆ operator new() [1/3]
void* G4HCofThisEvent::operator new |
( |
size_t |
| ) |
|
|
inline |
◆ operator new() [2/3]
void * G4HCofThisEvent::operator new |
( |
size_t |
| ) |
|
|
inline |
◆ operator new() [3/3]
void* G4HCofThisEvent::operator new |
( |
size_t |
| ) |
|
|
inline |
◆ operator=()
Definition at line 75 of file G4HCofThisEvent.cc.
77 if (
this == &rhs )
return *
this;
79 for ( std::vector<G4VHitsCollection*>::const_iterator it =
HC->begin() ;
80 it !=
HC->end() ; ++it )
84 HC->resize(rhs.
HC->size());
85 for (
unsigned int i = 0 ; i<rhs.
HC->size() ; ++i)
86 *(
HC->at(i)) = *(rhs.
HC->at(i));
G4ThreadLocal G4Allocator< G4HCofThisEvent > * anHCoTHAllocator_G4MT_TLS_
std::vector< G4VHitsCollection * > * HC
◆ HC
The documentation for this class was generated from the following files: