Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4RootPNtupleManager Class Reference

#include <G4RootPNtupleManager.hh>

+ Inheritance diagram for G4RootPNtupleManager:

Public Member Functions

 G4RootPNtupleManager (const G4AnalysisManagerState &state, std::shared_ptr< G4NtupleBookingManager > bookingManger, std::shared_ptr< G4RootMainNtupleManager > main, G4bool rowWise, G4bool rowMode)
 
 G4RootPNtupleManager ()=delete
 
 ~G4RootPNtupleManager () override
 
- Public Member Functions inherited from G4BaseNtupleManager
 G4BaseNtupleManager (const G4AnalysisManagerState &state)
 
 G4BaseNtupleManager ()=delete
 
 ~G4BaseNtupleManager () override=default
 
 G4BaseNtupleManager (const G4BaseNtupleManager &rhs)=delete
 
G4BaseNtupleManageroperator= (const G4BaseNtupleManager &rhs)=delete
 
- Public Member Functions inherited from G4VNtupleManager
 G4VNtupleManager (const G4AnalysisManagerState &state)
 
 G4VNtupleManager ()=delete
 
 ~G4VNtupleManager () override=default
 
 G4VNtupleManager (const G4VNtupleManager &rhs)=delete
 
G4VNtupleManageroperator= (const G4VNtupleManager &rhs)=delete
 
- Public Member Functions inherited from G4BaseAnalysisManager
 G4BaseAnalysisManager (const G4AnalysisManagerState &state)
 
 G4BaseAnalysisManager ()=delete
 
virtual ~G4BaseAnalysisManager ()=default
 
G4bool SetFirstId (G4int firstId)
 
void SetLockFirstId (G4bool lockFirstId)
 
G4int GetFirstId () const
 
G4int GetCycle () const
 

Friends

class G4RootAnalysisManager
 
class G4RootNtupleFileManager
 

Additional Inherited Members

- Protected Member Functions inherited from G4BaseNtupleManager
G4int CreateNtuple (G4NtupleBooking *booking) override=0
 
G4bool FillNtupleIColumn (G4int id, G4int value) final
 
G4bool FillNtupleFColumn (G4int id, G4float value) final
 
G4bool FillNtupleDColumn (G4int id, G4double value) final
 
G4bool FillNtupleSColumn (G4int id, const G4String &value) final
 
G4bool AddNtupleRow () final
 
G4bool FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value) override=0
 
G4bool FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value) override=0
 
G4bool FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value) override=0
 
G4bool FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value) override=0
 
G4bool AddNtupleRow (G4int ntupleId) override=0
 
G4bool SetFirstNtupleColumnId (G4int firstId) final
 
virtual G4int CreateNtuple (G4NtupleBooking *booking)=0
 
virtual G4bool FillNtupleIColumn (G4int id, G4int value)=0
 
virtual G4bool FillNtupleFColumn (G4int id, G4float value)=0
 
virtual G4bool FillNtupleDColumn (G4int id, G4double value)=0
 
virtual G4bool FillNtupleSColumn (G4int id, const G4String &value)=0
 
virtual G4bool AddNtupleRow ()=0
 
virtual G4bool FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value)=0
 
virtual G4bool FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value)=0
 
virtual G4bool FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value)=0
 
virtual G4bool FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value)=0
 
virtual G4bool AddNtupleRow (G4int ntupleId)=0
 
virtual void SetActivation (G4bool activation)=0
 
virtual void SetActivation (G4int id, G4bool activation)=0
 
virtual G4bool GetActivation (G4int id) const =0
 
virtual void SetNewCycle (G4bool value)=0
 
virtual G4bool GetNewCycle () const =0
 
virtual G4int GetNofNtuples () const =0
 
virtual G4bool SetFirstNtupleColumnId (G4int firstId)=0
 
virtual void Clear ()=0
 
virtual G4bool List (std::ostream &output, G4bool onlyIfActive=true)=0
 
- Protected Member Functions inherited from G4BaseAnalysisManager
G4bool IsVerbose (G4int verboseLevel) const
 
void Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
 
- Protected Attributes inherited from G4BaseNtupleManager
G4int fFirstNtupleColumnId { 0 }
 
- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId { 0 }
 
G4bool fLockFirstId { false }
 

Detailed Description

Definition at line 85 of file G4RootPNtupleManager.hh.

Constructor & Destructor Documentation

◆ G4RootPNtupleManager() [1/2]

G4RootPNtupleManager::G4RootPNtupleManager ( const G4AnalysisManagerState state,
std::shared_ptr< G4NtupleBookingManager bookingManger,
std::shared_ptr< G4RootMainNtupleManager main,
G4bool  rowWise,
G4bool  rowMode 
)

Definition at line 60 of file G4RootPNtupleManager.cc.

64 : G4BaseNtupleManager(state),
65 fBookingManager(std::move(bookingManger)),
66 fMainNtupleManager(std::move(main)),
67 fRowWise(rowWise),
68 fRowMode(rowMode)
69{}
G4BaseNtupleManager()=delete

◆ G4RootPNtupleManager() [2/2]

G4RootPNtupleManager::G4RootPNtupleManager ( )
delete

◆ ~G4RootPNtupleManager()

G4RootPNtupleManager::~G4RootPNtupleManager ( )
override

Definition at line 72 of file G4RootPNtupleManager.cc.

73{
74 for ( auto ntupleDescription : fNtupleDescriptionVector ) {
75 delete ntupleDescription;
76 }
77}

Friends And Related Function Documentation

◆ G4RootAnalysisManager

friend class G4RootAnalysisManager
friend

Definition at line 87 of file G4RootPNtupleManager.hh.

◆ G4RootNtupleFileManager

friend class G4RootNtupleFileManager
friend

Definition at line 88 of file G4RootPNtupleManager.hh.


The documentation for this class was generated from the following files: