Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 16:15:15 +00:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -45,7 +45,7 @@ class WLSPhotonDetHit : public G4VHit
{
public:
WLSPhotonDetHit();
WLSPhotonDetHit(G4ThreeVector pExit, G4ThreeVector pArrive, G4double pTime);
WLSPhotonDetHit(G4ThreeVector pExit, G4ThreeVector pArrive, G4double pTime, G4double pEnergy);
~WLSPhotonDetHit();
WLSPhotonDetHit(const WLSPhotonDetHit& right);
@@ -65,6 +65,11 @@ class WLSPhotonDetHit : public G4VHit
inline void SetArrivalTime(G4double t) { fArrivalTime = t; }
inline G4double GetArrivalTime() { return fArrivalTime; }
inline void SetEnergy(G4double en) { fEnergy = en; }
inline G4double GetEnergy() { return fEnergy; }
void Print();
private:
// the arrival time of the photon
G4double fArrivalTime;
@@ -72,6 +77,8 @@ class WLSPhotonDetHit : public G4VHit
G4ThreeVector fPosArrive;
// where the photon exited the fiber (world's coordinate)
G4ThreeVector fPosExit;
// energy of photon
G4double fEnergy;
};
//--------------------------------------------------