ATLAS Offline Software
Loading...
Searching...
No Matches
LArBadChanBitPacking.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6
8{
9 // Here, specify each problem and its gain dependence.
35
36 for (unsigned int i=0; i<m_enumVec.size(); i++) {
37 m_nameMap[m_nameVec[i]] = m_enumVec[i].first;
40 m_bitPos[m_enumVec[i].first] = m_enumVec[i].first;
41
42 m_index[m_enumVec[i].first] = i;
43 }
44
45 initMasks(); // initialize the gain masks
46};
47
49{
50 // Here, specify each problem and its gain dependence.
72 for (unsigned int i=0; i<m_enumVec.size(); i++) {
73 m_nameMap[m_nameVec[i]] = m_enumVec[i].first;
76 m_bitPos[m_enumVec[i].first] = m_enumVec[i].first;
77
78 m_index[m_enumVec[i].first] = i;
79 }
80
81 initMasks(); // initialize the gain masks
82}
83
TLArBadChanBitPackingBase< LArBadChannel::LArBadChannelEnum > LArBadChanBitPackingBase
TLArBadChanBitPackingBase< LArBadChannel::LArBadChannelSCEnum > LArBadChanSCBitPackingBase
std::vector< std::pair< typename LArBadChannel::LArBadChannelEnum::ProblemType, GainDependence > > m_enumVec
void addBit(typename LArBadChannel::LArBadChannelEnum::ProblemType pb, const std::string &name, GainDependence gaindep)
std::map< std::string, typename LArBadChannel::LArBadChannelEnum::ProblemType > m_nameMap