#include <HPDNoiseMaker.h>
Public Member Functions | |
int | addHpd (const std::string &fName) |
define new HPD instance More... | |
HPDNoiseMaker (const std::string &fFileName) | |
void | newHpdEvent (const std::string &mName, const HPDNoiseData &mData) |
add new HPD noise event by HPD name More... | |
void | newHpdEvent (size_t i, const HPDNoiseData &mData) |
add new HPD noise event by HPD index More... | |
void | setRate (const std::string &fName, float fDischargeRate, float fIonFeedbackFirstPeakRate, float fIonFeedbackSecondPeakRate, float fElectronEmissionRate) |
set noise rate for the instance by using different processes More... | |
unsigned long | totalEntries (const std::string &mName) const |
get number of stored events by HPD index More... | |
~HPDNoiseMaker () | |
Private Member Functions | |
HPDNoiseMaker (const HPDNoiseMaker &) | |
HPDNoiseMaker & | operator= (const HPDNoiseMaker &) |
Private Attributes | |
HPDNoiseDataCatalog * | mCatalog |
TFile * | mFile |
std::vector< std::string > | mNames |
std::vector< TTree * > | mTrees |
Definition at line 18 of file HPDNoiseMaker.h.
HPDNoiseMaker::HPDNoiseMaker | ( | const std::string & | fFileName | ) |
Definition at line 19 of file HPDNoiseMaker.cc.
References mCatalog, and mFile.
HPDNoiseMaker::~HPDNoiseMaker | ( | ) |
Definition at line 24 of file HPDNoiseMaker.cc.
References i, mCatalog, mFile, mTrees, and HPDNoiseDataCatalog::objectName().
|
private |
int HPDNoiseMaker::addHpd | ( | const std::string & | fName | ) |
define new HPD instance
Definition at line 34 of file HPDNoiseMaker.cc.
References HPDNoiseDataCatalog::addHpd(), HPDNoiseData::branchName(), ecal_dqm_sourceclient-live_cfg::cerr, HPDNoiseData::className(), mCatalog, mFile, mNames, and mTrees.
void HPDNoiseMaker::newHpdEvent | ( | const std::string & | mName, |
const HPDNoiseData & | mData | ||
) |
add new HPD noise event by HPD name
Definition at line 54 of file HPDNoiseMaker.cc.
void HPDNoiseMaker::newHpdEvent | ( | size_t | i, |
const HPDNoiseData & | mData | ||
) |
add new HPD noise event by HPD index
Definition at line 62 of file HPDNoiseMaker.cc.
References HPDNoiseData::branchName(), ecal_dqm_sourceclient-live_cfg::cerr, data, i, and mTrees.
|
private |
void HPDNoiseMaker::setRate | ( | const std::string & | fName, |
float | fDischargeRate, | ||
float | fIonFeedbackFirstPeakRate, | ||
float | fIonFeedbackSecondPeakRate, | ||
float | fElectronEmissionRate | ||
) |
set noise rate for the instance by using different processes
Definition at line 49 of file HPDNoiseMaker.cc.
References mCatalog, and HPDNoiseDataCatalog::setRate().
unsigned long HPDNoiseMaker::totalEntries | ( | const std::string & | mName | ) | const |
get number of stored events by HPD index
Definition at line 77 of file HPDNoiseMaker.cc.
References i, mNames, and mTrees.
|
private |
Definition at line 41 of file HPDNoiseMaker.h.
Referenced by addHpd(), HPDNoiseMaker(), setRate(), and ~HPDNoiseMaker().
|
private |
Definition at line 38 of file HPDNoiseMaker.h.
Referenced by addHpd(), HPDNoiseMaker(), and ~HPDNoiseMaker().
|
private |
Definition at line 40 of file HPDNoiseMaker.h.
Referenced by addHpd(), newHpdEvent(), and totalEntries().
|
private |
Definition at line 39 of file HPDNoiseMaker.h.
Referenced by addHpd(), newHpdEvent(), totalEntries(), and ~HPDNoiseMaker().