Geant4  10.02
G4RootRNtupleManager Class Reference

#include <G4RootRNtupleManager.hh>

+ Inheritance diagram for G4RootRNtupleManager:
+ Collaboration diagram for G4RootRNtupleManager:

Protected Member Functions

 G4RootRNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4RootRNtupleManager ()
 
G4bool IsEmpty () const
 
G4bool Reset ()
 
tools::rroot::ntuple * GetNtuple () const
 
tools::rroot::ntuple * GetNtuple (G4int ntupleId) const
 
G4int SetNtuple (G4RootRNtupleDescription *rntupleDescription)
 
virtual G4bool SetNtupleIColumn (const G4String &columnName, G4int &value)
 
virtual G4bool SetNtupleFColumn (const G4String &columnName, G4float &value)
 
virtual G4bool SetNtupleDColumn (const G4String &columnName, G4double &value)
 
virtual G4bool SetNtupleSColumn (const G4String &columnName, G4String &value)
 
virtual G4bool SetNtupleIColumn (const G4String &columnName, std::vector< G4int > &vector)
 
virtual G4bool SetNtupleFColumn (const G4String &columnName, std::vector< G4float > &vector)
 
virtual G4bool SetNtupleDColumn (const G4String &columnName, std::vector< G4double > &vector)
 
virtual G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value)
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value)
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value)
 
virtual G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value)
 
virtual G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector)
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector)
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector)
 
virtual G4bool GetNtupleRow ()
 
virtual G4bool GetNtupleRow (G4int ntupleId)
 
virtual G4int GetNofNtuples () const
 

Private Member Functions

G4RootRNtupleDescriptionGetNtupleInFunction (G4int id, G4String function, G4bool warn=true) const
 

Private Attributes

std::vector
< G4RootRNtupleDescription * > 
fNtupleVector
 

Friends

class G4RootAnalysisReader
 

Additional Inherited Members

- Public Member Functions inherited from G4VRNtupleManager
 G4VRNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4VRNtupleManager ()
 
 G4VRNtupleManager (const G4VRNtupleManager &rhs)=delete
 
G4VRNtupleManageroperator= (const G4VRNtupleManager &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
 
- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId
 
G4bool fLockFirstId
 

Detailed Description

Definition at line 45 of file G4RootRNtupleManager.hh.

Constructor & Destructor Documentation

G4RootRNtupleManager::G4RootRNtupleManager ( const G4AnalysisManagerState state)
explicitprotected

Definition at line 35 of file G4RootRNtupleManager.cc.

G4RootRNtupleManager::~G4RootRNtupleManager ( )
protectedvirtual

Definition at line 42 of file G4RootRNtupleManager.cc.

References fNtupleVector.

Member Function Documentation

G4int G4RootRNtupleManager::GetNofNtuples ( ) const
inlineprotectedvirtual

Reimplemented from G4VRNtupleManager.

Definition at line 115 of file G4RootRNtupleManager.hh.

References fNtupleVector.

tools::rroot::ntuple * G4RootRNtupleManager::GetNtuple ( ) const
protected

Definition at line 99 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

tools::rroot::ntuple * G4RootRNtupleManager::GetNtuple ( G4int  ntupleId) const
protected

Definition at line 105 of file G4RootRNtupleManager.cc.

References G4RootRNtupleDescription::fNtuple, and GetNtupleInFunction().

+ Here is the call graph for this function:

G4RootRNtupleDescription * G4RootRNtupleManager::GetNtupleInFunction ( G4int  id,
G4String  function,
G4bool  warn = true 
) const
private

Definition at line 55 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, fNtupleVector, G4Exception(), and JustWarning.

Referenced by GetNtuple(), GetNtupleRow(), SetNtupleDColumn(), SetNtupleFColumn(), SetNtupleIColumn(), and SetNtupleSColumn().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4RootRNtupleManager::GetNtupleRow ( )
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 392 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

G4bool G4RootRNtupleManager::GetNtupleRow ( G4int  ntupleId)
protectedvirtual
G4bool G4RootRNtupleManager::IsEmpty ( ) const
protected

Definition at line 78 of file G4RootRNtupleManager.cc.

References fNtupleVector.

G4bool G4RootRNtupleManager::Reset ( )
protected

Definition at line 84 of file G4RootRNtupleManager.cc.

References fNtupleVector.

Referenced by G4RootAnalysisReader::Reset().

+ Here is the caller graph for this function:

G4int G4RootRNtupleManager::SetNtuple ( G4RootRNtupleDescription rntupleDescription)
protected

Definition at line 116 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and fNtupleVector.

Referenced by G4RootAnalysisReader::ReadNtupleImpl().

+ Here is the caller graph for this function:

G4bool G4RootRNtupleManager::SetNtupleDColumn ( const G4String columnName,
G4double value 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 140 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

Referenced by SetNtupleDColumn().

+ Here is the caller graph for this function:

G4bool G4RootRNtupleManager::SetNtupleDColumn ( const G4String columnName,
std::vector< G4double > &  vector 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 168 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and SetNtupleDColumn().

+ Here is the call graph for this function:

G4bool G4RootRNtupleManager::SetNtupleDColumn ( G4int  ntupleId,
const G4String columnName,
G4double value 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 237 of file G4RootRNtupleManager.cc.

References G4RootRNtupleDescription::fNtupleBinding, G4BaseAnalysisManager::fState, GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().

+ Here is the call graph for this function:

G4bool G4RootRNtupleManager::SetNtupleDColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< G4double > &  vector 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 361 of file G4RootRNtupleManager.cc.

References G4RootRNtupleDescription::fNtupleBinding, G4BaseAnalysisManager::fState, GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().

+ Here is the call graph for this function:

G4bool G4RootRNtupleManager::SetNtupleFColumn ( const G4String columnName,
G4float value 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 133 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

Referenced by SetNtupleFColumn().

+ Here is the caller graph for this function:

G4bool G4RootRNtupleManager::SetNtupleFColumn ( const G4String columnName,
std::vector< G4float > &  vector 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 161 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and SetNtupleFColumn().

+ Here is the call graph for this function:

G4bool G4RootRNtupleManager::SetNtupleFColumn ( G4int  ntupleId,
const G4String columnName,
G4float value 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 206 of file G4RootRNtupleManager.cc.

References G4RootRNtupleDescription::fNtupleBinding, G4BaseAnalysisManager::fState, GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().

+ Here is the call graph for this function:

G4bool G4RootRNtupleManager::SetNtupleFColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< G4float > &  vector 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 330 of file G4RootRNtupleManager.cc.

References G4RootRNtupleDescription::fNtupleBinding, G4BaseAnalysisManager::fState, GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().

+ Here is the call graph for this function:

G4bool G4RootRNtupleManager::SetNtupleIColumn ( const G4String columnName,
G4int value 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 126 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

Referenced by SetNtupleIColumn().

+ Here is the caller graph for this function:

G4bool G4RootRNtupleManager::SetNtupleIColumn ( const G4String columnName,
std::vector< G4int > &  vector 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 154 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and SetNtupleIColumn().

+ Here is the call graph for this function:

G4bool G4RootRNtupleManager::SetNtupleIColumn ( G4int  ntupleId,
const G4String columnName,
G4int value 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 175 of file G4RootRNtupleManager.cc.

References G4RootRNtupleDescription::fNtupleBinding, G4BaseAnalysisManager::fState, GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().

+ Here is the call graph for this function:

G4bool G4RootRNtupleManager::SetNtupleIColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< G4int > &  vector 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 299 of file G4RootRNtupleManager.cc.

References G4RootRNtupleDescription::fNtupleBinding, G4BaseAnalysisManager::fState, GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().

+ Here is the call graph for this function:

G4bool G4RootRNtupleManager::SetNtupleSColumn ( const G4String columnName,
G4String value 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 147 of file G4RootRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

G4bool G4RootRNtupleManager::SetNtupleSColumn ( G4int  ntupleId,
const G4String columnName,
G4String value 
)
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 268 of file G4RootRNtupleManager.cc.

References G4RootRNtupleDescription::fNtupleBinding, G4BaseAnalysisManager::fState, GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().

+ Here is the call graph for this function:

Friends And Related Function Documentation

friend class G4RootAnalysisReader
friend

Definition at line 47 of file G4RootRNtupleManager.hh.

Member Data Documentation

std::vector<G4RootRNtupleDescription*> G4RootRNtupleManager::fNtupleVector
private

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