Geant4.10
|
#include <G4VAnalysisManager.hh>
Protected Member Functions | |
virtual G4bool | OpenFileImpl (const G4String &fileName)=0 |
virtual G4bool | WriteImpl ()=0 |
virtual G4bool | CloseFileImpl ()=0 |
void | SetH1Manager (G4VH1Manager *h1Manager) |
void | SetH2Manager (G4VH2Manager *h2Manager) |
void | SetNtupleManager (G4VNtupleManager *ntupleManager) |
void | SetFileManager (G4VFileManager *fileManager) |
G4bool | WriteAscii (const G4String &fileName) |
Protected Attributes | |
G4AnalysisManagerState | fState |
Definition at line 55 of file G4VAnalysisManager.hh.
Definition at line 44 of file G4VAnalysisManager.cc.
|
virtual |
Definition at line 58 of file G4VAnalysisManager.cc.
G4bool G4VAnalysisManager::AddNtupleRow | ( | ) |
Referenced by Histo::AddRow(), XrayTelAnalysis::analyseStepping(), B5EventAction::EndOfEventAction(), exGPSHistoManager::Fill(), PurgMagAnalysisManager::fill_Tuple_Electrons(), PurgMagAnalysisManager::fill_Tuple_Gamma(), PurgMagAnalysisManager::fill_Tuple_Positrons(), G4HumanPhantomAnalysisManager::FillNtupleWithEnergyDeposition(), BrachyAnalysisManager::FillNtupleWithEnergyDeposition(), and DMXPrimaryGeneratorAction::GeneratePrimaries().
G4bool G4VAnalysisManager::CloseFile | ( | ) |
Definition at line 173 of file G4VAnalysisManager.cc.
References CloseFileImpl().
Referenced by Histo::EndOfHisto(), B5RunAction::EndOfRunAction(), FCALRunAction::EndOfRunAction(), UltraRunAction::EndOfRunAction(), PurgMagAnalysisManager::finish(), XrayTelAnalysis::finish(), DMXRunAction::Finish(), exGPSHistoManager::save(), G4HumanPhantomAnalysisManager::save(), BrachyAnalysisManager::save(), Histo::Save(), and RMC01AnalysisManager::save().
|
protectedpure virtual |
Implemented in G4RootAnalysisManager, G4XmlAnalysisManager, and G4CsvAnalysisManager.
Referenced by CloseFile().
G4int G4VAnalysisManager::CreateH1 | ( | const G4String & | name, |
const G4String & | title, | ||
G4int | nbins, | ||
G4double | xmin, | ||
G4double | xmax, | ||
const G4String & | unitName = "none" , |
||
const G4String & | fcnName = "none" , |
||
const G4String & | binSchemeName = "linear" |
||
) |
Definition at line 215 of file G4VAnalysisManager.cc.
References G4Analysis::CheckMinMax(), G4Analysis::CheckNbins(), G4VH1Manager::CreateH1(), and G4Analysis::kInvalidId.
Referenced by B5RunAction::B5RunAction(), FCALRunAction::BeginOfRunAction(), UltraRunAction::BeginOfRunAction(), exGPSHistoManager::book(), XrayTelAnalysis::book(), Histo::Book(), RMC01AnalysisManager::book(), and G4H1Messenger::SetNewValue().
G4int G4VAnalysisManager::CreateH1 | ( | const G4String & | name, |
const G4String & | title, | ||
const std::vector< G4double > & | edges, | ||
const G4String & | unitName = "none" , |
||
const G4String & | fcnName = "none" |
||
) |
Definition at line 228 of file G4VAnalysisManager.cc.
References G4Analysis::CheckEdges(), G4VH1Manager::CreateH1(), and G4Analysis::kInvalidId.
G4int G4VAnalysisManager::CreateH2 | ( | const G4String & | name, |
const G4String & | title, | ||
G4int | nxbins, | ||
G4double | xmin, | ||
G4double | xmax, | ||
G4int | nybins, | ||
G4double | ymin, | ||
G4double | ymax, | ||
const G4String & | xunitName = "none" , |
||
const G4String & | yunitName = "none" , |
||
const G4String & | xfcnName = "none" , |
||
const G4String & | yfcnName = "none" , |
||
const G4String & | xbinScheme = "linear" , |
||
const G4String & | ybinScheme = "linear" |
||
) |
Definition at line 238 of file G4VAnalysisManager.cc.
References G4Analysis::CheckMinMax(), G4Analysis::CheckNbins(), G4VH2Manager::CreateH2(), and G4Analysis::kInvalidId.
Referenced by B5RunAction::B5RunAction(), exGPSHistoManager::book(), XrayTelAnalysis::book(), and G4H2Messenger::SetNewValue().
G4int G4VAnalysisManager::CreateH2 | ( | const G4String & | name, |
const G4String & | title, | ||
const std::vector< G4double > & | xedges, | ||
const std::vector< G4double > & | yedges, | ||
const G4String & | xunitName = "none" , |
||
const G4String & | yunitName = "none" , |
||
const G4String & | xfcnName = "none" , |
||
const G4String & | yfcnName = "none" |
||
) |
Definition at line 260 of file G4VAnalysisManager.cc.
References G4Analysis::CheckEdges(), G4VH2Manager::CreateH2(), and G4Analysis::kInvalidId.
Definition at line 344 of file G4VAnalysisManager.cc.
References G4VNtupleManager::CreateNtuple().
Referenced by B5RunAction::B5RunAction(), PurgMagAnalysisManager::book(), exGPSHistoManager::book(), XrayTelAnalysis::book(), and Histo::Book().
Definition at line 363 of file G4VAnalysisManager.cc.
References G4VNtupleManager::CreateNtupleDColumn().
Referenced by B5RunAction::B5RunAction(), G4HumanPhantomAnalysisManager::book(), BrachyAnalysisManager::book(), PurgMagAnalysisManager::book(), exGPSHistoManager::book(), XrayTelAnalysis::book(), and Histo::Book().
Definition at line 389 of file G4VAnalysisManager.cc.
References G4VNtupleManager::CreateNtupleDColumn().
Definition at line 357 of file G4VAnalysisManager.cc.
References G4VNtupleManager::CreateNtupleFColumn().
Referenced by Histo::Book().
Definition at line 382 of file G4VAnalysisManager.cc.
References G4VNtupleManager::CreateNtupleFColumn().
Definition at line 351 of file G4VAnalysisManager.cc.
References G4VNtupleManager::CreateNtupleIColumn().
Referenced by B5RunAction::B5RunAction(), exGPSHistoManager::book(), and Histo::Book().
Definition at line 375 of file G4VAnalysisManager.cc.
References G4VNtupleManager::CreateNtupleIColumn().
Referenced by Histo::AddPhantomGamma(), Histo::AddPhantomStep(), XrayTelAnalysis::analyseStepping(), B5EventAction::EndOfEventAction(), FCALTBEventAction::EndOfEventAction(), UltraEventAction::EndOfEventAction(), DMXEventAction::EndOfEventAction(), Histo::Fill(), and DMXSteppingAction::UserSteppingAction().
G4bool G4VAnalysisManager::FillH2 | ( | G4int | id, |
G4double | xvalue, | ||
G4double | yvalue, | ||
G4double | weight = 1.0 |
||
) |
Referenced by XrayTelAnalysis::analyseStepping(), and B5EventAction::EndOfEventAction().
Referenced by XrayTelAnalysis::analyseStepping(), B5EventAction::EndOfEventAction(), exGPSHistoManager::Fill(), PurgMagAnalysisManager::fill_Tuple_Electrons(), PurgMagAnalysisManager::fill_Tuple_Gamma(), PurgMagAnalysisManager::fill_Tuple_Positrons(), G4HumanPhantomAnalysisManager::FillNtupleWithEnergyDeposition(), BrachyAnalysisManager::FillNtupleWithEnergyDeposition(), Histo::FillTupleD(), and DMXPrimaryGeneratorAction::GeneratePrimaries().
Referenced by Histo::FillTupleF().
Referenced by B5EventAction::EndOfEventAction(), exGPSHistoManager::Fill(), and Histo::FillTupleI().
void G4VAnalysisManager::FinishNtuple | ( | ) |
Definition at line 369 of file G4VAnalysisManager.cc.
References G4VNtupleManager::FinishNtuple().
Referenced by B5RunAction::B5RunAction(), G4HumanPhantomAnalysisManager::book(), PurgMagAnalysisManager::book(), BrachyAnalysisManager::book(), exGPSHistoManager::book(), and XrayTelAnalysis::book().
Definition at line 395 of file G4VAnalysisManager.cc.
References G4VNtupleManager::FinishNtuple().
G4bool G4VAnalysisManager::GetActivation | ( | ) | const |
G4String G4VAnalysisManager::GetFileName | ( | ) | const |
G4String G4VAnalysisManager::GetFileType | ( | ) | const |
Referenced by exGPSHistoManager::book(), and RMC01AnalysisManager::book().
G4String G4VAnalysisManager::GetHistoDirectoryName | ( | ) | const |
Definition at line 203 of file G4VAnalysisManager.cc.
References G4VFileManager::GetHistoDirectoryName().
G4int G4VAnalysisManager::GetNofH1s | ( | ) | const |
Definition at line 487 of file G4VAnalysisManager.cc.
References G4HnManager::GetNofHns().
Referenced by RMC01AnalysisManager::save().
G4int G4VAnalysisManager::GetNofH2s | ( | ) | const |
Definition at line 493 of file G4VAnalysisManager.cc.
References G4HnManager::GetNofHns().
Referenced by RMC01AnalysisManager::save().
G4int G4VAnalysisManager::GetNofNtuples | ( | ) | const |
Definition at line 499 of file G4VAnalysisManager.cc.
References G4VNtupleManager::GetNofNtuples().
G4String G4VAnalysisManager::GetNtupleDirectoryName | ( | ) | const |
Definition at line 209 of file G4VAnalysisManager.cc.
References G4VFileManager::GetNtupleDirectoryName().
G4String G4VAnalysisManager::GetType | ( | ) | const |
Referenced by B5RunAction::B5RunAction().
G4int G4VAnalysisManager::GetVerboseLevel | ( | ) | const |
G4bool G4VAnalysisManager::IsActive | ( | ) | const |
Definition at line 468 of file G4VAnalysisManager.cc.
References fState, G4AnalysisManagerState::GetIsActivation(), and G4HnManager::IsActive().
G4bool G4VAnalysisManager::IsAscii | ( | ) | const |
Definition at line 479 of file G4VAnalysisManager.cc.
References G4HnManager::IsAscii().
Referenced by G4XmlAnalysisManager::WriteImpl(), and G4RootAnalysisManager::WriteImpl().
G4bool G4VAnalysisManager::OpenFile | ( | ) |
Definition at line 146 of file G4VAnalysisManager.cc.
References G4Exception(), G4VFileManager::GetFileName(), JustWarning, and OpenFileImpl().
Referenced by B5RunAction::BeginOfRunAction(), FCALRunAction::BeginOfRunAction(), UltraRunAction::BeginOfRunAction(), G4HumanPhantomAnalysisManager::book(), BrachyAnalysisManager::book(), PurgMagAnalysisManager::book(), exGPSHistoManager::book(), XrayTelAnalysis::book(), Histo::Book(), and RMC01AnalysisManager::book().
Definition at line 161 of file G4VAnalysisManager.cc.
References OpenFileImpl().
Implemented in G4RootAnalysisManager, G4XmlAnalysisManager, and G4CsvAnalysisManager.
Referenced by OpenFile().
Definition at line 332 of file G4VAnalysisManager.cc.
References G4VH1Manager::ScaleH1().
Referenced by RMC01AnalysisManager::save().
Definition at line 338 of file G4VAnalysisManager.cc.
References G4VH2Manager::ScaleH2().
Referenced by RMC01AnalysisManager::save().
Definition at line 460 of file G4VAnalysisManager.cc.
References fState.
Referenced by G4AnalysisMessenger::SetNewValue().
|
protected |
Definition at line 94 of file G4VAnalysisManager.cc.
Referenced by G4CsvAnalysisManager::G4CsvAnalysisManager(), G4RootAnalysisManager::G4RootAnalysisManager(), and G4XmlAnalysisManager::G4XmlAnalysisManager().
Definition at line 179 of file G4VAnalysisManager.cc.
References G4VFileManager::SetFileName().
Referenced by B5RunAction::B5RunAction(), and G4FileMessenger::SetNewValue().
Definition at line 420 of file G4VAnalysisManager.cc.
References G4BaseAnalysisManager::SetFirstId().
Definition at line 433 of file G4VAnalysisManager.cc.
References G4BaseAnalysisManager::SetFirstId().
Definition at line 401 of file G4VAnalysisManager.cc.
References G4BaseAnalysisManager::SetFirstId().
Referenced by FCALRunAction::BeginOfRunAction(), UltraRunAction::BeginOfRunAction(), BrachyAnalysisManager::book(), exGPSHistoManager::book(), XrayTelAnalysis::book(), and RMC01AnalysisManager::book().
Definition at line 452 of file G4VAnalysisManager.cc.
References G4VNtupleManager::SetFirstNtupleColumnId().
Definition at line 446 of file G4VAnalysisManager.cc.
References G4BaseAnalysisManager::SetFirstId().
Referenced by G4HumanPhantomAnalysisManager::book(), PurgMagAnalysisManager::book(), and exGPSHistoManager::book().
G4bool G4VAnalysisManager::SetH1 | ( | G4int | id, |
G4int | nbins, | ||
G4double | xmin, | ||
G4double | xmax, | ||
const G4String & | unitName = "none" , |
||
const G4String & | fcnName = "none" , |
||
const G4String & | binSchemeName = "linear" |
||
) |
Definition at line 276 of file G4VAnalysisManager.cc.
References G4Analysis::CheckMinMax(), G4Analysis::CheckNbins(), G4Analysis::kInvalidId, and G4VH1Manager::SetH1().
Referenced by G4H1Messenger::SetNewValue().
G4bool G4VAnalysisManager::SetH1 | ( | G4int | id, |
const std::vector< G4double > & | edges, | ||
const G4String & | unitName = "none" , |
||
const G4String & | fcnName = "none" |
||
) |
Definition at line 288 of file G4VAnalysisManager.cc.
References G4Analysis::CheckEdges(), G4Analysis::kInvalidId, and G4VH1Manager::SetH1().
Definition at line 523 of file G4VAnalysisManager.cc.
References G4HnManager::SetAscii().
Referenced by RMC01AnalysisManager::save().
|
protected |
Definition at line 72 of file G4VAnalysisManager.cc.
References G4VH1Manager::fHnManager, and G4AnalysisMessenger::SetH1HnManager().
Referenced by G4CsvAnalysisManager::G4CsvAnalysisManager(), G4RootAnalysisManager::G4RootAnalysisManager(), and G4XmlAnalysisManager::G4XmlAnalysisManager().
Referenced by G4H1Messenger::SetNewValue().
Referenced by G4H1Messenger::SetNewValue().
Referenced by G4H1Messenger::SetNewValue().
G4bool G4VAnalysisManager::SetH2 | ( | G4int | id, |
G4int | nxbins, | ||
G4double | xmin, | ||
G4double | xmax, | ||
G4int | nybins, | ||
G4double | ymin, | ||
G4double | ymax, | ||
const G4String & | xunitName = "none" , |
||
const G4String & | yunitName = "none" , |
||
const G4String & | xfcnName = "none" , |
||
const G4String & | yfcnName = "none" , |
||
const G4String & | xbinSchemeName = "linear" , |
||
const G4String & | ybinSchemeName = "linear" |
||
) |
Definition at line 298 of file G4VAnalysisManager.cc.
References G4Analysis::CheckMinMax(), G4Analysis::CheckNbins(), G4Analysis::kInvalidId, and G4VH2Manager::SetH2().
Referenced by G4H2Messenger::SetNewValue().
G4bool G4VAnalysisManager::SetH2 | ( | G4int | id, |
const std::vector< G4double > & | xedges, | ||
const std::vector< G4double > & | yedges, | ||
const G4String & | xunitName = "none" , |
||
const G4String & | yunitName = "none" , |
||
const G4String & | xfcnName = "none" , |
||
const G4String & | yfcnName = "none" |
||
) |
Definition at line 318 of file G4VAnalysisManager.cc.
References G4Analysis::CheckEdges(), G4Analysis::kInvalidId, and G4VH2Manager::SetH2().
|
protected |
Definition at line 80 of file G4VAnalysisManager.cc.
References G4VH2Manager::fHnManager, and G4AnalysisMessenger::SetH2HnManager().
Referenced by G4CsvAnalysisManager::G4CsvAnalysisManager(), G4RootAnalysisManager::G4RootAnalysisManager(), and G4XmlAnalysisManager::G4XmlAnalysisManager().
Referenced by G4H2Messenger::SetNewValue().
Referenced by G4H2Messenger::SetNewValue().
Referenced by G4H2Messenger::SetNewValue().
Referenced by G4H2Messenger::SetNewValue().
Definition at line 185 of file G4VAnalysisManager.cc.
References G4VFileManager::SetHistoDirectoryName().
Referenced by BrachyAnalysisManager::book(), exGPSHistoManager::book(), RMC01AnalysisManager::book(), and G4FileMessenger::SetNewValue().
Definition at line 191 of file G4VAnalysisManager.cc.
References G4VFileManager::SetNtupleDirectoryName().
Referenced by G4HumanPhantomAnalysisManager::book(), BrachyAnalysisManager::book(), exGPSHistoManager::book(), and G4FileMessenger::SetNewValue().
|
protected |
Definition at line 88 of file G4VAnalysisManager.cc.
Referenced by G4CsvAnalysisManager::G4CsvAnalysisManager(), G4RootAnalysisManager::G4RootAnalysisManager(), and G4XmlAnalysisManager::G4XmlAnalysisManager().
Definition at line 553 of file G4VAnalysisManager.cc.
References fState.
Referenced by B5RunAction::B5RunAction(), G4HumanPhantomAnalysisManager::book(), BrachyAnalysisManager::book(), exGPSHistoManager::book(), and G4AnalysisMessenger::SetNewValue().
G4bool G4VAnalysisManager::Write | ( | ) |
Definition at line 167 of file G4VAnalysisManager.cc.
References WriteImpl().
Referenced by Histo::EndOfHisto(), B5RunAction::EndOfRunAction(), FCALRunAction::EndOfRunAction(), UltraRunAction::EndOfRunAction(), PurgMagAnalysisManager::finish(), XrayTelAnalysis::finish(), DMXRunAction::Finish(), exGPSHistoManager::save(), G4HumanPhantomAnalysisManager::save(), BrachyAnalysisManager::save(), Histo::Save(), and RMC01AnalysisManager::save().
Definition at line 100 of file G4VAnalysisManager.cc.
References G4String::append(), fState, G4Exception(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL3(), JustWarning, G4AnalysisVerbose::Message(), G4VH1Manager::WriteOnAscii(), and G4VH2Manager::WriteOnAscii().
Referenced by G4XmlAnalysisManager::WriteImpl(), and G4RootAnalysisManager::WriteImpl().
|
protectedpure virtual |
Implemented in G4RootAnalysisManager, G4XmlAnalysisManager, and G4CsvAnalysisManager.
Referenced by Write().
|
protected |
Definition at line 282 of file G4VAnalysisManager.hh.
Referenced by G4CsvAnalysisManager::CloseFileImpl(), G4XmlAnalysisManager::CloseFileImpl(), G4RootAnalysisManager::CloseFileImpl(), G4CsvAnalysisManager::G4CsvAnalysisManager(), G4RootAnalysisManager::G4RootAnalysisManager(), G4XmlAnalysisManager::G4XmlAnalysisManager(), IsActive(), G4XmlAnalysisManager::OpenFileImpl(), G4RootAnalysisManager::OpenFileImpl(), SetActivation(), SetVerboseLevel(), WriteAscii(), G4XmlAnalysisManager::WriteImpl(), G4CsvAnalysisManager::~G4CsvAnalysisManager(), G4RootAnalysisManager::~G4RootAnalysisManager(), and G4XmlAnalysisManager::~G4XmlAnalysisManager().