|
ATLAS Offline Software
|
Go to the documentation of this file.
59 return StatusCode::FAILURE;
62 return StatusCode::SUCCESS;
79 return StatusCode::FAILURE;
81 const size_t currSize=cont->
size();
89 return StatusCode::FAILURE;
102 if (
sc.isFailure()) {
104 return StatusCode::FAILURE;
106 const size_t currSize=cont->
size();
113 return StatusCode::FAILURE;
127 if (
sc.isFailure()) {
129 return StatusCode::FAILURE;
131 const size_t currSize=cont->
size();
139 return StatusCode::FAILURE;
150 if (
sc.isFailure()) {
155 const std::map<unsigned int,uint16_t>& allFebErrs=febErrSum->
get_all_febs();
156 std::map<unsigned int,uint16_t>::const_iterator
it=allFebErrs.begin();
157 std::map<unsigned int,uint16_t>::const_iterator it_e=allFebErrs.end();
158 for(;
it!=it_e;++
it) {
159 if (
it->second & 0xEFFF) {
168 msg() << msglvl <<
eventDetails() <<
"FEB 0x" << std::hex <<
it->first <<
" reports the following error(s): "
175 return StatusCode::FAILURE;
182 return StatusCode::SUCCESS;
192 result <<
"[No EventInfo]";
206 return StatusCode::FAILURE;
209 return StatusCode::SUCCESS;
220 result+=
"BCID Mismatch, ";
222 result+=
"Sample Header Error, ";
228 result+=
"SCA out of range, ";
230 result+=
"Gain Mismatch, ";
234 result+=
"Number of Samples Mismatch, ";
236 result+=
"Empty Data Block, ";
238 result+=
"DSP Block Size, ";
240 result+=
"Checksum error, ";
242 result+=
"Missing Header, ";
const std::map< unsigned int, uint16_t > & get_all_febs() const
get all febs with error
uint64_t eventNumber() const
The current event's event number.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::size_t m_nAccCalibDigits
std::string eventDetails() const
LArBadEventCatcher(const std::string &name, ISvcLocator *pSvcLocator)
uint32_t runNumber() const
The current event's run number.
Algorithm to catch corrupt events and stop the job.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool m_checkAccCalibDigits
std::size_t m_nFebheaders
Class describing the basic event information.
#define ATH_MSG_WARNING(x)
Holds information from the FEB Error Summary.
std::string decipherFebError(const uint32_t errword) const
Container class for LArDigit.
std::vector< std::string > m_keyList
std::string channel_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
Container class for LArAccumulatedCalibDigit.
const LArOnlineID * m_onlineID
size_type size() const noexcept
Returns the number of elements in the collection.