Luminosity Monitor Hit class based on G4VHit. More...
#include <LM_Hit.h>
Public Member Functions | |
LM_Hit () | |
Constructor. | |
LM_Hit (const LM_Hit &hit) | |
Copy constructor. | |
~LM_Hit () | |
Destructor. | |
void | Draw () |
Routine to draw the hit in the visualisation window. | |
void | operator delete (void *aHit) |
Free space. | |
void * | operator new (size_t) |
Allocate space for new hit. | |
const LM_Hit & | operator= (const LM_Hit &hit) |
Assignment constructor. | |
G4int | operator== (const LM_Hit &hit) const |
Test equivalance. | |
void | Print () |
Routine to print the hit information. | |
Private Attributes | |
G4int | copyno |
Copy number identifying the sub-detector hit. | |
G4double | edep |
Total energy deposited by this hit. | |
G4ThreeVector | local |
Position in local coordinates. | |
G4double | time |
Global time (relative to event) for this hit. | |
G4ThreeVector | tlocal |
Position in true local coordinates. | |
G4int | trackid |
Track ID which created this hit. | |
G4ThreeVector | tworld |
Position in true world coordinates. | |
G4ThreeVector | world |
Position in world coordinates. | |
Friends | |
class | LM_SD |
LM_SD is declared as a friend class so it can access the hit data members directly without having numerous set/get member functions. |
Luminosity Monitor Hit class based on G4VHit.
Provides routines for setting and accessing the various stored information on each hit in this detector.
Definition at line 35 of file LM_Hit.h.
LM_Hit::LM_Hit | ( | const LM_Hit & | hit ) |
void LM_Hit::Draw | ( | ) |
void LM_Hit::operator delete | ( | void * | aHit ) |
void * LM_Hit::operator new | ( | size_t | ) |
G4int LM_Hit::operator== | ( | const LM_Hit & | hit ) | const |
void LM_Hit::Print | ( | ) |
friend class LM_SD [friend] |
G4int LM_Hit::copyno [private] |
Copy number identifying the sub-detector hit.
Definition at line 86 of file LM_Hit.h.
Referenced by LM_Hit(), operator=(), Print(), and LM_SD::ProcessHits().
G4double LM_Hit::edep [private] |
Total energy deposited by this hit.
Definition at line 88 of file LM_Hit.h.
Referenced by LM_Hit(), operator=(), Print(), and LM_SD::ProcessHits().
G4ThreeVector LM_Hit::local [private] |
Position in local coordinates.
Definition at line 93 of file LM_Hit.h.
Referenced by LM_Hit(), operator=(), Print(), and LM_SD::ProcessHits().
G4double LM_Hit::time [private] |
Global time (relative to event) for this hit.
Definition at line 89 of file LM_Hit.h.
Referenced by LM_Hit(), operator=(), Print(), and LM_SD::ProcessHits().
G4ThreeVector LM_Hit::tlocal [private] |
Position in true local coordinates.
Definition at line 91 of file LM_Hit.h.
Referenced by LM_Hit(), operator=(), Print(), and LM_SD::ProcessHits().
G4int LM_Hit::trackid [private] |
Track ID which created this hit.
Definition at line 87 of file LM_Hit.h.
Referenced by LM_Hit(), operator=(), Print(), and LM_SD::ProcessHits().
G4ThreeVector LM_Hit::tworld [private] |
Position in true world coordinates.
Definition at line 90 of file LM_Hit.h.
Referenced by LM_Hit(), operator=(), Print(), and LM_SD::ProcessHits().
G4ThreeVector LM_Hit::world [private] |
Position in world coordinates.
Definition at line 92 of file LM_Hit.h.
Referenced by Draw(), LM_Hit(), operator=(), Print(), and LM_SD::ProcessHits().