/* * Copyright (C) 2018 Université Clermont Auvergne, CNRS/IN2P3, LPC * Author: Valentin NIESS (niess@in2p3.fr) * * A Geant4 particle source of atmospheric muons using GOUPIL * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see */ #pragma once #include "G4ThreeVector.hh" class IGoupilState { public: G4double GetKineticEnergy() const { return fEnergy; } void SetKineticEnergy(const G4double& energy) { fEnergy = energy; } G4ThreeVector GetPosition() const { return fPosition; } void SetPosition(const G4ThreeVector& position) { fPosition = position; } G4ThreeVector GetMomentumDirection() const { return fDirection; } void SetMomentumDirection(const G4ThreeVector & direction) { fDirection = direction; } G4double GetLatitude() const { return fLatitude; } void SetLatitude(const G4double& latitude) { fLatitude = latitude; } G4double GetLongitude() const { return fLongitude; } void SetLongitude(const G4double& longitude) { fLongitude = longitude; } G4double GetAltitude() const { return fAltitude; } void SetAltitude(const G4double& altitude) { fAltitude = altitude; } G4double GetTopographyLevel() const { return fTopographyLevel; } void SetTopographyLevel(const G4double& level) { fTopographyLevel = level; } private: G4ThreeVector fPosition, fDirection; G4double fEnergy; G4double fLatitude, fLongitude, fAltitude; G4double fTopographyLevel; };