#include <GiGa/GiGaHitsByID.h>
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) | |
| GiGaHitsByID & | setCollection (G4VHitsCollection *value) |
| set new collection pointer | |
| GiGaHitsByID & | setHits (G4VHitsCollection *value) |
| set new collection pointer | |
| GiGaHitsByID & | setCol (G4VHitsCollection *value) |
| set new collection pointer | |
Private Member Functions | |
| GiGaHitsByID () | |
| default constructor is private | |
Private Attributes | |
| int | m_id |
| G4VHitsCollection * | m_collection |
Definition at line 25 of file GiGaHitsByID.h.
| GiGaHitsByID::GiGaHitsByID | ( | const int | ID, | |
| G4VHitsCollection * | collection = 0 | |||
| ) | [inline] |
Standard constructor.
| 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] |
| GiGaHitsByID::GiGaHitsByID | ( | ) | [private] |
default constructor is private
| const int GiGaHitsByID::id | ( | ) | const [inline] |
| const G4VHitsCollection* GiGaHitsByID::collection | ( | ) | const [inline] |
| const G4VHitsCollection* GiGaHitsByID::hits | ( | ) | const [inline] |
| const G4VHitsCollection* GiGaHitsByID::col | ( | ) | const [inline] |
| 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
| 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
| 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
| valeu | new value of collection pointer |
Definition at line 72 of file GiGaHitsByID.h.
00073 { return setCollection ( value ); }
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.
1.4.7