#include <LUCID_DigiSettings.h>
Definition at line 17 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 167 of file LUCID_DigiSettings.cxx.
174 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterDouble");
179 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterDouble");
184 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterDouble");
191 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 200 of file LUCID_DigiSettings.cxx.
207 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterInt");
212 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterInt");
217 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::DefNewParameterInt");
224 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 48 of file LUCID_DigiSettings.cxx.
53 for (; doubleMapIt !=
m_doubleMap.end(); ++doubleMapIt)
alg->declareProperty(std::string(
"Overwrite_") + doubleMapIt->first, doubleMapIt->second.overwriteVal);
54 for (; intMapIt !=
m_intMap.end() ; ++intMapIt )
alg->declareProperty(std::string(
"Overwrite_") + intMapIt->first , intMapIt->second.overwriteVal);
◆ OverwriteDigiParValues()
| void LUCID_DigiSettings::OverwriteDigiParValues |
( |
| ) |
|
Definition at line 57 of file LUCID_DigiSettings.cxx.
68 for (; doubleMapIt !=
m_doubleMap.end(); ++doubleMapIt) {
70 if (doubleMapIt->second.overwriteVal > doubleMapIt->second.low &&
71 doubleMapIt->second.overwriteVal < doubleMapIt->second.high) {
73 *(doubleMapIt->second.par) = doubleMapIt->second.overwriteVal;
76 << doubleMapIt->second.parDescription <<
" to : "
77 << doubleMapIt->second.overwriteVal <<
endmsg;
84 for (; intMapIt !=
m_intMap.end(); ++intMapIt) {
86 if (intMapIt->second.overwriteVal > intMapIt->second.low &&
87 intMapIt->second.overwriteVal < intMapIt->second.high) {
89 *(intMapIt->second.par) = intMapIt->second.overwriteVal;
92 << intMapIt->second.parDescription <<
" to : "
93 << intMapIt->second.overwriteVal <<
endmsg;
◆ Print()
| void LUCID_DigiSettings::Print |
( |
| ) |
const |
Definition at line 99 of file LUCID_DigiSettings.cxx.
101 MsgStream
log(
m_msgSvc,
"LUCID_DigiSettings::Print");
103 std::map <std::string, parDouble>::const_iterator doubleMapIt =
m_doubleMap.begin();
104 std::map <std::string, parInt>::const_iterator intMapIt =
m_intMap.begin();
108 for (; doubleMapIt !=
m_doubleMap.end(); ++doubleMapIt)
109 log <<
MSG::INFO << doubleMapIt->second.parDescription <<
": " << *(doubleMapIt->second.par) <<
endmsg;
111 log <<
MSG::INFO <<
"===================== Integers ======================" <<
endmsg;
113 for (; intMapIt !=
m_intMap.end(); ++intMapIt)
114 log <<
MSG::INFO << intMapIt->second.parDescription <<
": " << *(intMapIt->second.par) <<
endmsg;
116 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: