Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
Public Member Functions | List of all members
JDATABASE::JPMTThreshold Class Reference

Auxiliary class for PMT thresholds. More...

#include <JPMTThreshold.hh>

Inheritance diagram for JDATABASE::JPMTThreshold:
JDATABASE::JPMTRunsetupParams< int > std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t >

Public Member Functions

 JPMTThreshold ()
 Default constructor.
 
 JPMTThreshold (const int id, const int run)
 Constructor.
 
void configure (const int id, const int run)
 Configure PMT thresholds for given detector and run.
 
void configure (const int id, const int run, const std::string &parameter)
 Configure PMT run setup parameters for given detector and run.
 
result_type operator() (const JUPI_t &upi) const
 Get PMT parameter value for given UPI of PMT.
 

Detailed Description

Auxiliary class for PMT thresholds.

Definition at line 18 of file JPMTThreshold.hh.

Constructor & Destructor Documentation

◆ JPMTThreshold() [1/2]

JDATABASE::JPMTThreshold::JPMTThreshold ( )
inline

Default constructor.

Definition at line 29 of file JPMTThreshold.hh.

30 {}

◆ JPMTThreshold() [2/2]

JDATABASE::JPMTThreshold::JPMTThreshold ( const int id,
const int run )
inline

Constructor.

Parameters
iddetector identifier
runrun number

Definition at line 39 of file JPMTThreshold.hh.

40 {
41 configure(id, run);
42 }
void configure(const int id, const int run)
Configure PMT thresholds for given detector and run.

Member Function Documentation

◆ configure() [1/2]

void JDATABASE::JPMTThreshold::configure ( const int id,
const int run )
inline

Configure PMT thresholds for given detector and run.

Parameters
iddetector identifier
runrun number

Definition at line 51 of file JPMTThreshold.hh.

52 {
53 configure(id, run, PMT_THRESHOLD_t);
54 }
const char *const PMT_THRESHOLD_t
parameter name of PMT threshold

◆ configure() [2/2]

void JDATABASE::JPMTRunsetupParams< int >::configure ( const int id,
const int run,
const std::string & parameter )
inlineinherited

Configure PMT run setup parameters for given detector and run.

Parameters
iddetector identifier
runrun number
parameterparameter name

Definition at line 98 of file JPMTRunsetupParams.hh.

◆ operator()()

result_type JDATABASE::JPMTRunsetupParams< int >::operator() ( const JUPI_t & upi) const
inlineinherited

Get PMT parameter value for given UPI of PMT.

Parameters
upiUPI
Returns
PMT parameter value

Definition at line 160 of file JPMTRunsetupParams.hh.


The documentation for this class was generated from the following file: