31 #include "RunAction.hh"
32 #include "Analysis.hh"
45 :fDetector(det),fPrimary(pri)
69 G4cout <<
"##### Create analysis manager " <<
" " <<
this <<
G4endl;
73 G4cout <<
"Using " << man->GetType() <<
" analysis manager" <<
G4endl;
76 man->OpenFile(
"nanobeam");
77 man->SetFirstHistoId(1);
78 man->SetFirstNtupleId(1);
81 man->CreateNtuple(
"ntuple0",
"BeamProfile");
82 man->CreateNtupleDColumn(
"xIn");
83 man->CreateNtupleDColumn(
"yIn");
84 man->CreateNtupleDColumn(
"zIn");
89 man->CreateNtuple(
"ntuple1",
"Grid");
90 man->CreateNtupleDColumn(
"xIn");
91 man->CreateNtupleDColumn(
"yIn");
92 man->CreateNtupleDColumn(
"e");
97 man->CreateNtuple(
"ntuple2",
"Coef");
98 man->CreateNtupleDColumn(
"xIn");
99 man->CreateNtupleDColumn(
"yIn");
100 man->CreateNtupleDColumn(
"thetaIn");
101 man->CreateNtupleDColumn(
"phiIn");
129 m = CLHEP::HepMatrix(32,32);
133 G4cout <<
"===> NANOBEAM LINE INTRINSIC ABERRATION COEFFICIENTS (units of micrometer and mrad) :" <<
G4endl;
139 CLHEP::HepVector
tmp(32,0);
176 delete G4AnalysisManager::Instance();
CLHEP::HepVector fXVector
void EndOfRunAction(const G4Run *)
CLHEP::HepMatrix GetMatrix()
void BeginOfRunAction(const G4Run *)
CLHEP::HepVector fYVector
static constexpr double m
#define G4MUTEX_INITIALIZER
CLHEP::HepVector fThetaVector
The primary generator action class with particle gun.
G4CsvAnalysisManager G4AnalysisManager
DetectorConstruction * fDetector
PrimaryGeneratorAction * fPrimary
G4GLOB_DLL std::ostream G4cout
CLHEP::HepVector fPhiVector
Simple detector construction with a box volume placed in a world.