#include <G4RootMainNtupleManager.hh>
|  | 
| static constexpr std::string_view | fkClass { "G4RootMainNtupleManager" } | 
|  | 
Definition at line 57 of file G4RootMainNtupleManager.hh.
 
◆ G4RootMainNtupleManager() [1/2]
Definition at line 40 of file G4RootMainNtupleManager.cc.
   51{}
G4BaseAnalysisManager()=delete
std::shared_ptr< G4NtupleBookingManager > fBookingManager
G4RootNtupleManager * fNtupleBuilder
 
 
 
◆ G4RootMainNtupleManager() [2/2]
  
  | 
        
          | G4RootMainNtupleManager::G4RootMainNtupleManager | ( |  | ) |  |  | delete | 
 
 
◆ ~G4RootMainNtupleManager()
  
  | 
        
          | virtual G4RootMainNtupleManager::~G4RootMainNtupleManager | ( |  | ) |  |  | virtualdefault | 
 
 
◆ ClearData()
  
  | 
        
          | void G4RootMainNtupleManager::ClearData | ( |  | ) |  |  | protected | 
 
 
◆ CreateNtuple()
Definition at line 58 of file G4RootMainNtupleManager.cc.
   60{
   61
   62 
   63  
   65  if ( ! ntupleFile ) {
   66    if ( warn ) {
   67        Warn(
"Ntuple file must be defined first.\n" 
   68             "Cannot create main ntuple.",
   70      }
   71    return;
   72  }
   73 
   74  
   76 
   77  Message(
kVL4, 
"create", 
"main ntuple", ntupleBooking.name());
 
   78 
   79  
   80  auto ntuple = 
new tools::wroot::ntuple(*std::get<2>(*ntupleFile), ntupleBooking, 
fRowWise);
 
   81         
   83  ntuple->set_basket_size(basketSize);
   84 
   87 
   88  Message(
kVL3, 
"create", 
"main ntuple", ntupleBooking.name());
 
   89}
std::vector< tools::wroot::ntuple * > fNtupleVector
static constexpr std::string_view fkClass
std::shared_ptr< G4RootFileManager > fFileManager
std::vector< RootNtupleDescription * > fNtupleDescriptionVector
unsigned int GetBasketSize() const
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)
tools::ntuple_booking fNtupleBooking
References fFileManager, fFileNumber, fkClass, G4TNtupleDescription< NT, FT >::fNtupleBooking, fNtupleBuilder, fNtupleDescriptionVector, fNtupleVector, fRowWise, G4RootNtupleManager::GetBasketSize(), G4Analysis::kVL3, G4Analysis::kVL4, G4BaseAnalysisManager::Message(), and G4Analysis::Warn().
 
 
◆ GetBasketEntries()
  
  | 
        
          | unsigned int G4RootMainNtupleManager::GetBasketEntries | ( |  | ) | const |  | inlineprotected | 
 
 
◆ GetFirstId()
  
  | 
        
          | G4int G4BaseAnalysisManager::GetFirstId | ( |  | ) | const |  | inlineinherited | 
 
 
◆ GetNtupleFile()
◆ GetNtupleVector()
  
  | 
        
          | const std::vector< tools::wroot::ntuple * > & G4RootMainNtupleManager::GetNtupleVector | ( |  | ) |  |  | inlineprotected | 
 
 
◆ IsVerbose()
  
  | 
        
          | G4bool G4BaseAnalysisManager::IsVerbose | ( | G4int | verboseLevel | ) | const |  | inlineprotectedinherited | 
 
 
◆ Merge()
  
  | 
        
          | G4bool G4RootMainNtupleManager::Merge | ( |  | ) |  |  | protected | 
 
 
◆ Message()
Definition at line 83 of file G4BaseAnalysisManager.hh.
   86{
   88}
void Message(G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
References geant4_check_module_cycles::action, G4BaseAnalysisManager::fState, and G4AnalysisManagerState::Message().
Referenced by G4RootPNtupleManager::AddNtupleRow(), G4RootPNtupleManager::Clear(), G4NtupleBookingManager::ClearData(), ClearData(), G4NtupleBookingManager::CreateNtuple(), CreateNtuple(), G4RootPNtupleManager::CreateNtupleFromMain(), G4RootPNtupleManager::Merge(), G4CsvRNtupleManager::ReadNtupleImpl(), G4Hdf5RNtupleManager::ReadNtupleImpl(), G4RootRNtupleManager::ReadNtupleImpl(), G4XmlRNtupleManager::ReadNtupleImpl(), G4XmlRNtupleManager::SetNtupleDColumn(), G4XmlRNtupleManager::SetNtupleFColumn(), G4XmlRNtupleManager::SetNtupleIColumn(), and G4XmlRNtupleManager::SetNtupleSColumn().
 
 
◆ Reset()
  
  | 
        
          | G4bool G4RootMainNtupleManager::Reset | ( |  | ) |  |  | protected | 
 
 
◆ SetFileManager()
  
  | 
        
          | void G4RootMainNtupleManager::SetFileManager | ( | std::shared_ptr< G4RootFileManager > | fileManager | ) |  |  | inlineprotected | 
 
 
◆ SetFirstId()
  
  | 
        
          | G4bool G4BaseAnalysisManager::SetFirstId | ( | G4int | firstId | ) |  |  | inherited | 
 
 
◆ SetLockFirstId()
  
  | 
        
          | void G4BaseAnalysisManager::SetLockFirstId | ( | G4bool | lockFirstId | ) |  |  | inlineinherited | 
 
 
◆ SetRowWise()
  
  | 
        
          | void G4RootMainNtupleManager::SetRowWise | ( | G4bool | rowWise | ) |  |  | inlineprotected | 
 
 
◆ G4RootNtupleManager
◆ G4RootPNtupleManager
◆ fBookingManager
◆ fFileManager
◆ fFileNumber
  
  | 
        
          | G4int G4RootMainNtupleManager::fFileNumber |  | private | 
 
 
◆ fFirstId
  
  | 
        
          | G4int G4BaseAnalysisManager::fFirstId { 0 } |  | protectedinherited | 
 
Definition at line 70 of file G4BaseAnalysisManager.hh.
Referenced by G4BaseNtupleManager::AddNtupleRow(), G4NtupleBookingManager::CreateNtuple(), G4BaseNtupleManager::FillNtupleDColumn(), G4BaseNtupleManager::FillNtupleFColumn(), G4BaseNtupleManager::FillNtupleIColumn(), G4BaseRNtupleManager::GetCurrentNtupleId(), G4BaseAnalysisManager::GetFirstId(), G4HnManager::GetHnInformation(), G4RootPNtupleManager::GetMainNtupleInFunction(), G4NtupleBookingManager::GetNtupleBookingInFunction(), G4RootPNtupleManager::GetNtupleDescriptionInFunction(), G4BaseRNtupleManager::GetNtupleRow(), and G4BaseAnalysisManager::SetFirstId().
 
 
◆ fkClass
  
  | 
        
          | constexpr std::string_view G4RootMainNtupleManager::fkClass { "G4RootMainNtupleManager" } |  | staticconstexprprivate | 
 
 
◆ fLockFirstId
  
  | 
        
          | G4bool G4BaseAnalysisManager::fLockFirstId { false } |  | protectedinherited | 
 
 
◆ fNtupleBuilder
◆ fNtupleDescriptionVector
◆ fNtupleVector
  
  | 
        
          | std::vector<tools::wroot::ntuple*> G4RootMainNtupleManager::fNtupleVector |  | private | 
 
 
◆ fRowWise
  
  | 
        
          | G4bool G4RootMainNtupleManager::fRowWise |  | private | 
 
 
◆ fState
The documentation for this class was generated from the following files: