30 #include "RunAction.hh"
31 #include "Analysis.hh"
48 G4cout <<
"Using " << analysisManager->GetType() <<
G4endl;
49 analysisManager->SetVerboseLevel(1);
50 analysisManager->SetNtupleMerging(
true);
58 analysisManager->CreateNtuple(
"Screen",
"Screen hits");
59 analysisManager->CreateNtupleIColumn(
"ID");
60 analysisManager->CreateNtupleIColumn(
"PDG");
61 analysisManager->CreateNtupleDColumn(
"Ekin");
62 analysisManager->CreateNtupleDColumn(
"Xpos");
63 analysisManager->CreateNtupleDColumn(
"Ypos");
64 analysisManager->CreateNtupleDColumn(
"time");
65 analysisManager->FinishNtuple();
83 analysisManager->OpenFile();
92 analysisManager->Write();
93 analysisManager->CloseFile();