Geant4_10
Public Member Functions | List of all members
G4THitsMap< T > Class Template Reference

#include <G4THitsMap.hh>

Inheritance diagram for G4THitsMap< T >:
Inheritance graph
[legend]
Collaboration diagram for G4THitsMap< T >:
Collaboration graph
[legend]

Public Member Functions

 G4THitsMap ()
 
 G4THitsMap (G4String detName, G4String colNam)
 
virtual ~G4THitsMap ()
 
G4int operator== (const G4THitsMap< T > &right) const
 
G4THitsMap< T > & operator+= (const G4THitsMap< T > &right) const
 
virtual void DrawAllHits ()
 
virtual void PrintAllHits ()
 
T * operator[] (G4int key) const
 
std::map< G4int, T * > * GetMap () const
 
G4int add (const G4int &key, T *&aHit) const
 
G4int add (const G4int &key, T &aHit) const
 
G4int set (const G4int &key, T *&aHit) const
 
G4int set (const G4int &key, T &aHit) const
 
G4int entries () const
 
void clear ()
 
virtual G4VHitGetHit (size_t) const
 
virtual size_t GetSize () const
 
- Public Member Functions inherited from G4HitsCollection
 G4HitsCollection ()
 
 G4HitsCollection (G4String detName, G4String colNam)
 
virtual ~G4HitsCollection ()
 
G4int operator== (const G4HitsCollection &right) const
 
 G4HitsCollection ()
 
 G4HitsCollection (G4String detName, G4String colNam)
 
virtual ~G4HitsCollection ()
 
G4int operator== (const G4HitsCollection &right) const
 
 G4HitsCollection ()
 
 G4HitsCollection (G4String detName, G4String colNam)
 
virtual ~G4HitsCollection ()
 
G4int operator== (const G4HitsCollection &right) const
 
- Public Member Functions inherited from G4VHitsCollection
 G4VHitsCollection ()
 
 G4VHitsCollection (G4String detName, G4String colNam)
 
virtual ~G4VHitsCollection ()
 
G4int operator== (const G4VHitsCollection &right) const
 
G4String GetName ()
 
G4String GetSDname ()
 
 G4VHitsCollection ()
 
 G4VHitsCollection (G4String detName, G4String colNam)
 
virtual ~G4VHitsCollection ()
 
G4int operator== (const G4VHitsCollection &right) const
 
G4String GetName ()
 
G4String GetSDname ()
 
 G4VHitsCollection ()
 
 G4VHitsCollection (G4String detName, G4String colNam)
 
virtual ~G4VHitsCollection ()
 
G4int operator== (const G4VHitsCollection &right) const
 
G4String GetName ()
 
G4String GetSDname ()
 

Additional Inherited Members

- Protected Attributes inherited from G4HitsCollection
voidtheCollection
 
- Protected Attributes inherited from G4VHitsCollection
G4String collectionName
 
G4String SDname
 

Detailed Description

template<typename T>
class G4THitsMap< T >

Definition at line 46 of file G4THitsMap.hh.

Constructor & Destructor Documentation

template<typename T >
G4THitsMap< T >::G4THitsMap ( )

Definition at line 91 of file G4THitsMap.hh.

template<typename T >
G4THitsMap< T >::G4THitsMap ( G4String  detName,
G4String  colNam 
)

Definition at line 96 of file G4THitsMap.hh.

template<typename T >
G4THitsMap< T >::~G4THitsMap ( )
virtual

Definition at line 102 of file G4THitsMap.hh.

Member Function Documentation

template<typename T>
G4int G4THitsMap< T >::add ( const G4int key,
T *&  aHit 
) const
inline

Definition at line 138 of file G4THitsMap.hh.

Here is the caller graph for this function:

template<typename T>
G4int G4THitsMap< T >::add ( const G4int key,
T &  aHit 
) const
inline

Definition at line 150 of file G4THitsMap.hh.

template<typename T >
void G4THitsMap< T >::clear ( void  )
inline

Definition at line 209 of file G4THitsMap.hh.

Here is the caller graph for this function:

template<typename T >
void G4THitsMap< T >::DrawAllHits ( )
virtual

Reimplemented from G4VHitsCollection.

Definition at line 190 of file G4THitsMap.hh.

template<typename T>
G4int G4THitsMap< T >::entries ( ) const
inline

Definition at line 79 of file G4THitsMap.hh.

Here is the caller graph for this function:

template<typename T>
virtual G4VHit* G4THitsMap< T >::GetHit ( size_t  ) const
inlinevirtual

Reimplemented from G4VHitsCollection.

Definition at line 85 of file G4THitsMap.hh.

template<typename T>
std::map<G4int,T*>* G4THitsMap< T >::GetMap ( ) const
inline

Definition at line 68 of file G4THitsMap.hh.

Here is the caller graph for this function:

template<typename T>
virtual size_t G4THitsMap< T >::GetSize ( ) const
inlinevirtual

Reimplemented from G4VHitsCollection.

Definition at line 86 of file G4THitsMap.hh.

Here is the caller graph for this function:

template<typename T>
G4THitsMap< T > & G4THitsMap< T >::operator+= ( const G4THitsMap< T > &  right) const

Definition at line 117 of file G4THitsMap.hh.

Here is the call graph for this function:

template<typename T>
G4int G4THitsMap< T >::operator== ( const G4THitsMap< T > &  right) const

Definition at line 113 of file G4THitsMap.hh.

template<typename T >
T * G4THitsMap< T >::operator[] ( G4int  key) const
inline

Definition at line 128 of file G4THitsMap.hh.

template<typename T >
void G4THitsMap< T >::PrintAllHits ( )
virtual

Reimplemented from G4VHitsCollection.

Definition at line 193 of file G4THitsMap.hh.

Here is the caller graph for this function:

template<typename T>
G4int G4THitsMap< T >::set ( const G4int key,
T *&  aHit 
) const
inline

Definition at line 165 of file G4THitsMap.hh.

Here is the caller graph for this function:

template<typename T>
G4int G4THitsMap< T >::set ( const G4int key,
T &  aHit 
) const
inline

Definition at line 176 of file G4THitsMap.hh.


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