Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/MsgStream.h"
16 #include "GaudiKernel/ISvcLocator.h"
32 m_onlineHelper(nullptr)
42 return StatusCode::SUCCESS;
56 std::vector<int> badChan;
66 for (
int i=0;
i<3;
i++){
67 avg[
i] = 0.; numChan[
i] = 0;
72 chid =
it.channelId();
81 <<
" amp " <<
it->m_vRamp[1] );
88 chid =
it.channelId();
100 for (
int i=0;
i<3;
i++)
101 if (numChan[
i] != 0 &&
avg[
i] != 0.0)
102 avg[
i] /= numChan[
i];
107 <<
" 3: " <<
avg[2] );
108 ATH_MSG_DEBUG (
"NumChan modules 1: " << numChan[0] <<
" 2: " << numChan[1]
109 <<
" 3: " << numChan[2] );
113 chid =
it.channelId();
128 <<
" Slot " << slot <<
" Chan " <<
channel
129 <<
" No normalization applied." );
135 return StatusCode::SUCCESS;
140 if (slot == 9 || (slot > 0 && slot < 8))
142 else if (slot >= 10 && slot < 14)
144 else if (slot == 14 || slot == 15)
def retrieve(aClass, aKey=None)
static int toMod(int &slot)
std::string find(const std::string &s)
return a remapped string
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Declaration of const iterator.
Persistent data for LArRamp Copied from LAr.
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
#define ATH_MSG_VERBOSE(x)
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
std::vector< float > m_vRamp
bool isFCALchannel(const HWIdentifier id) const
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
LArRampFCalCorr(const std::string &name, ISvcLocator *pSvcLocator)
ConstConditionsMapIterator end(unsigned int gain) const
end of all channels for this gain
::StatusCode StatusCode
StatusCode definition for legacy code.
ConstConditionsMapIterator begin(unsigned int gain) const
get iterator for all channels for a gain
const LArOnlineID * m_onlineHelper
constexpr int pow(int base, int exp) noexcept