#include <GiGa/GiGaHitsByName.h>
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) | |
| GiGaHitsByName & | setCollection (G4VHitsCollection *value) |
| set new collection pointer | |
| GiGaHitsByName & | setHits (G4VHitsCollection *value) |
| set new collection pointer | |
| GiGaHitsByName & | setCol (G4VHitsCollection *value) |
| set new collection pointer | |
Private Member Functions | |
| GiGaHitsByName () | |
| default constructor is private | |
Private Attributes | |
| std::string | m_name |
| G4VHitsCollection * | m_collection |
Definition at line 28 of file GiGaHitsByName.h.
| GiGaHitsByName::GiGaHitsByName | ( | const std::string & | name, | |
| G4VHitsCollection * | collection = 0 | |||
| ) | [inline] |
Standard constructor.
| 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] |
| GiGaHitsByName::GiGaHitsByName | ( | ) | [private] |
default constructor is private
| 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] |
| const G4VHitsCollection* GiGaHitsByName::hits | ( | ) | const [inline] |
| const G4VHitsCollection* GiGaHitsByName::col | ( | ) | const [inline] |
| 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
| 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
| 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
| value | new value of collection pointer |
Definition at line 75 of file GiGaHitsByName.h.
00076 { return setCollection ( value ); }
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.
1.4.7