Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
@@ -46,7 +46,7 @@ class WLSPhotonDetHit : public G4VHit
public:
WLSPhotonDetHit();
WLSPhotonDetHit(G4ThreeVector pExit, G4ThreeVector pArrive, G4double pTime, G4double pEnergy);
~WLSPhotonDetHit();
~WLSPhotonDetHit() override = default;
WLSPhotonDetHit(const WLSPhotonDetHit& right);
const WLSPhotonDetHit& operator=(const WLSPhotonDetHit& right);
@@ -68,17 +68,17 @@ class WLSPhotonDetHit : public G4VHit
inline void SetEnergy(G4double en) { fEnergy = en; }
inline G4double GetEnergy() { return fEnergy; }
void Print();
void Print() override;
private:
// the arrival time of the photon
G4double fArrivalTime;
G4double fArrivalTime = 0.;
// where the photon hit the detector (detector's coordinate)
G4ThreeVector fPosArrive;
// where the photon exited the fiber (world's coordinate)
G4ThreeVector fPosExit;
// energy of photon
G4double fEnergy;
G4double fEnergy = 0.;
};
//--------------------------------------------------