#include <G4RootRNtupleManager.hh>
 | 
|   | 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  | 
|   | 
Definition at line 45 of file G4RootRNtupleManager.hh.
 
  
  
      
        
          | G4RootRNtupleManager::~G4RootRNtupleManager  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
Definition at line 42 of file G4RootRNtupleManager.cc.
   44   std::vector<G4RootRNtupleDescription*>::iterator it;  
 
   45   for (it = fNtupleVector.begin(); it != fNtupleVector.end(); it++ ) {
 
 
 
 
  
  
      
        
          | G4int G4RootRNtupleManager::GetNofNtuples  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineprotectedvirtual   | 
  
 
 
  
  
      
        
          | tools::rroot::ntuple * G4RootRNtupleManager::GetNtuple  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | tools::rroot::ntuple * G4RootRNtupleManager::GetNtuple  | 
          ( | 
          G4int  | 
          ntupleId | ) | 
           const | 
         
       
   | 
  
protected   | 
  
 
Definition at line 105 of file G4RootRNtupleManager.cc.
  108     = GetNtupleInFunction(ntupleId, 
"GetRNtuple");
 
  110   if ( ! rntupleDescription ) 
return nullptr; 
 
  112   return rntupleDescription->
fNtuple;  
 
tools::rroot::ntuple * fNtuple
 
 
 
 
  
  
      
        
          | G4bool G4RootRNtupleManager::GetNtupleRow  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | G4bool G4RootRNtupleManager::GetNtupleRow  | 
          ( | 
          G4int  | 
          ntupleId | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
Implements G4VRNtupleManager.
Definition at line 398 of file G4RootRNtupleManager.cc.
  403     description << 
" ntupleId " << ntupleId;  
 
  409     = GetNtupleInFunction(ntupleId, 
"GetNtupleRow");
 
  410   if ( ! ntupleDescription )  
return false;   
 
  412   tools::rroot::ntuple* ntuple = ntupleDescription->
fNtuple;
 
  413   tools::ntuple_binding* ntupleBinding = ntupleDescription->
fNtupleBinding;
 
  416   if ( ! isInitialized ) {
 
  421       description << 
" ntupleId " << ntupleId;  
 
  425     if ( ! ntuple->initialize(
G4cout, *ntupleBinding) ) {
 
  429         << 
"Ntuple initialization failed !!"; 
 
  438   G4bool next = ntuple->next();
 
  440     if ( ! ntuple->get_row() ) {
 
  444         << 
"Ntuple get_row() failed !!"; 
 
  454     description << 
" ntupleId " << ntupleId;  
 
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const 
 
std::ostringstream G4ExceptionDescription
 
const G4AnalysisVerbose * GetVerboseL2() const 
 
G4GLOB_DLL std::ostream G4cout
 
const G4AnalysisVerbose * GetVerboseL4() const 
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
tools::rroot::ntuple * fNtuple
 
tools::ntuple_binding * fNtupleBinding
 
const G4AnalysisManagerState & fState
 
 
 
 
  
  
      
        
          | G4bool G4RootRNtupleManager::IsEmpty  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | G4bool G4RootRNtupleManager::Reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 84 of file G4RootRNtupleManager.cc.
   88   std::vector<G4RootRNtupleDescription*>::iterator it;  
 
   89   for (it = fNtupleVector.begin(); it != fNtupleVector.end(); it++ ) {
 
 
 
 
  
  
      
        
          | G4bool G4RootRNtupleManager::SetNtupleDColumn  | 
          ( | 
          const G4String &  | 
          columnName,  | 
         
        
           | 
           | 
          std::vector< G4double > &  | 
          vector  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
Implements G4VRNtupleManager.
Definition at line 237 of file G4RootRNtupleManager.cc.
  244     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
  250     = GetNtupleInFunction(ntupleId, 
"SetNtupleDColumn");
 
  251   if ( ! ntupleDescription )  
return false;   
 
  253   tools::ntuple_binding* ntupleBinding = ntupleDescription->
fNtupleBinding;
 
  254   ntupleBinding->add_column(columnName, 
value);
 
  259     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const 
 
std::ostringstream G4ExceptionDescription
 
const G4AnalysisVerbose * GetVerboseL2() const 
 
const XML_Char int const XML_Char * value
 
const G4AnalysisVerbose * GetVerboseL4() const 
 
tools::ntuple_binding * fNtupleBinding
 
const G4AnalysisManagerState & fState
 
 
 
 
Implements G4VRNtupleManager.
Definition at line 361 of file G4RootRNtupleManager.cc.
  368     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
  374     = GetNtupleInFunction(ntupleId, 
"SetNtupleDColumn");
 
  375   if ( ! ntupleDescription )  
return false;   
 
  377   tools::ntuple_binding* ntupleBinding = ntupleDescription->
fNtupleBinding;
 
  378   ntupleBinding->add_column(columnName, vector);
 
  383     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const 
 
std::ostringstream G4ExceptionDescription
 
const G4AnalysisVerbose * GetVerboseL2() const 
 
const G4AnalysisVerbose * GetVerboseL4() const 
 
tools::ntuple_binding * fNtupleBinding
 
const G4AnalysisManagerState & fState
 
 
 
 
  
  
      
        
          | G4bool G4RootRNtupleManager::SetNtupleFColumn  | 
          ( | 
          const G4String &  | 
          columnName,  | 
         
        
           | 
           | 
          std::vector< G4float > &  | 
          vector  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
Implements G4VRNtupleManager.
Definition at line 206 of file G4RootRNtupleManager.cc.
  213     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
  219     = GetNtupleInFunction(ntupleId, 
"SetNtupleFColumn");
 
  220   if ( ! ntupleDescription )  
return false;   
 
  222   tools::ntuple_binding* ntupleBinding = ntupleDescription->
fNtupleBinding;
 
  223   ntupleBinding->add_column(columnName, 
value);
 
  228     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const 
 
std::ostringstream G4ExceptionDescription
 
const G4AnalysisVerbose * GetVerboseL2() const 
 
const XML_Char int const XML_Char * value
 
const G4AnalysisVerbose * GetVerboseL4() const 
 
tools::ntuple_binding * fNtupleBinding
 
const G4AnalysisManagerState & fState
 
 
 
 
Implements G4VRNtupleManager.
Definition at line 330 of file G4RootRNtupleManager.cc.
  337     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
  343     = GetNtupleInFunction(ntupleId, 
"SetNtupleFColumn");
 
  344   if ( ! ntupleDescription )  
return false;   
 
  346   tools::ntuple_binding* ntupleBinding = ntupleDescription->
fNtupleBinding;
 
  347   ntupleBinding->add_column(columnName, vector);
 
  352     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const 
 
std::ostringstream G4ExceptionDescription
 
const G4AnalysisVerbose * GetVerboseL2() const 
 
const G4AnalysisVerbose * GetVerboseL4() const 
 
tools::ntuple_binding * fNtupleBinding
 
const G4AnalysisManagerState & fState
 
 
 
 
  
  
      
        
          | G4bool G4RootRNtupleManager::SetNtupleIColumn  | 
          ( | 
          const G4String &  | 
          columnName,  | 
         
        
           | 
           | 
          std::vector< G4int > &  | 
          vector  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
Implements G4VRNtupleManager.
Definition at line 175 of file G4RootRNtupleManager.cc.
  182     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
  188     = GetNtupleInFunction(ntupleId, 
"SetNtupleIColumn");
 
  189   if ( ! ntupleDescription )  
return false;   
 
  191   tools::ntuple_binding* ntupleBinding = ntupleDescription->
fNtupleBinding;
 
  192   ntupleBinding->add_column(columnName, 
value);
 
  197     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const 
 
std::ostringstream G4ExceptionDescription
 
const G4AnalysisVerbose * GetVerboseL2() const 
 
const XML_Char int const XML_Char * value
 
const G4AnalysisVerbose * GetVerboseL4() const 
 
tools::ntuple_binding * fNtupleBinding
 
const G4AnalysisManagerState & fState
 
 
 
 
  
  
      
        
          | G4bool G4RootRNtupleManager::SetNtupleIColumn  | 
          ( | 
          G4int  | 
          ntupleId,  | 
         
        
           | 
           | 
          const G4String &  | 
          columnName,  | 
         
        
           | 
           | 
          std::vector< G4int > &  | 
          vector  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedvirtual   | 
  
 
Implements G4VRNtupleManager.
Definition at line 299 of file G4RootRNtupleManager.cc.
  306     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
  312     = GetNtupleInFunction(ntupleId, 
"SetNtupleIColumn");
 
  313   if ( ! ntupleDescription )  
return false;   
 
  315   tools::ntuple_binding* ntupleBinding = ntupleDescription->
fNtupleBinding;
 
  316   ntupleBinding->add_column(columnName, vector);
 
  321     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const 
 
std::ostringstream G4ExceptionDescription
 
const G4AnalysisVerbose * GetVerboseL2() const 
 
const G4AnalysisVerbose * GetVerboseL4() const 
 
tools::ntuple_binding * fNtupleBinding
 
const G4AnalysisManagerState & fState
 
 
 
 
Implements G4VRNtupleManager.
Definition at line 268 of file G4RootRNtupleManager.cc.
  275     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
  281     = GetNtupleInFunction(ntupleId, 
"SetNtupleSColumn");
 
  282   if ( ! ntupleDescription )  
return false;   
 
  284   tools::ntuple_binding* ntupleBinding = ntupleDescription->
fNtupleBinding;
 
  285   ntupleBinding->add_column(columnName, value);
 
  290     description << 
" ntupleId " << ntupleId << 
" " << columnName;  
 
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const 
 
std::ostringstream G4ExceptionDescription
 
const G4AnalysisVerbose * GetVerboseL2() const 
 
const G4AnalysisVerbose * GetVerboseL4() const 
 
tools::ntuple_binding * fNtupleBinding
 
const G4AnalysisManagerState & fState
 
 
 
 
The documentation for this class was generated from the following files: