30 #ifndef G4AnalysisUtilities_h
31 #define G4AnalysisUtilities_h 1
68 const G4String& binSchemeName =
"linear");
83 template<
typename T,
typename... Args>
86 return std::unique_ptr<T>(
new T(std::forward<Args>(args)...));
std::unique_ptr< T > make_unique(Args &&...args)
G4AnalysisOutput GetOutput(const G4String &outputName)
G4String GetOutputName(G4AnalysisOutput outputType)
void UpdateTitle(G4String &title, const G4String &unitName, const G4String &fcnName)
G4bool CheckName(const G4String &name, const G4String &objectType)
G4double GetUnitValue(const G4String &unit)
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
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)