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

In This Package:

GiGaHitsByName Class Reference

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

#include <GiGa/GiGaHitsByName.h>

List of all members.


Public Member Functions

 GiGaHitsByName (const std::string &name, G4VHitsCollection *collection=0)
 Standard constructor.
 ~GiGaHitsByName ()
const std::string & name () const
 access to unique collection Name
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)
GiGaHitsByNamesetCollection (G4VHitsCollection *value)
 set new collection pointer
GiGaHitsByNamesetHits (G4VHitsCollection *value)
 set new collection pointer
GiGaHitsByNamesetCol (G4VHitsCollection *value)
 set new collection pointer

Private Member Functions

 GiGaHitsByName ()
 default constructor is private

Private Attributes

std::string m_name
G4VHitsCollection * m_collection

Detailed Description

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

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

Definition at line 28 of file GiGaHitsByName.h.


Constructor & Destructor Documentation

GiGaHitsByName::GiGaHitsByName ( const std::string &  name,
G4VHitsCollection *  collection = 0 
) [inline]

Standard constructor.

Parameters:
Name the unique collection Name
collection the collection itself

Definition at line 36 of file GiGaHitsByName.h.

00038     : m_name       ( name       ) 
00039     , m_collection ( collection ) {} ;

GiGaHitsByName::~GiGaHitsByName (  )  [inline]

Definition at line 42 of file GiGaHitsByName.h.

00042 {}; 

GiGaHitsByName::GiGaHitsByName (  )  [private]

default constructor is private


Member Function Documentation

const std::string& GiGaHitsByName::name (  )  const [inline]

access to unique collection Name

Definition at line 45 of file GiGaHitsByName.h.

00045 { return m_name          ; }

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

Definition at line 47 of file GiGaHitsByName.h.

00047 { return m_collection    ; }

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

Definition at line 49 of file GiGaHitsByName.h.

00049 { return   collection () ; }

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

Definition at line 51 of file GiGaHitsByName.h.

00051 { return   collection () ; }

G4VHitsCollection* GiGaHitsByName::collection (  )  [inline]

access to the collection itself (non const)

Definition at line 54 of file GiGaHitsByName.h.

00054 { return m_collection    ; }

G4VHitsCollection* GiGaHitsByName::hits (  )  [inline]

access to the collection itself (const)

Definition at line 56 of file GiGaHitsByName.h.

00056 { return   collection () ; }

G4VHitsCollection* GiGaHitsByName::col (  )  [inline]

access to the collection itself (const)

Definition at line 58 of file GiGaHitsByName.h.

00058 { return   collection () ; }

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

set new collection pointer

Parameters:
value new value of collection pointer

Definition at line 63 of file GiGaHitsByName.h.

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

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

set new collection pointer

Parameters:
value new value of collection pointer

Definition at line 69 of file GiGaHitsByName.h.

00070   { return setCollection ( value ); }

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

set new collection pointer

Parameters:
value new value of collection pointer

Definition at line 75 of file GiGaHitsByName.h.

00076   { return setCollection ( value ); }  


Member Data Documentation

std::string GiGaHitsByName::m_name [private]

Definition at line 85 of file GiGaHitsByName.h.

G4VHitsCollection* GiGaHitsByName::m_collection [private]

Definition at line 86 of file GiGaHitsByName.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