Class RMGAnalysisReader::Access¶
Defined in File RMGAnalysisReader.hh
Nested Relationships¶
This class is a nested type of Class RMGAnalysisReader.
Class Documentation¶
-
class Access
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.
Public Functions
-
inline ~Access()
-
Access(Access const&) = delete
-
inline void unlock()
unlock this access handle before it exits the scope.
-
inline void Seek(size_t offset)
read and discard a number of rows at the current position.
-
inline auto GetNtupleRow()
wraps
GetNtupleRow()of G4VAnalysisReader.
-
inline auto SetNtupleDColumn(const std::string &name, G4double &value, const std::vector<std::string> &allowed_units = {})
wraps
SetNtupleDColumn()of G4VAnalysisReader.
-
inline auto SetNtupleFColumn(const std::string &name, G4float &value, const std::vector<std::string> &allowed_units = {})
wraps
SetNtupleFColumn()of G4VAnalysisReader.
-
inline 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.
-
inline operator bool() const
check whether this access handle is still valid.
-
inline ~Access()