|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARROD_LARFEBERRORSUMMARYMAKER
6 #define LARROD_LARFEBERRORSUMMARYMAKER
18 #include <GaudiKernel/ServiceHandle.h>
19 #include <GaudiKernel/ToolHandle.h>
56 mutable std::array<unsigned, LArFebErrorSummary::N_LArFebErrorType> m_errors
ATLAS_THREAD_SAFE;
73 Gaudi::Property<int>
m_warnLimit{
this,
"warnLimit", 10,
"Limit the number of warning messages for missing input" };
74 Gaudi::Property<bool>
m_checkAllFeb{
this,
"CheckAllFEB",
true,
"Check all FEBS ?" };
75 Gaudi::Property<std::string>
m_partition{
this,
"PartitionId",
"",
"Should contain DAQ partition (+ eventually the EventBuilder)" };
76 Gaudi::Property<std::set<unsigned int> >
m_knownEvtId{
this,
"MaskFebEvtId", {},
"ignore these FEBs for EvtId" };
77 Gaudi::Property<std::set<unsigned int> >
m_knownSCACStatus{
this,
"MaskFebScacStatus", {},
"ignore these FEBs for ScacStatus" };
78 Gaudi::Property<std::set<unsigned int> >
m_knownZeroSample{
this,
"MaskFebZeroSample", {},
"ignore these FEBs for ZeroSample" };
84 "Minimum number of FEBs in error to trigger EventInfo::LArError (1 by default/bulk, 4 in online/express"};
93 static bool masked (
unsigned int hid,
const std::set<unsigned int>& v_feb) ;
Property holding a SG store/key/clid from which a ReadHandle is made.
std::atomic< int > m_missingFebsWarns
SG::ReadCondHandleKey< LArBadFebCont > m_bfKey
SG::WriteHandleKey< LArFebErrorSummary > m_writeKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Gaudi::Property< std::set< unsigned int > > m_knownSCACStatus
Gaudi::Property< bool > m_checkAllFeb
static bool masked(unsigned int hid, const std::set< unsigned int > &v_feb)
bool const RAWDATA *ch2 const
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< std::set< unsigned int > > m_knownZeroSample
AthReentrantAlgorithm()
Default constructor:
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::set< unsigned int > > m_knownEvtId
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
virtual StatusCode finalize() override final
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual ~LArFebErrorSummaryMaker()=default
std::map< unsigned, unsigned > m_errsPerFeb ATLAS_THREAD_SAFE
Gaudi::Property< int > m_warnLimit
const LArOnlineID * m_onlineHelper
Gaudi::Property< int > m_minFebsInError
Minimum number of FEBs in error to trigger EventInfo::LArError Defined as 1 by default/bulk,...
std::set< unsigned int > m_all_febs
virtual StatusCode initialize() override final
SG::ReadHandleKey< LArFebHeaderContainer > m_readKey
Gaudi::Property< std::string > m_partition
Define macros for attributes used to control the static checker.
std::array< unsigned, LArFebErrorSummary::N_LArFebErrorType > m_errors ATLAS_THREAD_SAFE
virtual StatusCode execute(const EventContext &ctx) const override final