34 #include "HistoManager.hh"
40 : fFileName(
"rdecay02")
49 delete G4AnalysisManager::Instance();
54 void HistoManager::Book()
62 analysis->SetFileName(fFileName);
63 analysis->SetVerboseLevel(1);
64 analysis->SetActivation(
true);
77 G4int id = analysis->CreateH1(
"H10",
"Energy deposit (MeV) in the target",
79 analysis->SetH1Activation(
id,
false);
81 id = analysis->CreateH1(
"H11",
"Energy deposit (MeV) in the detector",
83 analysis->SetH1Activation(
id,
false);
85 id = analysis->CreateH1(
"H12",
"Total energy (MeV) in target and detector",
87 analysis->SetH1Activation(
id,
false);
89 id = analysis->CreateH1(
"H13",
90 "Coincidence spectrum (MeV) between the target and detector",
92 analysis->SetH1Activation(
id,
false);
94 id = analysis->CreateH1(
"H14",
95 "Anti-coincidence spectrum (MeV) in the traget",
97 analysis->SetH1Activation(
id,
false);
99 id = analysis->CreateH1(
"H15",
100 "Anti-coincidence spectrum (MeV) in the detector",
102 analysis->SetH1Activation(
id,
false);
104 id = analysis->CreateH1(
"H16",
"Decay emission spectrum (MeV)",
106 analysis->SetH1Activation(
id,
false);
113 analysis->CreateNtuple(
"T1",
"Emitted Particles");
114 analysis->CreateNtupleDColumn(
"PID");
115 analysis->CreateNtupleDColumn(
"Energy");
116 analysis->CreateNtupleDColumn(
"Time");
117 analysis->CreateNtupleDColumn(
"Weight");
118 analysis->FinishNtuple();
120 analysis->CreateNtuple(
"T2",
"RadioIsotopes");
121 analysis->CreateNtupleDColumn(
"PID");
122 analysis->CreateNtupleDColumn(
"Time");
123 analysis->CreateNtupleDColumn(
"Weight");
124 analysis->FinishNtuple();
126 analysis->CreateNtuple(
"T3",
"Energy depositions");
127 analysis->CreateNtupleDColumn(
"Energy");
128 analysis->CreateNtupleDColumn(
"Time");
129 analysis->CreateNtupleDColumn(
"Weight");
130 analysis->FinishNtuple();
132 analysis->CreateNtuple(
"RDecayProducts",
"All Products of RDecay");
133 analysis->CreateNtupleDColumn(
"PID");
134 analysis->CreateNtupleDColumn(
"Z");
135 analysis->CreateNtupleDColumn(
"A");
136 analysis->CreateNtupleDColumn(
"Energy");
137 analysis->CreateNtupleDColumn(
"Time");
138 analysis->CreateNtupleDColumn(
"Weight");
139 analysis->FinishNtuple();
141 analysis->SetNtupleActivation(
false);
G4CsvAnalysisManager G4AnalysisManager