#include <AnalysisManager.hh>
Definition at line 34 of file AnalysisManager.hh.
AnalysisManager::AnalysisManager |
( |
| ) |
|
|
protected |
AnalysisManager::~AnalysisManager |
( |
| ) |
|
|
protectedvirtual |
AnalysisManager::AnalysisManager |
( |
| ) |
|
AnalysisManager::~AnalysisManager |
( |
| ) |
|
void AnalysisManager::book |
( |
| ) |
|
Definition at line 54 of file AnalysisManager.cc.
58 manager->SetVerboseLevel(2);
61 G4String fileName =
"radioprotection.root";
64 manager->SetNtupleDirectoryName(
"radioprotection_ntuple");
67 G4bool fileOpen = manager->OpenFile(fileName);
69 G4cout <<
"\n---> HistoManager::book(): cannot open "
74 manager->SetFirstNtupleId(1);
77 manager -> CreateNtuple(
"101",
"Primary Energy");
78 fNtColId[0] = manager -> CreateNtupleDColumn(
"Ek");
79 manager -> FinishNtuple();
82 manager -> CreateNtuple(
"102",
"Edep");
83 fNtColId[1] = manager -> CreateNtupleDColumn(
"edep");
84 manager -> FinishNtuple();
87 manager -> CreateNtuple(
"103",
"secondary");
88 fNtColId[2] = manager -> CreateNtupleDColumn(
"AA");
89 fNtColId[3] = manager -> CreateNtupleDColumn(
"ZZ");
90 fNtColId[4] = manager -> CreateNtupleDColumn(
"KE");
91 manager -> FinishNtuple();
G4GLOB_DLL std::ostream G4cout
G4CsvAnalysisManager G4AnalysisManager
Definition at line 112 of file AnalysisManager.cc.
116 manager -> FillNtupleDColumn(3, fNtColId[2], AA);
117 manager -> FillNtupleDColumn(3, fNtColId[3], charge);
118 manager -> FillNtupleDColumn(3, fNtColId[4],
energy);
119 manager -> AddNtupleRow(3);
G4double energy(const ThreeVector &p, const G4double m)
G4CsvAnalysisManager G4AnalysisManager
void AnalysisManager::finish |
( |
| ) |
|
Definition at line 122 of file AnalysisManager.cc.
128 manager -> CloseFile();
130 delete G4AnalysisManager::Instance();
G4CsvAnalysisManager G4AnalysisManager
Definition at line 98 of file AnalysisManager.cc.
101 manager -> FillNtupleDColumn(1, fNtColId[0],
energy);
102 manager -> AddNtupleRow(1);
G4double energy(const ThreeVector &p, const G4double m)
G4CsvAnalysisManager G4AnalysisManager
void AnalysisManager::StoreEnergyDeposition |
( |
G4double |
edep | ) |
|
Definition at line 105 of file AnalysisManager.cc.
108 manager -> FillNtupleDColumn(2, fNtColId[1], edep);
109 manager -> AddNtupleRow(2);
G4CsvAnalysisManager G4AnalysisManager
The documentation for this class was generated from the following files: