| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GiGaKineRefTable Class Reference

An auxillary class to keep the relations between Geant4 track/trajectory TrackID identifier and the converted MCParticle object. More...

#include <GiGaCnv/GiGaKineRefTable.h>

Collaboration diagram for GiGaKineRefTable:

[legend]
List of all members.

Public Types

typedef int Index
typedef GiGaKineRefTableEntry Entry
typedef GiGaHashMap< int,
GiGaKineRefTableEntry
Table

Public Member Functions

 GiGaKineRefTable ()
 constructor
virtual ~GiGaKineRefTable ()
 destructor(virtual)
Entryoperator() (const Index &index)
 access to the elemements (non-const version)
const Entryoperator() (const Index &index) const
 access to the elemements (fictive "const" version)
Entryoperator[] (const Index &index)
 access to the elemements (non-const version)
const Entryoperator[] (const Index &index) const
 access to the elemements (fictive "const" version)
void clear ()
 clear the container
void resize (const unsigned long)
 resize the container
void reserve (const unsigned long)
 resize the container

Private Member Functions

 GiGaKineRefTable (const GiGaKineRefTable &)
 copy constructor is private
GiGaKineRefTableoperator= (const GiGaKineRefTable &)
 assignement is private

Private Attributes

Table m_table

Detailed Description

An auxillary class to keep the relations between Geant4 track/trajectory TrackID identifier and the converted MCParticle object.

Author:
Vanya Belyaev Ivan.Belyaev@itep.ru
Date:
21/07/2001

Definition at line 24 of file GiGaKineRefTable.h.


Member Typedef Documentation

typedef int GiGaKineRefTable::Index

Definition at line 29 of file GiGaKineRefTable.h.

typedef GiGaKineRefTableEntry GiGaKineRefTable::Entry

Definition at line 30 of file GiGaKineRefTable.h.

typedef GiGaHashMap<int,GiGaKineRefTableEntry> GiGaKineRefTable::Table

Definition at line 32 of file GiGaKineRefTable.h.


Constructor & Destructor Documentation

GiGaKineRefTable::GiGaKineRefTable (  ) 

constructor

virtual GiGaKineRefTable::~GiGaKineRefTable (  )  [virtual]

destructor(virtual)

GiGaKineRefTable::GiGaKineRefTable ( const GiGaKineRefTable  )  [private]

copy constructor is private


Member Function Documentation

Entry& GiGaKineRefTable::operator() ( const Index index  )  [inline]

access to the elemements (non-const version)

Parameters:
index index of the element
Returns:
reference to the element

Definition at line 46 of file GiGaKineRefTable.h.

00047   { return m_table[ index ] ; };

const Entry& GiGaKineRefTable::operator() ( const Index index  )  const [inline]

access to the elemements (fictive "const" version)

Parameters:
index index of the element
Returns:
reference to the element

Definition at line 53 of file GiGaKineRefTable.h.

00054   { return m_table[ index ] ; };

Entry& GiGaKineRefTable::operator[] ( const Index index  )  [inline]

access to the elemements (non-const version)

Parameters:
index index of the element
Returns:
reference to the element

Definition at line 60 of file GiGaKineRefTable.h.

00061   { return (*this)( index ); };

const Entry& GiGaKineRefTable::operator[] ( const Index index  )  const [inline]

access to the elemements (fictive "const" version)

Parameters:
index index of the element
Returns:
reference to the element

Definition at line 67 of file GiGaKineRefTable.h.

00068   { return (*this)( index ); } ;

void GiGaKineRefTable::clear (  )  [inline]

clear the container

Definition at line 71 of file GiGaKineRefTable.h.

00071 { m_table.clear() ; }

void GiGaKineRefTable::resize ( const unsigned  long  )  [inline]

resize the container

Definition at line 74 of file GiGaKineRefTable.h.

00075   { /* m_table.reserve  ( size ) */ ; };

void GiGaKineRefTable::reserve ( const unsigned  long  )  [inline]

resize the container

Definition at line 78 of file GiGaKineRefTable.h.

00079   { /* m_table.reserve ( size ); */ };

GiGaKineRefTable& GiGaKineRefTable::operator= ( const GiGaKineRefTable  )  [private]

assignement is private


Member Data Documentation

Table GiGaKineRefTable::m_table [mutable, private]

Definition at line 91 of file GiGaKineRefTable.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:03:53 2011 for GiGaCnv by doxygen 1.4.7