1 #ifndef HPDLibrary_HPDNoiseMaker_h
2 #define HPDLibrary_HPDNoiseMaker_h
25 int addHpd (
const std::string& fName);
27 void setRate (
const std::string& fName,
float fDischargeRate,
float fIonFeedbackFirstPeakRate,
float fIonFeedbackSecondPeakRate,
float fElectronEmissionRate);
33 unsigned long totalEntries (
const std::string& mName)
const;
HPDNoiseDataCatalog * mCatalog
std::vector< std::string > mNames
HPDNoiseMaker(const std::string &fFileName)
std::vector< TTree * > mTrees
unsigned long totalEntries(const std::string &mName) const
get number of stored events by HPD index
void newHpdEvent(const std::string &mName, const HPDNoiseData &mData)
add new HPD noise event by HPD name
HPDNoiseMaker & operator=(const HPDNoiseMaker &)
void setRate(const std::string &fName, float fDischargeRate, float fIonFeedbackFirstPeakRate, float fIonFeedbackSecondPeakRate, float fElectronEmissionRate)
set noise rate for the instance by using different processes
int addHpd(const std::string &fName)
define new HPD instance