Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -30,11 +30,13 @@
|
||||
//
|
||||
|
||||
#include "TrackInformation.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
|
||||
G4ThreadLocal G4Allocator<TrackInformation> *
|
||||
aTrackInformationAllocator = 0;
|
||||
#include "G4ios.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
#include "G4Track.hh"
|
||||
|
||||
G4ThreadLocal G4Allocator<TrackInformation>* aTrackInformationAllocator =
|
||||
nullptr;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
TrackInformation::TrackInformation()
|
||||
@@ -51,19 +53,18 @@ TrackInformation::TrackInformation(const G4Track*)
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
TrackInformation ::TrackInformation(const TrackInformation* aTrackInfo)
|
||||
TrackInformation::TrackInformation(const TrackInformation* aTrackInfo)
|
||||
: G4VUserTrackInformation()
|
||||
{
|
||||
fFirstTankX = aTrackInfo->fFirstTankX;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
TrackInformation::~TrackInformation()
|
||||
{;}
|
||||
TrackInformation::~TrackInformation() {}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
TrackInformation& TrackInformation::operator=
|
||||
(const TrackInformation& aTrackInfo)
|
||||
TrackInformation& TrackInformation::operator=(
|
||||
const TrackInformation& aTrackInfo)
|
||||
{
|
||||
fFirstTankX = aTrackInfo.fFirstTankX;
|
||||
|
||||
@@ -79,8 +80,7 @@ void TrackInformation::SetSourceTrackInformation(const G4Track*)
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
void TrackInformation::Print() const
|
||||
{
|
||||
G4cout
|
||||
<< "first time track incident on X: " << fFirstTankX << G4endl;
|
||||
G4cout << "first time track incident on X: " << fFirstTankX << G4endl;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
Reference in New Issue
Block a user