Geant4  10.03
G4Analysis Namespace Reference

Typedefs

using G4ToolsBaseHisto = tools::histo::base_histo< double, unsigned int, unsigned int, double, double >
 

Functions

G4int GetNbins (const G4ToolsBaseHisto &baseHisto, G4int dimension)
 
G4double GetMin (const G4ToolsBaseHisto &baseHisto, G4int dimension)
 
G4double GetMax (const G4ToolsBaseHisto &baseHisto, G4int dimension)
 
G4double GetWidth (const G4ToolsBaseHisto &baseHisto, G4int dimension, const G4String &hnType)
 
G4bool SetTitle (G4ToolsBaseHisto &baseHisto, const G4String &title)
 
G4bool SetAxisTitle (G4ToolsBaseHisto &baseHisto, G4int dimension, const G4String &title)
 
G4String GetTitle (const G4ToolsBaseHisto &baseHisto)
 
G4String GetAxisTitle (const G4ToolsBaseHisto &baseHisto, G4int dimension, const G4String &hnType)
 
G4bool CheckNbins (G4int nbins)
 
G4bool CheckMinMax (G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
 
G4bool CheckEdges (const std::vector< G4double > &edges)
 
G4bool CheckName (const G4String &name, const G4String &objectType)
 
G4double GetUnitValue (const G4String &unit)
 
void UpdateTitle (G4String &title, const G4String &unitName, const G4String &fcnName)
 
void Tokenize (const G4String &line, std::vector< G4String > &tokens)
 
template<typename T , typename... Args>
std::unique_ptr< T > make_unique (Args &&...args)
 
G4AnalysisOutput GetOutput (const G4String &outputName)
 
G4String GetOutputName (G4AnalysisOutput outputType)
 
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)
 

Variables

const G4int kX = 0
 
const G4int kY = 1
 
const G4int kZ = 2
 
const G4int kInvalidId = -1
 

Typedef Documentation

using G4Analysis::G4ToolsBaseHisto = typedef tools::histo::base_histo<double, unsigned int, unsigned int, double, double>

Definition at line 43 of file G4BaseHistoUtilities.hh.

Function Documentation

G4bool G4Analysis::CheckEdges ( const std::vector< G4double > &  edges)

Definition at line 120 of file G4AnalysisUtilities.cc.

References G4endl, G4Exception(), and JustWarning.

Referenced by G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateH2(), G4VAnalysisManager::CreateH3(), G4VAnalysisManager::CreateP1(), G4VAnalysisManager::CreateP2(), G4VAnalysisManager::SetH1(), G4VAnalysisManager::SetH2(), G4VAnalysisManager::SetH3(), G4VAnalysisManager::SetP1(), and G4VAnalysisManager::SetP2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4Analysis::CheckMinMax ( G4double  xmin,
G4double  xmax,
const G4String fcnName = "none",
const G4String binSchemeName = "linear" 
)

Definition at line 78 of file G4AnalysisUtilities.cc.

References G4endl, G4Exception(), GetBinScheme(), JustWarning, and kLog.

Referenced by G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateH2(), G4VAnalysisManager::CreateH3(), G4VAnalysisManager::CreateP1(), G4VAnalysisManager::CreateP2(), G4VAnalysisManager::SetH1(), G4VAnalysisManager::SetH2(), G4VAnalysisManager::SetH3(), G4VAnalysisManager::SetP1(), and G4VAnalysisManager::SetP2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4Analysis::CheckName ( const G4String name,
const G4String objectType 
)

Definition at line 136 of file G4AnalysisUtilities.cc.

References G4endl, G4Exception(), and JustWarning.

Referenced by G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateH2(), G4VAnalysisManager::CreateH3(), G4VAnalysisManager::CreateNtuple(), G4VAnalysisManager::CreateNtupleDColumn(), G4VAnalysisManager::CreateNtupleFColumn(), G4VAnalysisManager::CreateNtupleIColumn(), G4VAnalysisManager::CreateNtupleSColumn(), G4VAnalysisManager::CreateP1(), and G4VAnalysisManager::CreateP2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4Analysis::CheckNbins ( G4int  nbins)

Definition at line 62 of file G4AnalysisUtilities.cc.

References G4endl, G4Exception(), and JustWarning.

Referenced by G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateH2(), G4VAnalysisManager::CreateH3(), G4VAnalysisManager::CreateP1(), G4VAnalysisManager::CreateP2(), G4VAnalysisManager::SetH1(), G4VAnalysisManager::SetH2(), G4VAnalysisManager::SetH3(), G4VAnalysisManager::SetP1(), and G4VAnalysisManager::SetP2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Analysis::ComputeEdges ( G4int  nbins,
G4double  xmin,
G4double  xmax,
G4double  unit,
G4Fcn  fcn,
G4BinScheme  binScheme,
std::vector< G4double > &  edges 
)

Definition at line 56 of file G4BinScheme.cc.

References G4endl, G4Exception(), JustWarning, kLinear, kLog, and kUser.

+ Here is the call graph for this function:

void G4Analysis::ComputeEdges ( const std::vector< G4double > &  edges,
G4double  unit,
G4Fcn  fcn,
std::vector< G4double > &  newEdges 
)

Definition at line 98 of file G4BinScheme.cc.

G4String G4Analysis::GetAxisTitle ( const G4ToolsBaseHisto &  baseHisto,
G4int  dimension,
const G4String hnType 
)

Definition at line 110 of file G4BaseHistoUtilities.cc.

References G4Exception(), JustWarning, kX, kY, and kZ.

Referenced by G4H1ToolsManager::GetH1XAxisTitle(), G4H1ToolsManager::GetH1YAxisTitle(), G4H2ToolsManager::GetH2XAxisTitle(), G4H2ToolsManager::GetH2YAxisTitle(), G4H2ToolsManager::GetH2ZAxisTitle(), G4H3ToolsManager::GetH3XAxisTitle(), G4H3ToolsManager::GetH3YAxisTitle(), G4H3ToolsManager::GetH3ZAxisTitle(), G4P1ToolsManager::GetP1XAxisTitle(), G4P1ToolsManager::GetP1YAxisTitle(), G4P2ToolsManager::GetP2XAxisTitle(), G4P2ToolsManager::GetP2YAxisTitle(), and G4P2ToolsManager::GetP2ZAxisTitle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4BinScheme G4Analysis::GetBinScheme ( const G4String binSchemeName)

Definition at line 36 of file G4BinScheme.cc.

References G4endl, G4Exception(), JustWarning, kLinear, and kLog.

Referenced by CheckMinMax(), G4H1ToolsManager::CreateH1(), G4H2ToolsManager::CreateH2(), G4H3ToolsManager::CreateH3(), G4P1ToolsManager::CreateP1(), G4P2ToolsManager::CreateP2(), G4H1ToolsManager::SetH1(), G4H2ToolsManager::SetH2(), G4H3ToolsManager::SetH3(), G4P1ToolsManager::SetP1(), and G4P2ToolsManager::SetP2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Fcn G4Analysis::GetFunction ( const G4String fcnName)

Definition at line 36 of file G4Fcn.cc.

References G4endl, G4Exception(), G4FcnIdentity(), and JustWarning.

Referenced by G4HnInformation::AddDimension(), and G4HnInformation::SetDimension().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4Analysis::GetMax ( const G4ToolsBaseHisto &  baseHisto,
G4int  dimension 
)

Definition at line 53 of file G4BaseHistoUtilities.cc.

Referenced by G4H1ToolsManager::GetH1Xmax(), G4H2ToolsManager::GetH2Xmax(), G4H2ToolsManager::GetH2Ymax(), G4H3ToolsManager::GetH3Xmax(), G4H3ToolsManager::GetH3Ymax(), G4H3ToolsManager::GetH3Zmax(), G4P1ToolsManager::GetP1Xmax(), G4P2ToolsManager::GetP2Xmax(), G4P2ToolsManager::GetP2Ymax(), and G4P2ToolsManager::GetP2Zmax().

+ Here is the caller graph for this function:

G4double G4Analysis::GetMin ( const G4ToolsBaseHisto &  baseHisto,
G4int  dimension 
)

Definition at line 45 of file G4BaseHistoUtilities.cc.

Referenced by G4H1ToolsManager::GetH1Xmin(), G4H2ToolsManager::GetH2Xmin(), G4H2ToolsManager::GetH2Ymin(), G4H3ToolsManager::GetH3Xmin(), G4H3ToolsManager::GetH3Ymin(), G4H3ToolsManager::GetH3Zmin(), G4P1ToolsManager::GetP1Xmin(), G4P2ToolsManager::GetP2Xmin(), G4P2ToolsManager::GetP2Ymin(), and G4P2ToolsManager::GetP2Zmin().

+ Here is the caller graph for this function:

G4int G4Analysis::GetNbins ( const G4ToolsBaseHisto &  baseHisto,
G4int  dimension 
)

Definition at line 39 of file G4BaseHistoUtilities.cc.

Referenced by G4H1ToolsManager::GetH1Nbins(), G4H2ToolsManager::GetH2Nxbins(), G4H2ToolsManager::GetH2Nybins(), G4H3ToolsManager::GetH3Nxbins(), G4H3ToolsManager::GetH3Nybins(), G4H3ToolsManager::GetH3Nzbins(), G4P1ToolsManager::GetP1Nbins(), G4P2ToolsManager::GetP2Nxbins(), and G4P2ToolsManager::GetP2Nybins().

+ Here is the caller graph for this function:

G4AnalysisOutput G4Analysis::GetOutput ( const G4String outputName)

Definition at line 192 of file G4AnalysisUtilities.cc.

References G4endl, G4Exception(), JustWarning, kCsv, kNone, kRoot, and kXml.

+ Here is the call graph for this function:

G4String G4Analysis::GetOutputName ( G4AnalysisOutput  outputType)

Definition at line 209 of file G4AnalysisUtilities.cc.

References G4endl, G4Exception(), JustWarning, kCsv, kNone, kRoot, and kXml.

+ Here is the call graph for this function:

G4String G4Analysis::GetTitle ( const G4ToolsBaseHisto &  baseHisto)

Definition at line 103 of file G4BaseHistoUtilities.cc.

Referenced by G4H1ToolsManager::GetH1Title(), G4H2ToolsManager::GetH2Title(), G4H3ToolsManager::GetH3Title(), G4P1ToolsManager::GetP1Title(), and G4P2ToolsManager::GetP2Title().

+ Here is the caller graph for this function:

G4double G4Analysis::GetUnitValue ( const G4String unit)

Definition at line 152 of file G4AnalysisUtilities.cc.

References G4UnitDefinition::GetValueOf().

Referenced by G4HnInformation::AddDimension(), G4HnInformation::SetDimension(), G4P2Messenger::SetNewValue(), G4H3Messenger::SetNewValue(), G4H2Messenger::SetNewValue(), G4P1Messenger::SetNewValue(), and G4H1Messenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4Analysis::GetWidth ( const G4ToolsBaseHisto &  baseHisto,
G4int  dimension,
const G4String hnType 
)

Definition at line 61 of file G4BaseHistoUtilities.cc.

References G4Exception(), and JustWarning.

Referenced by G4H1ToolsManager::GetH1Width(), G4H2ToolsManager::GetH2XWidth(), G4H2ToolsManager::GetH2YWidth(), G4H3ToolsManager::GetH3XWidth(), G4H3ToolsManager::GetH3YWidth(), G4H3ToolsManager::GetH3ZWidth(), G4P1ToolsManager::GetP1XWidth(), G4P2ToolsManager::GetP2XWidth(), and G4P2ToolsManager::GetP2YWidth().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename T , typename... Args>
std::unique_ptr<T> G4Analysis::make_unique ( Args &&...  args)

Definition at line 84 of file G4AnalysisUtilities.hh.

G4bool G4Analysis::SetTitle ( G4ToolsBaseHisto &  baseHisto,
const G4String title 
)

Definition at line 80 of file G4BaseHistoUtilities.cc.

Referenced by Analysis::Analysis(), G4H1ToolsManager::SetH1Title(), G4H2ToolsManager::SetH2Title(), G4H3ToolsManager::SetH3Title(), G4P1ToolsManager::SetP1Title(), and G4P2ToolsManager::SetP2Title().

+ Here is the caller graph for this function:

void G4Analysis::Tokenize ( const G4String line,
std::vector< G4String > &  tokens 
)

Definition at line 173 of file G4AnalysisUtilities.cc.

Referenced by G4NtupleMessenger::SetNewValue(), G4H2Messenger::SetNewValue(), G4P2Messenger::SetNewValue(), G4P1Messenger::SetNewValue(), G4H3Messenger::SetNewValue(), G4PlotMessenger::SetNewValue(), G4HnMessenger::SetNewValue(), and G4H1Messenger::SetNewValue().

+ Here is the caller graph for this function:

void G4Analysis::UpdateTitle ( G4String title,
const G4String unitName,
const G4String fcnName 
)

Definition at line 163 of file G4AnalysisUtilities.cc.

Variable Documentation