remage
Simulation framework for HPGe-based experiments
 
Loading...
Searching...
No Matches
RMGAnalysisReader::Access Class Referencefinal

thread-safe access handle to the underlying reader. This handle can be used to set-up ntuple reading (in setup mode) or to read rows from the ntuple. More...

#include <RMGAnalysisReader.hh>

Public Member Functions

 Access (Access const &)=delete
 
Accessoperator= (Access &)=delete
 
Accessoperator= (Access const &)=delete
 
Accessoperator= (Access &&)=delete
 
void unlock ()
 unlock this access handle before it exits the scope.
 
void Seek (size_t offset)
 read and discard a number of rows at the current position.
 
auto GetNtupleRow ()
 wraps GetNtupleRow() of G4VAnalysisReader.
 
auto SetNtupleDColumn (const std::string &name, G4double &value, const std::vector< std::string > &allowed_units={})
 wraps SetNtupleDColumn() of G4VAnalysisReader.
 
auto SetNtupleFColumn (const std::string &name, G4float &value, const std::vector< std::string > &allowed_units={})
 wraps SetNtupleFColumn() of G4VAnalysisReader.
 
auto SetNtupleIColumn (const std::string &name, G4int &value, const std::vector< std::string > &allowed_units={})
 wraps SetNtupleIColumn() of G4VAnalysisReader.
 
std::string GetUnit (const std::string &name) const
 get unit information for the column. an empty string means either no unit attached or no support by the file format.
 
 operator bool () const
 check whether this access handle is still valid.
 

Friends

class RMGAnalysisReader
 

Detailed Description

thread-safe access handle to the underlying reader. This handle can be used to set-up ntuple reading (in setup mode) or to read rows from the ntuple.


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