32#ifndef G4GenericAnalysisManager_h
33#define G4GenericAnalysisManager_h 1
90 void CreateNtupleFileManager(
const G4String& fileName);
95 static constexpr std::string_view fkClass {
"G4GenericAnalysisManager" };
98 std::unique_ptr<G4GenericAnalysisMessenger> fMessenger;
99 std::shared_ptr<G4GenericFileManager> fFileManager {
nullptr };
102 std::shared_ptr<G4VNtupleFileManager> fNtupleFileManager {
nullptr };
105 G4bool fIsNtupleMergingSet {
false };
106 G4int fNofNtupleFiles { 0 };
107 G4bool fMergeNtuples {
false };
108 G4bool fNtupleRowWise {
false };
109 G4bool fNtupleRowMode {
true };
114#include "G4GenericAnalysisManager.icc"
G4bool WriteP2(G4int id, const G4String &fileName)
G4bool WriteH2(G4int id, const G4String &fileName)
std::shared_ptr< G4VFileManager > GetFileManager(const G4String &fileName) final
void SetNtupleMerging(G4bool mergeNtuples, G4int nofReducedNtupleFiles=0) override
~G4GenericAnalysisManager() override
G4String GetDefaultFileType() const
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 SetDefaultFileType(const G4String &value)
void SetBasketEntries(unsigned int basketEntries) override
constexpr unsigned int kDefaultBasketSize
constexpr unsigned int kDefaultBasketEntries