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

In This Package:

GiGaHitsByID Class Reference

Helpful class for extraction of G4 hit collections by their unique ID. More...

#include <GiGa/GiGaHitsByID.h>

List of all members.


Public Member Functions

 GiGaHitsByID (const int ID, G4VHitsCollection *collection=0)
 Standard constructor.
 ~GiGaHitsByID ()
const int id () const
 access to unique collection ID
const G4VHitsCollection * collection () const
const G4VHitsCollection * hits () const
const G4VHitsCollection * col () const
G4VHitsCollection * collection ()
 access to the collection itself (non const)
G4VHitsCollection * hits ()
 access to the collection itself (const)
G4VHitsCollection * col ()
 access to the collection itself (const)
GiGaHitsByIDsetCollection (G4VHitsCollection *value)
 set new collection pointer
GiGaHitsByIDsetHits (G4VHitsCollection *value)
 set new collection pointer
GiGaHitsByIDsetCol (G4VHitsCollection *value)
 set new collection pointer

Private Member Functions

 GiGaHitsByID ()
 default constructor is private

Private Attributes

int m_id
G4VHitsCollection * m_collection

Detailed Description

Helpful class for extraction of G4 hit collections by their unique ID.

Author:
Vanya Belyaev Ivan.Belyaev@itep.ru
Date:
2002-12-07

Definition at line 25 of file GiGaHitsByID.h.


Constructor & Destructor Documentation

GiGaHitsByID::GiGaHitsByID ( const int  ID,
G4VHitsCollection *  collection = 0 
) [inline]

Standard constructor.

Parameters:
ID the unique collection ID
collection the collection itself

Definition at line 33 of file GiGaHitsByID.h.

00035     : m_id         ( ID         ) 
00036     , m_collection ( collection ) {} ;

GiGaHitsByID::~GiGaHitsByID (  )  [inline]

Definition at line 39 of file GiGaHitsByID.h.

00039 {}; 

GiGaHitsByID::GiGaHitsByID (  )  [private]

default constructor is private


Member Function Documentation

const int GiGaHitsByID::id (  )  const [inline]

access to unique collection ID

Definition at line 42 of file GiGaHitsByID.h.

00042 { return m_id            ; }

const G4VHitsCollection* GiGaHitsByID::collection (  )  const [inline]

Definition at line 44 of file GiGaHitsByID.h.

00044 { return m_collection    ; }

const G4VHitsCollection* GiGaHitsByID::hits (  )  const [inline]

Definition at line 46 of file GiGaHitsByID.h.

00046 { return   collection () ; }

const G4VHitsCollection* GiGaHitsByID::col (  )  const [inline]

Definition at line 48 of file GiGaHitsByID.h.

00048 { return   collection () ; }

G4VHitsCollection* GiGaHitsByID::collection (  )  [inline]

access to the collection itself (non const)

Definition at line 51 of file GiGaHitsByID.h.

00051 { return m_collection    ; }

G4VHitsCollection* GiGaHitsByID::hits (  )  [inline]

access to the collection itself (const)

Definition at line 53 of file GiGaHitsByID.h.

00053 { return   collection () ; }

G4VHitsCollection* GiGaHitsByID::col (  )  [inline]

access to the collection itself (const)

Definition at line 55 of file GiGaHitsByID.h.

00055 { return   collection () ; }

GiGaHitsByID& GiGaHitsByID::setCollection ( G4VHitsCollection *  value  )  [inline]

set new collection pointer

Parameters:
valeu new value of collection pointer

Definition at line 60 of file GiGaHitsByID.h.

00061   { m_collection = value ; return *this ; };

GiGaHitsByID& GiGaHitsByID::setHits ( G4VHitsCollection *  value  )  [inline]

set new collection pointer

Parameters:
valeu new value of collection pointer

Definition at line 66 of file GiGaHitsByID.h.

00067   { return setCollection ( value ); }

GiGaHitsByID& GiGaHitsByID::setCol ( G4VHitsCollection *  value  )  [inline]

set new collection pointer

Parameters:
valeu new value of collection pointer

Definition at line 72 of file GiGaHitsByID.h.

00073   { return setCollection ( value ); }  


Member Data Documentation

int GiGaHitsByID::m_id [private]

Definition at line 82 of file GiGaHitsByID.h.

G4VHitsCollection* GiGaHitsByID::m_collection [private]

Definition at line 83 of file GiGaHitsByID.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:01:17 2011 for GiGa by doxygen 1.4.7