Geant4  10.02.p02
G4XmlRNtupleManager Class Reference

#include <G4XmlRNtupleManager.hh>

+ Inheritance diagram for G4XmlRNtupleManager:
+ Collaboration diagram for G4XmlRNtupleManager:

Protected Member Functions

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

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

Private Attributes

std::vector
< G4XmlRNtupleDescription * > 
fNtupleVector
 

Friends

class G4XmlAnalysisReader
 

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

Constructor & Destructor Documentation

G4XmlRNtupleManager::G4XmlRNtupleManager ( const G4AnalysisManagerState state)
protected

Definition at line 62 of file G4XmlRNtupleManager.cc.

G4XmlRNtupleManager::~G4XmlRNtupleManager ( )
protectedvirtual

Definition at line 69 of file G4XmlRNtupleManager.cc.

References fNtupleVector.

Member Function Documentation

G4int G4XmlRNtupleManager::GetNofNtuples ( ) const
inlineprotectedvirtual

Reimplemented from G4VRNtupleManager.

Definition at line 115 of file G4XmlRNtupleManager.hh.

References fNtupleVector.

tools::aida::ntuple * G4XmlRNtupleManager::GetNtuple ( ) const
protected

Definition at line 126 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

tools::aida::ntuple * G4XmlRNtupleManager::GetNtuple ( G4int  ntupleId) const
protected

Definition at line 132 of file G4XmlRNtupleManager.cc.

References G4XmlRNtupleDescription::fNtuple, and GetNtupleInFunction().

+ Here is the call graph for this function:

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

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

Implements G4VRNtupleManager.

Definition at line 447 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

G4bool G4XmlRNtupleManager::IsEmpty ( ) const
protected

Definition at line 105 of file G4XmlRNtupleManager.cc.

References fNtupleVector.

G4bool G4XmlRNtupleManager::Reset ( )
protected

Definition at line 111 of file G4XmlRNtupleManager.cc.

References fNtupleVector.

Referenced by G4XmlAnalysisReader::Reset().

+ Here is the caller graph for this function:

G4int G4XmlRNtupleManager::SetNtuple ( G4XmlRNtupleDescription rntupleDescription)
protected

Definition at line 143 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and fNtupleVector.

Referenced by G4XmlAnalysisReader::ReadNtupleImpl().

+ Here is the caller graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 167 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

Referenced by SetNtupleDColumn().

+ Here is the caller graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 195 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and SetNtupleDColumn().

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 264 of file G4XmlRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 408 of file G4XmlRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 160 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

Referenced by SetNtupleFColumn().

+ Here is the caller graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 188 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and SetNtupleFColumn().

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 233 of file G4XmlRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 369 of file G4XmlRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 153 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

Referenced by SetNtupleIColumn().

+ Here is the caller graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 181 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId, and SetNtupleIColumn().

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 202 of file G4XmlRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 330 of file G4XmlRNtupleManager.cc.

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

+ Here is the call graph for this function:

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

Implements G4VRNtupleManager.

Definition at line 174 of file G4XmlRNtupleManager.cc.

References G4BaseAnalysisManager::fFirstId.

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

Implements G4VRNtupleManager.

Definition at line 297 of file G4XmlRNtupleManager.cc.

References G4XmlRNtupleDescription::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 G4XmlAnalysisReader
friend

Definition at line 47 of file G4XmlRNtupleManager.hh.

Member Data Documentation

std::vector<G4XmlRNtupleDescription*> G4XmlRNtupleManager::fNtupleVector
private

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