Class to store hits in the Germanium or Scintillator detectors, extends G4VHit.
More...
#include <RMGDetectorHit.hh>


Public Member Functions | |
| RMGDetectorHit (const RMGDetectorHit &)=default | |
| RMGDetectorHit & | operator= (RMGDetectorHit const &)=delete |
| RMGDetectorHit (RMGDetectorHit &&)=delete | |
| RMGDetectorHit & | operator= (RMGDetectorHit &&)=delete |
| bool | operator== (const RMGDetectorHit &) const |
| void * | operator new (size_t) |
| void | operator delete (void *) |
| void | Print () override |
| void | Draw () override |
Public Attributes | |
| int | detector_uid = -1 |
| Remage detector unique identifier (uid) for the volume the hit took place in. | |
| int | particle_type = -1 |
| PDG particle code for the track. | |
| double | energy_deposition = -1 |
| Energy deposited in this step (Geant4 energy units). | |
| double | distance_to_surface_prestep = -1 |
| Distance from the pre-step point to the closest surface of the sensitive volume. | |
| double | distance_to_surface_average = -1 |
| Distance from the step-midpoint to the closest surface of the sensitive volume. | |
| double | distance_to_surface_poststep = -1 |
| Distance from the post-step point to the closest surface of the sensitive volume. | |
| G4ThreeVector | global_position_poststep |
| Step post-point in world coordinates. | |
| G4ThreeVector | global_position_prestep |
| Step pre-point in world coordinates. | |
| G4ThreeVector | global_position_average |
| Step midpoint in world coordinates. | |
| double | global_time = -1 |
| Global time at the pre-step point. | |
| int | track_id = -1 |
| Geant4 track id of the step. | |
| int | parent_track_id = -1 |
| Track id of the parent (0 for primaries). | |
| G4VPhysicalVolume * | physical_volume = nullptr |
| Physical volume the step took place in. | |
| double | velocity_pre = -1 |
| Velocity at the pre-step point. | |
| double | velocity_post = -1 |
| Velocity at the post-step point. | |
| G4Colour | fDrawColour = G4Colour(0, 0, 1) |
Class to store hits in the Germanium or Scintillator detectors, extends G4VHit.
Stores the information on a given hit in the detector:
G4PhysicalVolume the step took place in. This information can then be saved by the RMGGermaniumOutputScheme , or RMGScintillatorOutputScheme