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 auto GetNtupleRow()
wraps G4VAnalysisReader::GetNtupleRow.
-
inline auto SetNtupleDColumn(const std::string &name, G4double &value, const std::vector<std::string> &allowed_units = {})
wraps G4VAnalysisReader::SetNtupleDColumn.
-
inline auto SetNtupleFColumn(const std::string &name, G4float &value, const std::vector<std::string> &allowed_units = {})
wraps G4VAnalysisReader::SetNtupleFColumn.
-
inline auto SetNtupleIColumn(const std::string &name, G4int &value, const std::vector<std::string> &allowed_units = {})
wraps G4VAnalysisReader::SetNtupleIColumn.
-
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()