Geant4 10.7.0
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 ()
 
- Public Member Functions inherited from G4BaseNtupleManager
 G4BaseNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseNtupleManager ()
 
 G4BaseNtupleManager (const G4BaseNtupleManager &rhs)=delete
 
G4BaseNtupleManageroperator= (const G4BaseNtupleManager &rhs)=delete
 
- Public Member Functions inherited from G4VNtupleManager
 G4VNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4VNtupleManager ()
 
 G4VNtupleManager (const G4VNtupleManager &rhs)=delete
 
G4VNtupleManageroperator= (const G4VNtupleManager &rhs)=delete
 
- Public Member Functions inherited from G4BaseAnalysisManager
 G4BaseAnalysisManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseAnalysisManager ()
 
G4bool SetFirstId (G4int firstId)
 
void SetLockFirstId (G4bool lockFirstId)
 
G4int GetFirstId () const
 

Friends

class G4RootAnalysisManager
 
class G4RootNtupleFileManager
 

Additional Inherited Members

- Protected Member Functions inherited from G4BaseNtupleManager
virtual G4int CreateNtuple (G4NtupleBooking *booking)=0
 
virtual G4bool FillNtupleIColumn (G4int id, G4int value) final
 
virtual G4bool FillNtupleFColumn (G4int id, G4float value) final
 
virtual G4bool FillNtupleDColumn (G4int id, G4double value) final
 
virtual G4bool FillNtupleSColumn (G4int id, const G4String &value) final
 
virtual G4bool AddNtupleRow () final
 
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 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 G4int GetNofNtuples () const =0
 
virtual G4bool SetFirstNtupleColumnId (G4int firstId)=0
 
- Protected Attributes inherited from G4BaseNtupleManager
G4int fFirstNtupleColumnId
 
- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId
 
G4bool fLockFirstId
 

Detailed Description

Definition at line 78 of file G4RootPNtupleManager.hh.

Constructor & Destructor Documentation

◆ G4RootPNtupleManager()

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

Definition at line 56 of file G4RootPNtupleManager.cc.

60 : G4BaseNtupleManager(state),
61 fBookingManager(bookingManger),
62 fMainNtupleManager(main),
63 fNtupleDescriptionVector(),
64 fNtupleVector(),
65 fRowWise(rowWise),
66 fRowMode(rowMode)
67{}

◆ ~G4RootPNtupleManager()

G4RootPNtupleManager::~G4RootPNtupleManager ( )

Definition at line 70 of file G4RootPNtupleManager.cc.

71{
72 for ( auto ntupleDescription : fNtupleDescriptionVector ) {
73 delete ntupleDescription;
74 }
75}

Friends And Related Function Documentation

◆ G4RootAnalysisManager

friend class G4RootAnalysisManager
friend

Definition at line 80 of file G4RootPNtupleManager.hh.

◆ G4RootNtupleFileManager

friend class G4RootNtupleFileManager
friend

Definition at line 81 of file G4RootPNtupleManager.hh.


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