Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -33,6 +33,7 @@
#include "HadrontherapyInteractionParameters.hh"
#include "HadrontherapyPrimaryGeneratorAction.hh"
#include "HadrontherapyMatrix.hh"
#include "G4AnalysisManager.hh"
#include "G4RunManager.hh"
#include "G4SystemOfUnits.hh"
#include <cmath>
@@ -259,7 +260,7 @@ void HadrontherapyLet::StoreLetAscii()
LetFragmentTuple->SetVerboseLevel(1);
LetFragmentTuple->SetFirstHistoId(1);
LetFragmentTuple->SetFirstNtupleId(1);
LetFragmentTuple ->OpenFile("Let");
LetFragmentTuple ->OpenFile("Let.csv");
LetFragmentTuple ->CreateNtuple("coordinate", "Let");
@@ -128,8 +128,8 @@ vector<G4String> split(const G4String& line, const G4String& delimiter)
{
pos = line.find(delimiter, current);
G4String token = line.substr(current, pos - current);
token = token.strip(G4String::both);
token = token.strip(G4String::both, '\"');
G4StrUtil::strip(token);
G4StrUtil::strip(token, '\"');
result.push_back(token);
current = pos + delimiter.size();
}
@@ -28,7 +28,7 @@
#include "HadrontherapyRunAction.hh"
#include "HadrontherapyEventAction.hh"
#include "HadrontherapyAnalysis.hh"
#include "G4AnalysisManager.hh"
#include "G4Run.hh"
#include "G4RunManager.hh"
#include "G4UImanager.hh"
@@ -55,7 +55,6 @@ HadrontherapyRunAction::HadrontherapyRunAction()
/////////////////////////////////////////////////////////////////////////////
HadrontherapyRunAction::~HadrontherapyRunAction()
{
delete G4AnalysisManager::Instance();
}
/////////////////////////////////////////////////////////////////////////////