#ifndef __JDB_JPMTTHRESHOLD__ #define __JDB_JPMTTHRESHOLD__ #include "JDB/JPMTRunsetupParams.hh" /** * \author mdejong */ namespace JDATABASE {} namespace JPP { using namespace JDATABASE; } namespace JDATABASE { /** * Auxiliary class for PMT HVs. */ class JPMTHV : public JPMTRunsetupParams { public: using JPMTRunsetupParams::configure; /** * Default constructor. */ JPMTHV() {} /** * Constructor. * * \param id detector identifier * \param run run number */ JPMTHV(const int id, const int run) { configure(id, run); } /** * Configure PMT HVs for given detector and run. * * \param id detector identifier * \param run run number */ void configure(const int id, const int run) { configure(id, run, PMT_HV_t); } }; } #endif