#include <LUCID_DigiSettings.h>
Definition at line 19 of file LUCID_DigiSettings.h.
◆ LUCID_DigiSettings()
LUCID_DigiSettings::LUCID_DigiSettings |
( |
| ) |
|
◆ DefNewParameterDouble()
void LUCID_DigiSettings::DefNewParameterDouble |
( |
std::string |
parDescription, |
|
|
const std::string & |
parname, |
|
|
double * |
par, |
|
|
double |
low, |
|
|
double |
high |
|
) |
| |
|
private |
Definition at line 169 of file LUCID_DigiSettings.cxx.
176 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterDouble");
181 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterDouble");
186 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterDouble");
193 parD.parDescription = std::move(parDescription);
◆ DefNewParameterInt()
void LUCID_DigiSettings::DefNewParameterInt |
( |
std::string |
parDescription, |
|
|
const std::string & |
parname, |
|
|
int * |
par, |
|
|
int |
low, |
|
|
int |
high |
|
) |
| |
|
private |
Definition at line 202 of file LUCID_DigiSettings.cxx.
209 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterInt");
214 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterInt");
219 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterInt");
226 parI.parDescription = std::move(parDescription);
◆ GetDigiParDouble()
double LUCID_DigiSettings::GetDigiParDouble |
( |
const std::string & |
parname | ) |
|
◆ GetDigiParInt()
int LUCID_DigiSettings::GetDigiParInt |
( |
const std::string & |
parname | ) |
|
◆ Initialize()
void LUCID_DigiSettings::Initialize |
( |
IMessageSvc * |
msgSvc | ) |
|
◆ OverwriteDigiParProperties()
void LUCID_DigiSettings::OverwriteDigiParProperties |
( |
Gaudi::Algorithm * |
alg | ) |
|
Definition at line 50 of file LUCID_DigiSettings.cxx.
55 for (; doubleMapIt !=
m_doubleMap.end(); ++doubleMapIt)
alg->declareProperty(std::string(
"Overwrite_") + doubleMapIt->first, doubleMapIt->second.overwriteVal);
56 for (; intMapIt !=
m_intMap.end() ; ++intMapIt )
alg->declareProperty(std::string(
"Overwrite_") + intMapIt->first , intMapIt->second.overwriteVal);
◆ OverwriteDigiParValues()
void LUCID_DigiSettings::OverwriteDigiParValues |
( |
| ) |
|
Definition at line 59 of file LUCID_DigiSettings.cxx.
63 log << MSG::INFO <<
" OverwriteDigiParValues " <<
endmsg;
70 for (; doubleMapIt !=
m_doubleMap.end(); ++doubleMapIt) {
72 if (doubleMapIt->second.overwriteVal > doubleMapIt->second.low &&
73 doubleMapIt->second.overwriteVal < doubleMapIt->second.high) {
75 *(doubleMapIt->second.par) = doubleMapIt->second.overwriteVal;
77 log << MSG::INFO <<
" Overwriting: "
78 << doubleMapIt->second.parDescription <<
" to : "
79 << doubleMapIt->second.overwriteVal <<
endmsg;
86 for (; intMapIt !=
m_intMap.end(); ++intMapIt) {
88 if (intMapIt->second.overwriteVal > intMapIt->second.low &&
89 intMapIt->second.overwriteVal < intMapIt->second.high) {
91 *(intMapIt->second.par) = intMapIt->second.overwriteVal;
93 log << MSG::INFO <<
" Overwriting: "
94 << intMapIt->second.parDescription <<
" to : "
95 << intMapIt->second.overwriteVal <<
endmsg;
◆ Print()
void LUCID_DigiSettings::Print |
( |
| ) |
const |
Definition at line 101 of file LUCID_DigiSettings.cxx.
103 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::Print");
105 std::map <std::string, parDouble>::const_iterator doubleMapIt =
m_doubleMap.begin();
106 std::map <std::string, parInt>::const_iterator intMapIt =
m_intMap.begin();
108 log << MSG::INFO <<
"===================== Doubles ======================" <<
endmsg;
110 for (; doubleMapIt !=
m_doubleMap.end(); ++doubleMapIt)
111 log << MSG::INFO << doubleMapIt->second.parDescription <<
": " << *(doubleMapIt->second.par) <<
endmsg;
113 log << MSG::INFO <<
"===================== Integers ======================" <<
endmsg;
115 for (; intMapIt !=
m_intMap.end(); ++intMapIt)
116 log << MSG::INFO << intMapIt->second.parDescription <<
": " << *(intMapIt->second.par) <<
endmsg;
118 log << MSG::INFO <<
"=====================================================" <<
endmsg;
◆ SetDefaultValues()
void LUCID_DigiSettings::SetDefaultValues |
( |
| ) |
|
|
private |
◆ SetDigiParDouble()
void LUCID_DigiSettings::SetDigiParDouble |
( |
const std::string & |
parname, |
|
|
double |
parval |
|
) |
| |
◆ SetDigiParInt()
void LUCID_DigiSettings::SetDigiParInt |
( |
const std::string & |
parname, |
|
|
int |
parval |
|
) |
| |
◆ m_doubleMap
std::map<std::string, parDouble> LUCID_DigiSettings::m_doubleMap |
|
private |
◆ m_intMap
std::map<std::string, parInt> LUCID_DigiSettings::m_intMap |
|
private |
◆ m_msgSvc
IMessageSvc* LUCID_DigiSettings::m_msgSvc |
|
private |
◆ m_numTubes
int LUCID_DigiSettings::m_numTubes {} |
|
private |
◆ m_parValueNotSetByUserDouble
double LUCID_DigiSettings::m_parValueNotSetByUserDouble |
|
private |
◆ m_parValueNotSetByUserInt
int LUCID_DigiSettings::m_parValueNotSetByUserInt |
|
private |
◆ m_qdcChannelsPerPE
int LUCID_DigiSettings::m_qdcChannelsPerPE {} |
|
private |
◆ m_qdcFedNoiseFactor
double LUCID_DigiSettings::m_qdcFedNoiseFactor {} |
|
private |
◆ m_tdcFedNoiseFactor
double LUCID_DigiSettings::m_tdcFedNoiseFactor {} |
|
private |
◆ m_tdcPmtNoiseFactor
double LUCID_DigiSettings::m_tdcPmtNoiseFactor {} |
|
private |
The documentation for this class was generated from the following files: