LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 102 of file G4HCofThisEvent.hh.

References anHCoTHAllocator.

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

Definition at line 102 of file G4HCofThisEvent.hh.

References anHCoTHAllocator.

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

Definition at line 83 of file G4HCofThisEvent.hh.

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

Definition at line 83 of file G4HCofThisEvent.hh.

Referenced by MarshaledG4HCofThisEvent::marshal1().

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

Definition at line 90 of file G4HCofThisEvent.hh.

References n.

Referenced by MarshaledG4HCofThisEvent::marshal1().

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

Definition at line 90 of file G4HCofThisEvent.hh.

References n.

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

Definition at line 122 of file G4HCofThisEvent.hh.

References anHCoTHAllocator.

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

Definition at line 115 of file G4HCofThisEvent.hh.

References anHCoTHAllocator.

116 {
117  void* anHCoTH;
118  anHCoTH = (void*)anHCoTHAllocator.MallocSingle();
119  return anHCoTH;
120 }
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: