00001 #ifndef GflashEnergySpot_H 00002 #define GflashEnergySpot_H 00003 00004 #include "G4ThreeVector.hh" 00005 00006 class GflashEnergySpot 00007 { 00008 public: 00009 00010 GflashEnergySpot(); 00011 GflashEnergySpot(G4double energy, G4ThreeVector& pos); 00012 ~GflashEnergySpot(); 00013 00014 inline G4double getEnergy() const { return theEnergy; } 00015 inline const G4ThreeVector& getPosition() const { return thePosition; } 00016 00017 inline void setEnergy(const G4double energy) { theEnergy = energy; } 00018 inline void setPosition(const G4ThreeVector& pos) { thePosition = pos; } 00019 00020 private: 00021 G4double theEnergy; 00022 G4ThreeVector thePosition; 00023 }; 00024 00025 #endif