Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AnalysisUtilities.hh File Reference
#include "globals.hh"
#include <vector>
#include <memory>

Go to the source code of this file.

Namespaces

namespace  G4Analysis
 

Enumerations

enum class  G4AnalysisOutput {
  kCsv , kHdf5 , kRoot , kXml ,
  kNone
}
 

Functions

G4bool G4Analysis::CheckNbins (G4int nbins)
 
G4bool G4Analysis::CheckMinMax (G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
 
G4bool G4Analysis::CheckEdges (const std::vector< G4double > &edges)
 
G4bool G4Analysis::CheckName (const G4String &name, const G4String &objectType)
 
G4double G4Analysis::GetUnitValue (const G4String &unit)
 
void G4Analysis::UpdateTitle (G4String &title, const G4String &unitName, const G4String &fcnName)
 
void G4Analysis::Tokenize (const G4String &line, std::vector< G4String > &tokens)
 
template<typename T , typename... Args>
std::unique_ptr< T > G4Analysis::make_unique (Args &&... args)
 
G4AnalysisOutput G4Analysis::GetOutput (const G4String &outputName, G4bool warn=true)
 
size_t G4Analysis::GetOutputId (const G4String &outputName, G4bool warn=true)
 
G4String G4Analysis::GetOutputName (G4AnalysisOutput outputType)
 
template<typename HT >
G4String G4Analysis::GetHnType ()
 
G4String G4Analysis::GetBaseName (const G4String &fileName)
 
G4String G4Analysis::GetExtension (const G4String &fileName, const G4String &defaultExtension="")
 
G4String G4Analysis::GetHnFileName (const G4String &fileName, const G4String &fileType, const G4String &hnType, const G4String &hnName)
 
G4String G4Analysis::GetNtupleFileName (const G4String &fileName, const G4String &fileType, const G4String &ntupleName)
 
G4String G4Analysis::GetNtupleFileName (const G4String &fileName, const G4String &fileType, G4int ntupleFileNumber)
 
G4String G4Analysis::GetTnFileName (const G4String &fileName, const G4String &fileType)
 
G4String G4Analysis::GetPlotFileName (const G4String &fileName)
 

Variables

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

Enumeration Type Documentation

◆ G4AnalysisOutput

enum class G4AnalysisOutput
strong
Enumerator
kCsv 
kHdf5 
kRoot 
kXml 
kNone 

Definition at line 39 of file G4AnalysisUtilities.hh.