32#ifndef G4GenericAnalysisManager_h
33#define G4GenericAnalysisManager_h 1
85 G4bool onlyIfActive =
true)
const;
87 G4bool onlyIfActive =
true)
const;
100 void CreateNtupleFileManager(
const G4String& fileName);
105 static constexpr std::string_view fkClass {
"G4GenericAnalysisManager" };
108 std::shared_ptr<G4GenericFileManager> fFileManager {
nullptr };
111 std::shared_ptr<G4VNtupleFileManager> fNtupleFileManager {
nullptr };
114 G4bool fIsNtupleMergingSet {
false };
115 G4int fNofNtupleFiles { 0 };
116 G4bool fMergeNtuples {
false };
117 G4bool fNtupleRowWise {
false };
118 G4bool fNtupleRowMode {
true };
123#include "G4GenericAnalysisManager.icc"
G4bool WriteP2(G4int id, const G4String &fileName)
G4bool WriteH2(G4int id, const G4String &fileName)
tools::ntuple_booking * GetNtuple(G4bool warn=true, G4bool onlyIfActive=true) const
std::shared_ptr< G4VFileManager > GetFileManager(const G4String &fileName) final
G4String GetDefaultFileTypeImpl() const override
void SetNtupleMerging(G4bool mergeNtuples, G4int nofReducedNtupleFiles=0) override
~G4GenericAnalysisManager() override
void SetNtupleRowWise(G4bool rowWise, G4bool rowMode=true) override
void SetBasketSize(unsigned int basketSize) override
G4bool WriteH3(G4int id, const G4String &fileName)
G4bool WriteH1(G4int id, const G4String &fileName)
static G4bool IsInstance()
friend class G4RootMpiAnalysisManager
G4bool WriteP1(G4int id, const G4String &fileName)
static G4GenericAnalysisManager * Instance()
G4bool OpenFileImpl(const G4String &fileName) override
void SetBasketEntries(unsigned int basketEntries) override
void SetDefaultFileTypeImpl(const G4String &value) override
constexpr unsigned int kDefaultBasketSize
constexpr unsigned int kDefaultBasketEntries