Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
Functions | |
void | Warn (const G4String &message, const std::string_view inClass, const std::string_view inFunction) |
G4double | GetUnitValue (const G4String &unit) |
void | Tokenize (const G4String &line, std::vector< G4String > &tokens) |
G4AnalysisOutput | GetOutput (const G4String &outputName, G4bool warn=true) |
size_t | GetOutputId (const G4String &outputName, G4bool warn=true) |
G4String | GetOutputName (G4AnalysisOutput outputType) |
template<typename HT > | |
G4String | GetHnType () |
template<typename HT > | |
G4bool | IsProfile () |
template<typename T > | |
std::string | ToString (const T &value) |
template<> | |
std::string | ToString< std::string > (const std::string &value) |
G4String | GetBaseName (const G4String &fileName) |
G4String | GetExtension (const G4String &fileName, const G4String &defaultExtension="") |
G4String | GetHnFileName (const G4String &fileName, const G4String &fileType, const G4String &hnType, const G4String &hnName) |
G4String | GetHnFileName (const G4String &fileName, const G4String &fileType, G4int cycle=0) |
G4String | GetNtupleFileName (const G4String &fileName, const G4String &fileType, const G4String &ntupleName, G4int cycle=0) |
G4String | GetNtupleFileName (const G4String &fileName, const G4String &fileType, G4int ntupleFileNumber, G4int cycle=0) |
G4String | GetTnFileName (const G4String &fileName, const G4String &fileType, G4int cycle=0) |
G4String | GetPlotFileName (const G4String &fileName) |
G4BinScheme | GetBinScheme (const G4String &binSchemeName) |
void | ComputeEdges (G4int nbins, G4double xmin, G4double xmax, G4double unit, G4Fcn fcn, G4BinScheme, std::vector< G4double > &edges) |
void | ComputeEdges (const std::vector< G4double > &edges, G4double unit, G4Fcn fcn, std::vector< G4double > &newEdges) |
G4Fcn | GetFunction (const G4String &fcnName) |
void | Update (G4double &value, const G4HnDimensionInformation &hnInfo) |
void | UpdateValues (G4HnDimension &bins, const G4HnDimensionInformation &hnInfo) |
void | Update (G4HnDimension &bins, const G4HnDimensionInformation &hnInfo) |
void | UpdateTitle (G4String &title, const G4HnDimensionInformation &hnInfo) |
G4bool | CheckMinMax (G4double min, G4double max) |
G4bool | CheckDimension (unsigned int idim, const G4HnDimension &dimension, const G4HnDimensionInformation &info) |
template<unsigned int DIM> | |
G4bool | CheckDimensions (const std::array< G4HnDimension, DIM > &bins, const std::array< G4HnDimensionInformation, DIM > &hnInfo, G4bool isProfile=false) |
Variables | |
constexpr G4int | kX { 0 } |
constexpr G4int | kY { 1 } |
constexpr G4int | kZ { 2 } |
constexpr G4int | kInvalidId { -1 } |
constexpr G4int | kVL0 { 0 } |
constexpr G4int | kVL1 { 1 } |
constexpr G4int | kVL2 { 2 } |
constexpr G4int | kVL3 { 3 } |
constexpr G4int | kVL4 { 4 } |
constexpr unsigned int | kDefaultBasketSize = 32000 |
constexpr unsigned int | kDefaultBasketEntries = 4000 |
constexpr std::string_view | kNamespaceName { "G4Analysis" } |
G4bool G4Analysis::CheckDimension | ( | unsigned int | idim, |
const G4HnDimension & | dimension, | ||
const G4HnDimensionInformation & | info | ||
) |
Definition at line 153 of file G4HnInformation.cc.
Referenced by CheckDimensions().
|
inline |
Definition at line 221 of file G4HnInformation.hh.
Definition at line 137 of file G4HnInformation.cc.
Referenced by CheckDimensions().
void G4Analysis::ComputeEdges | ( | const std::vector< G4double > & | edges, |
G4double | unit, | ||
G4Fcn | fcn, | ||
std::vector< G4double > & | newEdges | ||
) |
Definition at line 105 of file G4BinScheme.cc.
void G4Analysis::ComputeEdges | ( | G4int | nbins, |
G4double | xmin, | ||
G4double | xmax, | ||
G4double | unit, | ||
G4Fcn | fcn, | ||
G4BinScheme | binScheme, | ||
std::vector< G4double > & | edges | ||
) |
Definition at line 50 of file G4BinScheme.cc.
Referenced by Update().
Definition at line 147 of file G4AnalysisUtilities.cc.
Referenced by G4CsvFileManager::CreateNtupleFile(), G4BaseFileManager::GetFullFileName(), GetHnFileName(), GetNtupleFileName(), GetPlotFileName(), GetTnFileName(), G4VFileManager::SetFileName(), and G4NtupleBookingManager::SetFileType().
G4BinScheme G4Analysis::GetBinScheme | ( | const G4String & | binSchemeName | ) |
Definition at line 36 of file G4BinScheme.cc.
G4String G4Analysis::GetExtension | ( | const G4String & | fileName, |
const G4String & | defaultExtension = "" |
||
) |
Definition at line 160 of file G4AnalysisUtilities.cc.
Referenced by G4CsvFileManager::CreateNtupleFile(), G4GenericFileManager::GetFileManager(), G4VAnalysisManager::GetFileManager(), GetHnFileName(), GetNtupleFileName(), GetTnFileName(), G4GenericAnalysisManager::OpenFileImpl(), G4VFileManager::SetFileName(), G4NtupleBookingManager::SetFileName(), and G4NtupleBookingManager::SetFileType().
Definition at line 36 of file G4Fcn.cc.
G4String G4Analysis::GetHnFileName | ( | const G4String & | fileName, |
const G4String & | fileType, | ||
const G4String & | hnType, | ||
const G4String & | hnName | ||
) |
Definition at line 177 of file G4AnalysisUtilities.cc.
Referenced by G4BaseFileManager::GetHnFileName().
G4String G4Analysis::GetHnFileName | ( | const G4String & | fileName, |
const G4String & | fileType, | ||
G4int | cycle = 0 |
||
) |
Definition at line 207 of file G4AnalysisUtilities.cc.
G4String G4Analysis::GetHnType | ( | ) |
Definition at line 86 of file G4AnalysisUtilities.hh.
G4String G4Analysis::GetNtupleFileName | ( | const G4String & | fileName, |
const G4String & | fileType, | ||
const G4String & | ntupleName, | ||
G4int | cycle = 0 |
||
) |
Definition at line 234 of file G4AnalysisUtilities.cc.
Referenced by G4BaseFileManager::GetNtupleFileName().
G4String G4Analysis::GetNtupleFileName | ( | const G4String & | fileName, |
const G4String & | fileType, | ||
G4int | ntupleFileNumber, | ||
G4int | cycle = 0 |
||
) |
Definition at line 277 of file G4AnalysisUtilities.cc.
G4AnalysisOutput G4Analysis::GetOutput | ( | const G4String & | outputName, |
G4bool | warn = true |
||
) |
Definition at line 105 of file G4AnalysisUtilities.cc.
Referenced by G4GenericFileManager::GetFileManager(), G4GenericFileManager::SetDefaultFileType(), and G4NtupleBookingManager::SetFileName().
G4String G4Analysis::GetOutputName | ( | G4AnalysisOutput | outputType | ) |
Definition at line 120 of file G4AnalysisUtilities.cc.
Referenced by G4GenericFileManager::CreateNtupleFileManager().
Definition at line 349 of file G4AnalysisUtilities.cc.
Referenced by G4BaseFileManager::GetPlotFileName().
G4String G4Analysis::GetTnFileName | ( | const G4String & | fileName, |
const G4String & | fileType, | ||
G4int | cycle = 0 |
||
) |
Definition at line 313 of file G4AnalysisUtilities.cc.
Definition at line 75 of file G4AnalysisUtilities.cc.
G4bool G4Analysis::IsProfile | ( | ) |
Definition at line 96 of file G4AnalysisUtilities.hh.
Definition at line 86 of file G4AnalysisUtilities.cc.
Referenced by G4PlotMessenger::SetNewValue(), G4HnMessenger::SetNewValue(), and G4NtupleMessenger::SetNewValue().
|
inline |
Definition at line 108 of file G4AnalysisUtilities.hh.
|
inline |
Definition at line 113 of file G4AnalysisUtilities.hh.
void G4Analysis::Update | ( | G4double & | value, |
const G4HnDimensionInformation & | hnInfo | ||
) |
Definition at line 58 of file G4HnInformation.cc.
void G4Analysis::Update | ( | G4HnDimension & | bins, |
const G4HnDimensionInformation & | hnInfo | ||
) |
Definition at line 95 of file G4HnInformation.cc.
void G4Analysis::UpdateTitle | ( | G4String & | title, |
const G4HnDimensionInformation & | hnInfo | ||
) |
Definition at line 129 of file G4HnInformation.cc.
void G4Analysis::UpdateValues | ( | G4HnDimension & | bins, |
const G4HnDimensionInformation & | hnInfo | ||
) |
Definition at line 75 of file G4HnInformation.cc.
Referenced by Update().
void G4Analysis::Warn | ( | const G4String & | message, |
const std::string_view | inClass, | ||
const std::string_view | inFunction | ||
) |
Definition at line 66 of file G4AnalysisUtilities.cc.
Referenced by CheckDimension(), CheckMinMax(), G4PlotManager::CloseFile(), G4ToolsAnalysisManager::CloseFileImpl(), ComputeEdges(), G4CsvFileManager::CreateFileImpl(), G4Hdf5FileManager::CreateFileImpl(), G4RootFileManager::CreateFileImpl(), G4XmlFileManager::CreateFileImpl(), G4RootMainNtupleManager::CreateNtuple(), G4CsvFileManager::CreateNtupleFile(), G4GenericFileManager::CreateNtupleFileManager(), GetBinScheme(), G4GenericFileManager::GetFileManager(), G4VAnalysisManager::GetFileManager(), GetFunction(), G4HnManager::GetHnInformation(), G4VAnalysisReader::GetNtuple(), GetOutput(), GetOutputName(), G4PlotManager::OpenFile(), G4GenericFileManager::OpenFile(), G4Hdf5FileManager::OpenFile(), G4RootFileManager::OpenFile(), G4XmlFileManager::OpenFile(), G4VAnalysisManager::OpenFile(), G4CsvRFileManager::OpenRFile(), G4XmlRFileManager::OpenRFile(), G4RootRFileManager::OpenRFile(), G4VAnalysisReader::ReadH1(), G4VAnalysisReader::ReadH2(), G4VAnalysisReader::ReadH3(), G4VAnalysisReader::ReadP1(), G4VAnalysisReader::ReadP2(), G4GenericFileManager::SetDefaultFileType(), G4VFileManager::SetFileName(), G4NtupleBookingManager::SetFileName(), G4NtupleBookingManager::SetFileType(), G4BaseAnalysisManager::SetFirstId(), G4NtupleBookingManager::SetFirstNtupleColumnId(), G4VFileManager::SetHistoDirectoryName(), G4CsvFileManager::SetHistoDirectoryName(), G4PlotParameters::SetLayout(), G4PlotMessenger::SetNewValue(), G4HnMessenger::SetNewValue(), G4NtupleMessenger::SetNewValue(), G4VFileManager::SetNtupleDirectoryName(), G4CsvFileManager::SetNtupleDirectoryName(), G4RootNtupleFileManager::SetNtupleMerging(), G4PlotParameters::SetStyle(), Update(), UpdateValues(), and G4VAnalysisManager::WriteAscii().
|
constexpr |
Definition at line 64 of file G4AnalysisUtilities.hh.
|
constexpr |
Definition at line 63 of file G4AnalysisUtilities.hh.
|
constexpr |
Definition at line 57 of file G4AnalysisUtilities.hh.
Referenced by G4Hdf5RFileManager::CloseFiles(), G4NtupleBookingManager::CreateNtuple(), G4Hdf5FileManager::GetHistoDirectory(), G4VAnalysisReader::GetNtuple(), G4Hdf5FileManager::GetNtupleDirectory(), G4VAnalysisReader::ReadH1(), G4VAnalysisReader::ReadH2(), G4VAnalysisReader::ReadH3(), G4VAnalysisReader::ReadP1(), and G4VAnalysisReader::ReadP2().
|
constexpr |
Definition at line 65 of file G4AnalysisUtilities.hh.
Referenced by CheckDimension(), CheckMinMax(), ComputeEdges(), GetBinScheme(), GetFunction(), GetOutput(), GetOutputName(), Update(), and UpdateValues().
|
constexpr |
Definition at line 58 of file G4AnalysisUtilities.hh.
|
constexpr |
Definition at line 59 of file G4AnalysisUtilities.hh.
Referenced by G4RootNtupleFileManager::ActionAtOpenFile(), G4RootNtupleFileManager::ActionAtWrite(), G4VAnalysisManager::Clear(), G4PlotManager::CloseFile(), G4PlotManager::G4PlotManager(), G4PlotManager::OpenFile(), G4GenericFileManager::OpenFile(), G4CsvRFileManager::OpenRFile(), G4XmlRFileManager::OpenRFile(), G4RootRFileManager::OpenRFile(), G4RootNtupleFileManager::SetNtupleRowWise(), and G4VAnalysisManager::WriteAscii().
|
constexpr |
Definition at line 60 of file G4AnalysisUtilities.hh.
Referenced by G4NtupleBookingManager::ClearData(), G4RootMainNtupleManager::ClearData(), G4CsvAnalysisReader::CloseFilesImpl(), G4Hdf5AnalysisReader::CloseFilesImpl(), G4RootAnalysisReader::CloseFilesImpl(), G4XmlAnalysisReader::CloseFilesImpl(), G4NtupleBookingManager::CreateNtuple(), G4XmlRNtupleManager::SetNtupleDColumn(), G4XmlRNtupleManager::SetNtupleIColumn(), and G4XmlRNtupleManager::SetNtupleSColumn().
|
constexpr |
Definition at line 61 of file G4AnalysisUtilities.hh.
Referenced by G4ToolsAnalysisManager::CloseFileImpl(), G4GenericFileManager::CloseFiles(), G4RootMainNtupleManager::CreateNtuple(), G4RootNtupleFileManager::CreateNtupleManager(), G4RootMainNtupleManager::CreateNtuplesFromBooking(), G4GenericFileManager::DeleteEmptyFiles(), G4GenericAnalysisManager::OpenFileImpl(), G4GenericFileManager::OpenFiles(), G4PlotManager::PlotAndWrite(), G4ToolsAnalysisManager::ResetImpl(), G4VAnalysisManager::WriteAscii(), G4GenericFileManager::WriteFiles(), and G4ToolsAnalysisManager::WriteImpl().
|
constexpr |
Definition at line 62 of file G4AnalysisUtilities.hh.
Referenced by G4RootNtupleFileManager::ActionAtOpenFile(), G4RootNtupleFileManager::ActionAtWrite(), G4VAnalysisManager::Clear(), G4PlotManager::CloseFile(), G4ToolsAnalysisManager::CloseFileImpl(), G4GenericFileManager::CloseFiles(), G4CsvAnalysisReader::CloseFilesImpl(), G4Hdf5AnalysisReader::CloseFilesImpl(), G4RootAnalysisReader::CloseFilesImpl(), G4XmlAnalysisReader::CloseFilesImpl(), G4NtupleBookingManager::CreateNtuple(), G4RootMainNtupleManager::CreateNtuple(), G4RootNtupleFileManager::CreateNtupleManager(), G4RootMainNtupleManager::CreateNtuplesFromBooking(), G4GenericFileManager::DeleteEmptyFiles(), G4PlotManager::OpenFile(), G4GenericFileManager::OpenFile(), G4GenericAnalysisManager::OpenFileImpl(), G4GenericFileManager::OpenFiles(), G4CsvRFileManager::OpenRFile(), G4XmlRFileManager::OpenRFile(), G4RootRFileManager::OpenRFile(), G4ToolsAnalysisManager::ResetImpl(), G4XmlRNtupleManager::SetNtupleDColumn(), G4XmlRNtupleManager::SetNtupleFColumn(), G4XmlRNtupleManager::SetNtupleIColumn(), G4XmlRNtupleManager::SetNtupleSColumn(), G4GenericFileManager::WriteFiles(), and G4ToolsAnalysisManager::WriteImpl().
|
constexpr |
Definition at line 54 of file G4AnalysisUtilities.hh.
Referenced by G4PlotManager::PlotAndWrite().
|
constexpr |
Definition at line 55 of file G4AnalysisUtilities.hh.
Referenced by G4PlotManager::PlotAndWrite().
|
constexpr |
Definition at line 56 of file G4AnalysisUtilities.hh.
Referenced by G4PlotManager::PlotAndWrite().