Geant4  10.03
G4TDigiCollection< T > Class Template Reference

#include <G4TDigiCollection.hh>

+ Inheritance diagram for G4TDigiCollection< T >:
+ Collaboration diagram for G4TDigiCollection< T >:

Public Member Functions

 G4TDigiCollection ()
 
 G4TDigiCollection (G4String detName, G4String colNam)
 
virtual ~G4TDigiCollection ()
 
G4int operator== (const G4TDigiCollection &right) const
 
void * operator new (size_t)
 
void operator delete (void *aDC)
 
virtual void DrawAllDigi ()
 
virtual void PrintAllDigi ()
 
T * operator[] (size_t i) const
 
std::vector< T * > * GetVector () const
 
G4int insert (T *aHit)
 
G4int entries () const
 
virtual G4VDigiGetDigi (size_t i) const
 
virtual size_t GetSize () const
 
- Public Member Functions inherited from G4DigiCollection
 G4DigiCollection ()
 
 G4DigiCollection (G4String detName, G4String colNam)
 
virtual ~G4DigiCollection ()
 
G4int operator== (const G4DigiCollection &right) const
 
- Public Member Functions inherited from G4VDigiCollection
 G4VDigiCollection ()
 
 G4VDigiCollection (G4String DMnam, G4String colNam)
 
virtual ~G4VDigiCollection ()
 
G4int operator== (const G4VDigiCollection &right) const
 
G4String GetName ()
 
G4String GetDMname ()
 

Additional Inherited Members

- Protected Attributes inherited from G4DigiCollection
void * theCollection
 
- Protected Attributes inherited from G4VDigiCollection
G4String collectionName
 
G4String DMname
 

Detailed Description

template<class T>
class G4TDigiCollection< T >

Definition at line 66 of file G4TDigiCollection.hh.

Constructor & Destructor Documentation

template<class T >
G4TDigiCollection< T >::G4TDigiCollection ( )

Definition at line 147 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_.

template<class T >
G4TDigiCollection< T >::G4TDigiCollection ( G4String  detName,
G4String  colNam 
)
template<class T >
G4TDigiCollection< T >::~G4TDigiCollection ( )
virtual

Definition at line 163 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_.

Member Function Documentation

template<class T >
void G4TDigiCollection< T >::DrawAllDigi ( )
virtual

Reimplemented from G4VDigiCollection.

Definition at line 180 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and n.

template<class T>
G4int G4TDigiCollection< T >::entries ( ) const
inline

Definition at line 108 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and G4DigiCollection::theCollection.

Referenced by GammaRayTelDigitizer::Digitize(), and GammaRayTelEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

template<class T>
virtual G4VDigi* G4TDigiCollection< T >::GetDigi ( size_t  i) const
inlinevirtual

Reimplemented from G4VDigiCollection.

Definition at line 118 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and G4DigiCollection::theCollection.

template<class T>
virtual size_t G4TDigiCollection< T >::GetSize ( ) const
inlinevirtual

Reimplemented from G4VDigiCollection.

Definition at line 123 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and G4DigiCollection::theCollection.

template<class T>
std::vector<T*>* G4TDigiCollection< T >::GetVector ( ) const
inline

Definition at line 92 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and G4DigiCollection::theCollection.

template<class T>
G4int G4TDigiCollection< T >::insert ( T *  aHit)
inline

Definition at line 98 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and G4DigiCollection::theCollection.

Referenced by GammaRayTelDigitizer::Digitize().

+ Here is the caller graph for this function:

template<class T >
void G4TDigiCollection< T >::operator delete ( void *  aDC)
inline

Definition at line 140 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and G4Allocator< Type >::FreeSingle().

+ Here is the call graph for this function:

template<class T >
void * G4TDigiCollection< T >::operator new ( size_t  )
inline

Definition at line 131 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and G4Allocator< Type >::MallocSingle().

+ Here is the call graph for this function:

template<class T >
G4int G4TDigiCollection< T >::operator== ( const G4TDigiCollection< T > &  right) const
template<class T>
T* G4TDigiCollection< T >::operator[] ( size_t  i) const
inline

Definition at line 86 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and G4DigiCollection::theCollection.

template<class T >
void G4TDigiCollection< T >::PrintAllDigi ( )
virtual

Reimplemented from G4VDigiCollection.

Definition at line 189 of file G4TDigiCollection.hh.

References aDCAllocator_G4MT_TLS_, and n.


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