37 #include "RunAction.hh"
38 #include "Analysis.hh"
54 G4cout <<
"##### Create analysis manager " <<
" " <<
this <<
G4endl;
57 analysisManager->SetNtupleMerging(
true);
59 G4cout <<
"Using " << analysisManager->GetType()
60 <<
" analysis manager"
63 analysisManager->SetVerboseLevel(1);
66 analysisManager->SetFirstNtupleId(1);
69 analysisManager->CreateNtuple(
"ntuple_1",
"ICSD");
70 analysisManager->CreateNtupleDColumn(1,
"ionisations");
71 analysisManager->FinishNtuple(1);
74 analysisManager->CreateNtuple(
"ntuple_2",
"physics");
75 analysisManager->CreateNtupleDColumn(2,
"EventID");
76 analysisManager->CreateNtupleDColumn(2,
"flagProcess");
77 analysisManager->CreateNtupleDColumn(2,
"x");
78 analysisManager->CreateNtupleDColumn(2,
"y");
79 analysisManager->CreateNtupleDColumn(2,
"z");
80 analysisManager->CreateNtupleDColumn(2,
"totalEnergyDeposit");
81 analysisManager->FinishNtuple(2);}
98 analysisManager->OpenFile(fileName);
111 analysisManager->Write();
112 analysisManager->CloseFile();