36 #include "RunAction.hh"
37 #include "Analysis.hh"
52 G4cout <<
"##### Create analysis manager " <<
" " <<
this <<
G4endl;
55 analysisManager->SetNtupleMerging(
true);
57 G4cout <<
"Using " << analysisManager->GetType()
58 <<
" analysis manager"
63 analysisManager->SetVerboseLevel(1);
67 analysisManager->CreateNtuple(
"yz",
"yz-distributions");
68 analysisManager->CreateNtupleDColumn(
"radius");
69 analysisManager->CreateNtupleDColumn(
"eventID");
70 analysisManager->CreateNtupleDColumn(
"nbHits");
71 analysisManager->CreateNtupleDColumn(
"nbScoredHits");
72 analysisManager->CreateNtupleDColumn(
"y");
73 analysisManager->CreateNtupleDColumn(
"z");
74 analysisManager->CreateNtupleDColumn(
"Einc");
76 analysisManager->FinishNtuple();
93 analysisManager->OpenFile(fileName);
107 analysisManager->Write();
108 analysisManager->CloseFile();