31 #ifndef PAR02_OUTPUT_H 32 #define PAR02_OUTPUT_H static G4ThreadLocal G4int fCurrentNtupleId
Current ntuple Id.
void AppendName(G4bool app)
G4String fFileName
A name of the output root file.
static G4ThreadLocal G4int fCurrentID
Par02Output()
A default, protected constructor (due to singleton pattern).
SaveType
Indicates to which ntuple to save the information.
static Par02Output * Instance()
void SaveTrack(SaveType aWhatToSave, G4int aPartID, G4int aPDG, G4ThreeVector aVector, G4double aResolution=0, G4double aEfficiency=1, G4double aEnergy=0)
void StartAnalysis(G4int runID)
static Par02Output * fPar02Output
The pointer to the only Par02Output class object.
G4bool fFileNameWithRunNo
If true, a run number should be added to the file. Default: false.
void SetFileName(G4String name)
void FillHistogram(G4int HNo, G4double value) const