#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 thresholds. */ class JPMTThreshold : public JPMTRunsetupParams { public: using JPMTRunsetupParams::configure; /** * Default constructor. */ JPMTThreshold() {} /** * Constructor. * * \param id detector identifier * \param run run number */ JPMTThreshold(const int id, const int run) { configure(id, run); } /** * Configure PMT thresholds 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_THRESHOLD_t); } }; } #endif