Jpp  15.0.4
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JPMTThreshold.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 thresholds.
17  */
18  class JPMTThreshold :
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  JPMTThreshold(const int id, const int run)
40  {
41  configure(id, run);
42  }
43 
44 
45  /**
46  * Configure PMT thresholds 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_THRESHOLD_t);
54  }
55  };
56 }
57 
58 #endif
Auxiliary class for PMT thresholds.
Auxiliary class for PMT run setup parameters.
JPMTThreshold(const int id, const int run)
Constructor.
void configure(const int id, const int run)
Configure PMT thresholds for given detector and run.
const char *const PMT_THRESHOLD_t
parameter name of PMT threshold
JPMTThreshold()
Default constructor.