#include <NswCalibDbThresholdData.h>
Definition at line 21 of file NswCalibDbThresholdData.h.
◆ ChannelMap
◆ ZeroMap
◆ ThrsldTechType
◆ NswCalibDbThresholdData()
◆ ~NswCalibDbThresholdData()
virtual NswCalibDbThresholdData::~NswCalibDbThresholdData |
( |
| ) |
|
|
virtualdefault |
◆ getChannelIds()
std::vector< Identifier > NswCalibDbThresholdData::getChannelIds |
( |
const std::string |
tech = "" , |
|
|
const std::string |
side = "" |
|
) |
| const |
Definition at line 41 of file NswCalibDbThresholdData.cxx.
42 std::vector<Identifier>
keys;
45 keys.emplace_back(
p.first);
48 if(tech.empty() &&
side.empty())
return keys;
49 std::vector<Identifier> chnls;
51 for(
unsigned int i=0;
i<
keys.size(); ++
i){
55 if(!isSTGC && tech ==
"STGC")
continue;
56 if(!isMM && tech ==
"MM")
continue;
57 if(
eta<=0 &&
side ==
"A")
continue;
58 if(
eta>=0 &&
side ==
"C")
continue;
59 chnls.push_back(
keys[
i]);
◆ getThreshold()
bool NswCalibDbThresholdData::getThreshold |
( |
const Identifier & |
chnlId, |
|
|
float & |
threshold |
|
) |
| const |
For the moment require that there is only one channel per identifier
Definition at line 66 of file NswCalibDbThresholdData.cxx.
70 if(chan_itr !=
m_data.end() && chan_itr->second.size() == 1) {
77 ZeroMap::const_iterator zero_itr =
m_zero.find(tech);
78 if (zero_itr !=
m_zero.end()) {
◆ setData()
◆ setZero()
◆ NswCalibDbAlg
◆ m_data
◆ m_mmIdHelper
◆ m_stgcIdHelper
◆ m_zero
ZeroMap NswCalibDbThresholdData::m_zero {} |
|
private |
The documentation for this class was generated from the following files: