18#ifndef LARRAMPVALIDATIONALG_H
19#define LARRAMPVALIDATIONALG_H
59 virtual StatusCode
preLoop()
override;
const boost::regex ref(r_ef)
LArBadXCont< LArBadChannel > LArBadChannelCont
LArCalibValidationAlg< LArRampComplete, ILArRamp > LArRampValidationBase
Algorithm to validate LAr Autocorr;.
LArRampComplete::LArCondObj LArCondObj
unsigned m_nEntriesGlobal
LArRampValidationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Regular algorithm constructor.
CaloCellGroupList m_toleranceFEB
Ramp tolerance (FEB average) as initializer string CaloCellGroup object.
float m_rawrampTimeADC
Raw Ramp ADC (job-Property)
bool deviateFromAvg(const LArCondObj &val, const HWIdentifier chid, const int gain, const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont)
virtual StatusCode summary(const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) override
Summary method executed after the loop over all channels.
float m_rawrampTimeTolerance
Raw Ramp time tolerance (in ns) (job-Property)
bool m_hasRawRampContainer
To check if Raw Ramps are found.
std::unordered_map< Identifier, DataPerRegion > m_vDataPerSector
bool validateChannel(const LArCondObj &ref, const LArCondObj &val, const HWIdentifier chid, const int gain, const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) override final
Method to validate the ramps single readout channels.
CaloCellGroupList m_tolerance
Ramp tolerance as CaloCellGroup object.
LArCondObj getRefObj(const HWIdentifier chid, const int gain) const override final
Method implmented in derived class to get the reference object from ref-container.
std::vector< std::string > m_contKey
To store Gain Keys for Raw Ramps (job-Property)
bool febSummary(const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont)
Method to compare FEB averages.
std::vector< std::string > m_toleranceInitFEB
Ramp tolerance (FEB average) as CaloCellGroup object (job-Property)
virtual StatusCode preLoop() override
Executed before the loop over all channels to reset global sums.
std::vector< std::string > m_toleranceInit
Ramp tolerance as init string for CellGroupObject (job-Property)
std::unordered_map< HWIdentifier, DataPerRegion > m_vDataPerFEB
LArRawRampContainer * m_rawRampContainer