| Monte Carlo LYSO
    Geant4 simulation for the LYSO calorimeter prototype | 
Concrete class of G4VHit, representing a hit in the MySensitiveDetector. More...
#include <hit.hh>


| Public Member Functions | |
| MyHit ()=default | |
| Constructor of the class. | |
| ~MyHit () override=default | |
| Destructor of the class. | |
| MyHit & | operator= (const MyHit &)=default | 
| Assignment operator, default implementation. | |
| G4bool | operator== (const MyHit &) const | 
| Equality operator, compares two MyHit objects for equality. | |
| void * | operator new (size_t) | 
| Overloaded new operator for memory allocation: it uses the MyHitAllocator for fast memory handling. | |
| void | operator delete (void *) | 
| Overloaded delete operator for memory deallocation: it uses the MyHitAllocator for fast memory handling. | |
| void | SetDetectionTime (G4double t) | 
| Set the detection time of the optical photon. | |
| void | SetDetectorPosition (G4ThreeVector xyz) | 
| Set the position (center) of the SiPM hit by the optical photon. | |
| void | SetDetectorChannel (G4int ch) | 
| Set the channel of the SiPM hit by the optical photon. | |
| G4double | GetDetectionTime () const | 
| Get the detection time of the optical photon. | |
| G4ThreeVector | GetDetectorPosition () const | 
| Get the position (center) of the SiPM hit by the optical photon. | |
| G4int | GetDetectorChannel () const | 
| Get the channel of the SiPM hit by the optical photon. | |
| Private Attributes | |
| G4double | fDetectionTime | 
| Time of detection of the optical photon. | |
| G4ThreeVector | fDetectorPosition | 
| Position (center) of the SiPM hit by the optical photon. | |
| G4int | fCh | 
| Channel of the SiPM hit by the optical photon. | |
Concrete class of G4VHit, representing a hit in the MySensitiveDetector.