Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -23,12 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: WLSUserTrackInformation.hh 69561 2013-05-08 12:25:56Z gcosmo $
//
/// \file optical/wls/include/WLSUserTrackInformation.hh
/// \brief Definition of the WLSUserTrackInformation class
//
//
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -66,10 +65,10 @@ class WLSUserTrackInformation : public G4VUserTrackInformation
public:
WLSUserTrackInformation();
~WLSUserTrackInformation();
virtual ~WLSUserTrackInformation();
const G4ThreeVector& GetExitPosition() const { return exitPosition; }
void SetExitPosition (const G4ThreeVector& pos) { exitPosition = pos; }
const G4ThreeVector& GetExitPosition() const { return fExitPosition; }
void SetExitPosition (const G4ThreeVector& pos) { fExitPosition = pos; }
// Try adding a status flag and return if it is successful or not
// Cannot Add Undefine or a flag that conflicts with another flag
@@ -78,14 +77,12 @@ class WLSUserTrackInformation : public G4VUserTrackInformation
// Check if a certain flag is on
G4bool isStatus(TrackStatus s)
{ return s == undefined ? !(status &= defined) : status & s; }
{ return s == undefined ? !(fStatus &= defined) : fStatus & s; }
void Print() const { }
private:
G4int status;
G4ThreeVector exitPosition;
G4int fStatus;
G4ThreeVector fExitPosition;
};