LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ShadowedMarshaledG4HCofThisEvent Class Reference

#include "MarshaledG4HCofThisEvent.h"

Inheritance diagram for ShadowedMarshaledG4HCofThisEvent:
G4HCofThisEvent G4HCofThisEvent

Public Member Functions

void * operator new (size_t)
 
void * operator new (size_t)
 
void operator delete (void *anHCoTE)
 
void operator delete (void *anHCoTE)
 
void AddHitsCollection (G4int HCID, G4VHitsCollection *aHC)
 
void AddHitsCollection (G4int HCID, G4VHitsCollection *aHC)
 
G4VHitsCollectionGetHC (G4int i)
 
G4VHitsCollectionGetHC (G4int i)
 
G4int GetNumberOfCollections ()
 
G4int GetNumberOfCollections ()
 
G4int GetCapacity ()
 
G4int GetCapacity ()
 

Friends

class MarshaledG4HCofThisEvent
 

Detailed Description

Definition at line 26 of file MarshaledG4HCofThisEvent.h.

Member Function Documentation

void G4HCofThisEvent::AddHitsCollection ( G4int  HCID,
G4VHitsCollection aHC 
)
inherited
void G4HCofThisEvent::AddHitsCollection ( G4int  HCID,
G4VHitsCollection aHC 
)
inherited
G4int G4HCofThisEvent::GetCapacity ( )
inlineinherited

Definition at line 101 of file G4HCofThisEvent.hh.

References anHCoTHAllocator.

102  {
103  return HC->size();
104  }
std::vector< G4VHitsCollection * > * HC
G4int G4HCofThisEvent::GetCapacity ( )
inlineinherited

Definition at line 101 of file G4HCofThisEvent.hh.

References anHCoTHAllocator.

102  {
103  return HC->size();
104  }
std::vector< G4VHitsCollection * > * HC
G4VHitsCollection* G4HCofThisEvent::GetHC ( G4int  i)
inlineinherited

Definition at line 82 of file G4HCofThisEvent.hh.

83  { return (*HC)[i]; }
std::vector< G4VHitsCollection * > * HC
G4VHitsCollection* G4HCofThisEvent::GetHC ( G4int  i)
inlineinherited

Definition at line 82 of file G4HCofThisEvent.hh.

Referenced by MarshaledG4HCofThisEvent::marshal1().

83  { return (*HC)[i]; }
std::vector< G4VHitsCollection * > * HC
G4int G4HCofThisEvent::GetNumberOfCollections ( )
inlineinherited

Definition at line 89 of file G4HCofThisEvent.hh.

References n.

Referenced by MarshaledG4HCofThisEvent::marshal1().

90  {
91  G4int n = 0;
92  for(size_t i=0;i<HC->size();i++)
93  {
94  if((*HC)[i]) n++;
95  }
96  return n;
97  }
std::vector< G4VHitsCollection * > * HC
Char_t n[5]
G4int G4HCofThisEvent::GetNumberOfCollections ( )
inlineinherited

Definition at line 89 of file G4HCofThisEvent.hh.

References n.

90  {
91  G4int n = 0;
92  for(size_t i=0;i<HC->size();i++)
93  {
94  if((*HC)[i]) n++;
95  }
96  return n;
97  }
std::vector< G4VHitsCollection * > * HC
Char_t n[5]
void G4HCofThisEvent::operator delete ( void *  anHCoTE)
inlineinherited

Definition at line 121 of file G4HCofThisEvent.hh.

References anHCoTHAllocator.

122 {
123  anHCoTHAllocator.FreeSingle((G4HCofThisEvent*)anHCoTH);
124 }
G4DLLIMPORT G4Allocator< G4HCofThisEvent > anHCoTHAllocator
void G4HCofThisEvent::operator delete ( void *  anHCoTE)
inlineinherited
void * G4HCofThisEvent::operator new ( size_t  )
inlineinherited

Definition at line 114 of file G4HCofThisEvent.hh.

References anHCoTHAllocator.

115 {
116  void* anHCoTH;
117  anHCoTH = (void*)anHCoTHAllocator.MallocSingle();
118  return anHCoTH;
119 }
G4DLLIMPORT G4Allocator< G4HCofThisEvent > anHCoTHAllocator
void* G4HCofThisEvent::operator new ( size_t  )
inlineinherited

Friends And Related Function Documentation

Definition at line 27 of file MarshaledG4HCofThisEvent.h.


The documentation for this class was generated from the following file: