MWPC Hit class based on G4VHit. More...
#include <MW_Hit.h>


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