Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -46,21 +46,19 @@
|
||||
class GFlashEnergySpot
|
||||
{
|
||||
public:
|
||||
|
||||
GFlashEnergySpot();
|
||||
GFlashEnergySpot(const G4ThreeVector& point, G4double E);
|
||||
~GFlashEnergySpot();
|
||||
|
||||
inline void SetEnergy(const G4double& E) {Energy = E;}
|
||||
inline G4double GetEnergy() const {return Energy;}
|
||||
|
||||
inline void SetPosition(const G4ThreeVector& point) {Point = point;}
|
||||
inline G4ThreeVector GetPosition() const {return Point;}
|
||||
|
||||
private:
|
||||
|
||||
G4double Energy; // energy deposition
|
||||
G4ThreeVector Point; // locus of energy deposition
|
||||
inline void SetEnergy(const G4double& E) { Energy = E; }
|
||||
inline G4double GetEnergy() const { return Energy; }
|
||||
|
||||
inline void SetPosition(const G4ThreeVector& point) { Point = point; }
|
||||
inline G4ThreeVector GetPosition() const { return Point; }
|
||||
|
||||
private:
|
||||
G4double Energy; // energy deposition
|
||||
G4ThreeVector Point; // locus of energy deposition
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user