Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VNtupleManager Class Referenceabstract

#include <G4VNtupleManager.hh>

Inheritance diagram for G4VNtupleManager:
Collaboration diagram for G4VNtupleManager:

Public Member Functions

 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
 

Protected Member Functions

virtual G4int CreateNtuple (const G4String &name, const G4String &title)=0
 
virtual G4int CreateNtupleIColumn (const G4String &name, std::vector< int > *vector)=0
 
virtual G4int CreateNtupleFColumn (const G4String &name, std::vector< float > *vector)=0
 
virtual G4int CreateNtupleDColumn (const G4String &name, std::vector< double > *vector)=0
 
virtual G4int CreateNtupleSColumn (const G4String &name)=0
 
virtual void FinishNtuple ()=0
 
virtual G4int CreateNtupleIColumn (G4int ntupleId, const G4String &name, std::vector< int > *vector)=0
 
virtual G4int CreateNtupleFColumn (G4int ntupleId, const G4String &name, std::vector< float > *vector)=0
 
virtual G4int CreateNtupleDColumn (G4int ntupleId, const G4String &name, std::vector< double > *vector)=0
 
virtual G4int CreateNtupleSColumn (G4int ntupleId, const G4String &name)=0
 
virtual void FinishNtuple (G4int ntupleId)=0
 
G4bool SetFirstNtupleColumnId (G4int firstId)
 
G4int GetFirstNtupleColumnId () const
 
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
 

Protected Attributes

G4int fFirstNtupleColumnId
 
G4bool fLockFirstNtupleColumnId
 
- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId
 
G4bool fLockFirstId
 

Friends

class G4VAnalysisManager
 

Detailed Description

Definition at line 41 of file G4VNtupleManager.hh.

Constructor & Destructor Documentation

G4VNtupleManager::G4VNtupleManager ( const G4AnalysisManagerState state)
explicit

Definition at line 33 of file G4VNtupleManager.cc.

34  : G4BaseAnalysisManager(state),
37 {
38 }
G4BaseAnalysisManager(const G4AnalysisManagerState &state)
G4VNtupleManager::~G4VNtupleManager ( )
virtual

Definition at line 41 of file G4VNtupleManager.cc.

42 {
43 }
G4VNtupleManager::G4VNtupleManager ( const G4VNtupleManager rhs)
delete

Member Function Documentation

virtual G4bool G4VNtupleManager::AddNtupleRow ( G4int  ntupleId)
protectedpure virtual
virtual G4int G4VNtupleManager::CreateNtuple ( const G4String name,
const G4String title 
)
protectedpure virtual
virtual G4int G4VNtupleManager::CreateNtupleDColumn ( const G4String name,
std::vector< double > *  vector 
)
protectedpure virtual
virtual G4int G4VNtupleManager::CreateNtupleDColumn ( G4int  ntupleId,
const G4String name,
std::vector< double > *  vector 
)
protectedpure virtual
virtual G4int G4VNtupleManager::CreateNtupleFColumn ( const G4String name,
std::vector< float > *  vector 
)
protectedpure virtual
virtual G4int G4VNtupleManager::CreateNtupleFColumn ( G4int  ntupleId,
const G4String name,
std::vector< float > *  vector 
)
protectedpure virtual
virtual G4int G4VNtupleManager::CreateNtupleIColumn ( const G4String name,
std::vector< int > *  vector 
)
protectedpure virtual
virtual G4int G4VNtupleManager::CreateNtupleIColumn ( G4int  ntupleId,
const G4String name,
std::vector< int > *  vector 
)
protectedpure virtual
virtual G4int G4VNtupleManager::CreateNtupleSColumn ( const G4String name)
protectedpure virtual
virtual G4int G4VNtupleManager::CreateNtupleSColumn ( G4int  ntupleId,
const G4String name 
)
protectedpure virtual
virtual G4bool G4VNtupleManager::FillNtupleDColumn ( G4int  id,
G4double  value 
)
protectedpure virtual
virtual G4bool G4VNtupleManager::FillNtupleDColumn ( G4int  ntupleId,
G4int  columnId,
G4double  value 
)
protectedpure virtual
virtual G4bool G4VNtupleManager::FillNtupleFColumn ( G4int  id,
G4float  value 
)
protectedpure virtual
virtual G4bool G4VNtupleManager::FillNtupleFColumn ( G4int  ntupleId,
G4int  columnId,
G4float  value 
)
protectedpure virtual
virtual G4bool G4VNtupleManager::FillNtupleIColumn ( G4int  id,
G4int  value 
)
protectedpure virtual
virtual G4bool G4VNtupleManager::FillNtupleIColumn ( G4int  ntupleId,
G4int  columnId,
G4int  value 
)
protectedpure virtual
virtual G4bool G4VNtupleManager::FillNtupleSColumn ( G4int  id,
const G4String value 
)
protectedpure virtual
virtual G4bool G4VNtupleManager::FillNtupleSColumn ( G4int  ntupleId,
G4int  columnId,
const G4String value 
)
protectedpure virtual
virtual void G4VNtupleManager::FinishNtuple ( )
protectedpure virtual
virtual void G4VNtupleManager::FinishNtuple ( G4int  ntupleId)
protectedpure virtual
virtual G4bool G4VNtupleManager::GetActivation ( G4int  id) const
protectedpure virtual
G4int G4VNtupleManager::GetFirstNtupleColumnId ( ) const
inlineprotected

Definition at line 115 of file G4VNtupleManager.hh.

115  {
116  return fFirstNtupleColumnId;
117 }

Here is the caller graph for this function:

virtual G4int G4VNtupleManager::GetNofNtuples ( ) const
protectedpure virtual
G4VNtupleManager& G4VNtupleManager::operator= ( const G4VNtupleManager rhs)
delete
virtual void G4VNtupleManager::SetActivation ( G4bool  activation)
protectedpure virtual
virtual void G4VNtupleManager::SetActivation ( G4int  id,
G4bool  activation 
)
protectedpure virtual
G4bool G4VNtupleManager::SetFirstNtupleColumnId ( G4int  firstId)
protected

Definition at line 46 of file G4VNtupleManager.cc.

47 {
49  G4ExceptionDescription description;
50  description
51  << "Cannot set FirstNtupleColumnId as its value was already used.";
52  G4Exception("G4VNtupleManager::SetFirstNtupleColumnId()",
53  "Analysis_W013", JustWarning, description);
54  return false;
55  }
56 
57  fFirstNtupleColumnId = firstId;
58  return true;
59 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4VAnalysisManager
friend

Definition at line 45 of file G4VNtupleManager.hh.

Member Data Documentation

G4int G4VNtupleManager::fFirstNtupleColumnId
protected

Definition at line 110 of file G4VNtupleManager.hh.

G4bool G4VNtupleManager::fLockFirstNtupleColumnId
protected

Definition at line 111 of file G4VNtupleManager.hh.


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