42 fEventAction(eventAction)
47 G4cout <<
"Using " << analysisManager->GetType() <<
G4endl;
50 analysisManager->SetNtupleMerging(
true);
52 analysisManager->SetVerboseLevel(1);
53 analysisManager->SetFileName(
"B5");
60 ->CreateH1(
"Chamber1",
"Drift Chamber 1 # Hits", 50, 0., 50);
62 ->CreateH1(
"Chamber2",
"Drift Chamber 2 # Hits", 50, 0., 50);
66 ->CreateH2(
"Chamber1 XY",
"Drift Chamber 1 X vs Y",
67 50, -1000., 1000, 50, -300., 300.);
69 ->CreateH2(
"Chamber2 XY",
"Drift Chamber 2 X vs Y",
70 50, -1500., 1500, 50, -300., 300.);
75 analysisManager->CreateNtuple(
"B5",
"Hits");
76 analysisManager->CreateNtupleIColumn(
"Dc1Hits");
77 analysisManager->CreateNtupleIColumn(
"Dc2Hits");
78 analysisManager->CreateNtupleDColumn(
"ECEnergy");
79 analysisManager->CreateNtupleDColumn(
"HCEnergy");
80 analysisManager->CreateNtupleDColumn(
"Time1");
81 analysisManager->CreateNtupleDColumn(
"Time2");
86 analysisManager->FinishNtuple();
110 analysisManager->OpenFile();
120 analysisManager->Write();
121 analysisManager->CloseFile();