1 #ifndef HPDLibrary_HPDNoiseDataCatalog_h
2 #define HPDLibrary_HPDNoiseDataCatalog_h
20 void addHpd (
const std::string&
fName,
float fDischargeRate,
float fIonFeedbackFirstPeakRate,
float fIonFeedbackSecondPeakRate,
float fElectronEmissionRate){
40 void setRate (
const std::string&
fName,
float fDischargeRate,
float fIonFeedbackFirstPeakRate,
float fIonFeedbackSecondPeakRate,
float fElectronEmissionRate);
42 static const char*
className () {
return "HPDNoiseDataCatalog";}
std::vector< float > mIonFeedbackSecondPeakRate
std::vector< float > mIonFeedbackFirstPeakRate
const std::string & getName(size_t i) const
get name of the instance
std::vector< float > mElectronEmissionRate
float getElectronEmissionRate(size_t i) const
get thermal electron emission noise rate for the HPD instance
size_t size() const
total number
void setRate(const std::string &fName, float fDischargeRate, float fIonFeedbackFirstPeakRate, float fIonFeedbackSecondPeakRate, float fElectronEmissionRate)
set discharge/IonFeedback/Electron emission noise rates
std::vector< float > mDischargeRate
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const char * objectName()
object name
virtual ~HPDNoiseDataCatalog()
float getIonFeedbackSecondPeakRate(size_t i) const
float getIonFeedbackFirstPeakRate(size_t i) const
get ion feedback noise rate for the HPD instance
const std::vector< std::string > & allNames() const
all HPD instance names
float getDischargeRate(size_t i) const
get noise rate for the HPD instance
void addHpd(const std::string &fName, float fDischargeRate, float fIonFeedbackFirstPeakRate, float fIonFeedbackSecondPeakRate, float fElectronEmissionRate)
add new HPD instance to the catalog
std::vector< std::string > mHpdName
static const char * className()
class name