Jpp  master_rocky-43-ge265d140c
the software that should make you happy
JPMTHV.hh
Go to the documentation of this file.
1 #ifndef __JDB_JPMTTHRESHOLD__
2 #define __JDB_JPMTTHRESHOLD__
3 
5 
6 
7 /**
8  * \author mdejong
9  */
10 namespace JDATABASE {}
11 namespace JPP { using namespace JDATABASE; }
12 
13 namespace JDATABASE {
14 
15  /**
16  * Auxiliary class for PMT HVs.
17  */
18  class JPMTHV :
19  public JPMTRunsetupParams<int>
20  {
21  public:
22 
24 
25 
26  /**
27  * Default constructor.
28  */
30  {}
31 
32 
33  /**
34  * Constructor.
35  *
36  * \param id detector identifier
37  * \param run run number
38  */
39  JPMTHV(const int id, const int run)
40  {
41  configure(id, run);
42  }
43 
44 
45  /**
46  * Configure PMT HVs for given detector and run.
47  *
48  * \param id detector identifier
49  * \param run run number
50  */
51  void configure(const int id, const int run)
52  {
53  configure(id, run, PMT_HV_t);
54  }
55  };
56 }
57 
58 #endif
Auxiliary class for PMT HVs.
Definition: JPMTHV.hh:20
JPMTHV(const int id, const int run)
Constructor.
Definition: JPMTHV.hh:39
JPMTHV()
Default constructor.
Definition: JPMTHV.hh:29
void configure(const int id, const int run)
Configure PMT HVs for given detector and run.
Definition: JPMTHV.hh:51
Auxiliary class for PMT run setup parameters.
Auxiliary classes and methods for database I/O.
Definition: JAHRS.hh:14
const char *const PMT_HV_t
parameter name of PMT high voltage
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).