LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "CalibrationExtraInfo.h"
Public Member Functions | |
CalibrationExtraInfo (std::string const &name) | |
virtual | ~CalibrationExtraInfo ()=default |
std::string const & | GetName () const |
void | AddOrReplaceBoolData (std::string const &label, bool const data) |
void | AddOrReplaceIntData (std::string const &label, int const data) |
void | AddOrReplaceVecIntData (std::string const &label, std::vector< int > const &data) |
void | AddOrReplaceFloatData (std::string const &label, float const data) |
void | AddOrReplaceVecFloatData (std::string const &label, std::vector< float > const &data) |
void | AddOrReplaceStringData (std::string const &label, std::string const &data) |
bool | GetBoolData (std::string const &label) const |
int | GetIntData (std::string const &label) const |
std::vector< int > const & | GetVecIntData (std::string const &label) const |
float | GetFloatData (std::string const &label) const |
std::vector< float > const & | GetVecFloatData (std::string const &label) const |
std::string const & | GetStringData (std::string const &label) const |
void | ClearDataByLabel (std::string const &label) |
void | ClearAllData () |
Private Attributes | |
std::string | fName |
std::map< std::string, bool > | fBoolData |
std::map< std::string, int > | fIntData |
std::map< std::string, std::vector< int > > | fVecIntData |
std::map< std::string, float > | fFloatData |
std::map< std::string, std::vector< float > > | fVecFloatData |
std::map< std::string, std::string > | fStringData |
Definition at line 10 of file CalibrationExtraInfo.h.
|
inline |
|
virtualdefault |
Referenced by CalibrationExtraInfo().
void lariov::CalibrationExtraInfo::AddOrReplaceBoolData | ( | std::string const & | label, |
bool const | data | ||
) |
Definition at line 6 of file CalibrationExtraInfo.cxx.
References fBoolData.
Referenced by GetName().
void lariov::CalibrationExtraInfo::AddOrReplaceFloatData | ( | std::string const & | label, |
float const | data | ||
) |
Definition at line 22 of file CalibrationExtraInfo.cxx.
References fFloatData.
Referenced by GetName().
void lariov::CalibrationExtraInfo::AddOrReplaceIntData | ( | std::string const & | label, |
int const | data | ||
) |
Definition at line 11 of file CalibrationExtraInfo.cxx.
References fIntData.
Referenced by GetName().
void lariov::CalibrationExtraInfo::AddOrReplaceStringData | ( | std::string const & | label, |
std::string const & | data | ||
) |
Definition at line 33 of file CalibrationExtraInfo.cxx.
References fStringData.
Referenced by GetName().
void lariov::CalibrationExtraInfo::AddOrReplaceVecFloatData | ( | std::string const & | label, |
std::vector< float > const & | data | ||
) |
Definition at line 27 of file CalibrationExtraInfo.cxx.
References fVecFloatData.
Referenced by GetName().
void lariov::CalibrationExtraInfo::AddOrReplaceVecIntData | ( | std::string const & | label, |
std::vector< int > const & | data | ||
) |
Definition at line 16 of file CalibrationExtraInfo.cxx.
References fVecIntData.
Referenced by GetName().
void lariov::CalibrationExtraInfo::ClearAllData | ( | ) |
Definition at line 56 of file CalibrationExtraInfo.cxx.
References fBoolData, fFloatData, fIntData, fStringData, fVecFloatData, and fVecIntData.
Referenced by GetName().
void lariov::CalibrationExtraInfo::ClearDataByLabel | ( | std::string const & | label | ) |
Definition at line 39 of file CalibrationExtraInfo.cxx.
References fBoolData, fFloatData, fIntData, fStringData, fVecFloatData, and fVecIntData.
Referenced by GetName().
bool lariov::CalibrationExtraInfo::GetBoolData | ( | std::string const & | label | ) | const |
Definition at line 66 of file CalibrationExtraInfo.cxx.
References fBoolData, and fName.
Referenced by GetName().
float lariov::CalibrationExtraInfo::GetFloatData | ( | std::string const & | label | ) | const |
Definition at line 90 of file CalibrationExtraInfo.cxx.
References fFloatData, and fName.
Referenced by GetName().
int lariov::CalibrationExtraInfo::GetIntData | ( | std::string const & | label | ) | const |
Definition at line 74 of file CalibrationExtraInfo.cxx.
References fIntData, and fName.
Referenced by GetName().
|
inline |
Definition at line 18 of file CalibrationExtraInfo.h.
References AddOrReplaceBoolData(), AddOrReplaceFloatData(), AddOrReplaceIntData(), AddOrReplaceStringData(), AddOrReplaceVecFloatData(), AddOrReplaceVecIntData(), ClearAllData(), ClearDataByLabel(), fName, GetBoolData(), GetFloatData(), GetIntData(), GetStringData(), GetVecFloatData(), and GetVecIntData().
std::string const & lariov::CalibrationExtraInfo::GetStringData | ( | std::string const & | label | ) | const |
Definition at line 106 of file CalibrationExtraInfo.cxx.
References fName, and fStringData.
Referenced by GetName().
std::vector< float > const & lariov::CalibrationExtraInfo::GetVecFloatData | ( | std::string const & | label | ) | const |
Definition at line 98 of file CalibrationExtraInfo.cxx.
References fName, and fVecFloatData.
Referenced by GetName().
std::vector< int > const & lariov::CalibrationExtraInfo::GetVecIntData | ( | std::string const & | label | ) | const |
Definition at line 82 of file CalibrationExtraInfo.cxx.
References fName, and fVecIntData.
Referenced by GetName().
|
private |
Definition at line 40 of file CalibrationExtraInfo.h.
Referenced by AddOrReplaceBoolData(), ClearAllData(), ClearDataByLabel(), and GetBoolData().
|
private |
Definition at line 45 of file CalibrationExtraInfo.h.
Referenced by AddOrReplaceFloatData(), ClearAllData(), ClearDataByLabel(), and GetFloatData().
|
private |
Definition at line 42 of file CalibrationExtraInfo.h.
Referenced by AddOrReplaceIntData(), ClearAllData(), ClearDataByLabel(), and GetIntData().
|
private |
Definition at line 38 of file CalibrationExtraInfo.h.
Referenced by GetBoolData(), GetFloatData(), GetIntData(), GetName(), GetStringData(), GetVecFloatData(), and GetVecIntData().
|
private |
Definition at line 48 of file CalibrationExtraInfo.h.
Referenced by AddOrReplaceStringData(), ClearAllData(), ClearDataByLabel(), and GetStringData().
|
private |
Definition at line 46 of file CalibrationExtraInfo.h.
Referenced by AddOrReplaceVecFloatData(), ClearAllData(), ClearDataByLabel(), and GetVecFloatData().
|
private |
Definition at line 43 of file CalibrationExtraInfo.h.
Referenced by AddOrReplaceVecIntData(), ClearAllData(), ClearDataByLabel(), and GetVecIntData().