Geant4  10.02.p02
G4CsvRNtupleManager Class Reference

#include <G4CsvRNtupleManager.hh>

+ Inheritance diagram for G4CsvRNtupleManager:
+ Collaboration diagram for G4CsvRNtupleManager:

Protected Member Functions

 G4CsvRNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4CsvRNtupleManager ()
 
G4bool IsEmpty () const
 
G4bool Reset ()
 
tools::rcsv::ntuple * GetNtuple () const
 
tools::rcsv::ntuple * GetNtuple (G4int ntupleId) const
 
G4int SetNtuple (G4CsvRNtupleDescription *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

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

Private Attributes

std::vector
< G4CsvRNtupleDescription * > 
fNtupleVector
 

Friends

class G4CsvAnalysisReader
 

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 G4CsvRNtupleManager.hh.

Constructor & Destructor Documentation

G4CsvRNtupleManager::G4CsvRNtupleManager ( const G4AnalysisManagerState state)
explicitprotected

Definition at line 35 of file G4CsvRNtupleManager.cc.

G4CsvRNtupleManager::~G4CsvRNtupleManager ( )
protectedvirtual

Definition at line 42 of file G4CsvRNtupleManager.cc.

References fNtupleVector.

Member Function Documentation

G4int G4CsvRNtupleManager::GetNofNtuples ( ) const
inlineprotectedvirtual

Reimplemented from G4VRNtupleManager.

Definition at line 115 of file G4CsvRNtupleManager.hh.

References fNtupleVector.

tools::rcsv::ntuple * G4CsvRNtupleManager::GetNtuple ( ) const
protected

Definition at line 99 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

tools::rcsv::ntuple * G4CsvRNtupleManager::GetNtuple ( G4int  ntupleId) const
protected

Definition at line 105 of file G4CsvRNtupleManager.cc.

References G4CsvRNtupleDescription::fNtuple, and GetNtupleInFunction().

+ Here is the call graph for this function:

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

Definition at line 55 of file G4CsvRNtupleManager.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 G4CsvRNtupleManager::GetNtupleRow ( )
protectedvirtual

Implements G4VRNtupleManager.

Definition at line 392 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

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

Definition at line 78 of file G4CsvRNtupleManager.cc.

References fNtupleVector.

G4bool G4CsvRNtupleManager::Reset ( )
protected

Definition at line 84 of file G4CsvRNtupleManager.cc.

References fNtupleVector.

Referenced by G4CsvAnalysisReader::Reset().

+ Here is the caller graph for this function:

G4int G4CsvRNtupleManager::SetNtuple ( G4CsvRNtupleDescription rntupleDescription)
protected

Definition at line 116 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and fNtupleVector.

Referenced by G4CsvAnalysisReader::ReadNtupleImpl().

+ Here is the caller graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 140 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

Referenced by SetNtupleDColumn().

+ Here is the caller graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 161 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and SetNtupleDColumn().

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 237 of file G4CsvRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 330 of file G4CsvRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 133 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

Referenced by SetNtupleFColumn().

+ Here is the caller graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 154 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and SetNtupleFColumn().

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 206 of file G4CsvRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 299 of file G4CsvRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 126 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

Referenced by SetNtupleIColumn().

+ Here is the caller graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 147 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and SetNtupleIColumn().

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 175 of file G4CsvRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 268 of file G4CsvRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 168 of file G4CsvRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

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

Implements G4VRNtupleManager.

Definition at line 361 of file G4CsvRNtupleManager.cc.

References G4CsvRNtupleDescription::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 G4CsvAnalysisReader
friend

Definition at line 47 of file G4CsvRNtupleManager.hh.

Member Data Documentation

std::vector<G4CsvRNtupleDescription*> G4CsvRNtupleManager::fNtupleVector
private

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