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::JPMTHV Class Reference

Auxiliary class for PMT HVs. More...

#include <JPMTHV.hh>

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

Public Member Functions

 JPMTHV ()
 Default constructor.
 
 JPMTHV (const int id, const int run)
 Constructor.
 
void configure (const int id, const int run)
 Configure PMT HVs 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 HVs.

Definition at line 18 of file JPMTHV.hh.

Constructor & Destructor Documentation

◆ JPMTHV() [1/2]

JDATABASE::JPMTHV::JPMTHV ( )
inline

Default constructor.

Definition at line 29 of file JPMTHV.hh.

30 {}

◆ JPMTHV() [2/2]

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

Constructor.

Parameters
iddetector identifier
runrun number

Definition at line 39 of file JPMTHV.hh.

40 {
41 configure(id, run);
42 }
void configure(const int id, const int run)
Configure PMT HVs for given detector and run.
Definition JPMTHV.hh:51

Member Function Documentation

◆ configure() [1/2]

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

Configure PMT HVs for given detector and run.

Parameters
iddetector identifier
runrun number

Definition at line 51 of file JPMTHV.hh.

52 {
53 configure(id, run, PMT_HV_t);
54 }
const char *const PMT_HV_t
parameter name of PMT high voltage

◆ 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: