 |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "Identifier/Identifier.h"
22 m_noisyROTool(
"LArNoisyROTool",this)
39 return StatusCode::SUCCESS;
49 const std::set<unsigned int> knownBadFEBs;
50 const std::vector<HWIdentifier> knownMNBFEBs;
54 return StatusCode::SUCCESS;
57 const EventIDBase& EIHandle = ctx.eventID();
58 long int thisTimeStamp = (EIHandle).time_stamp();
59 long int thisTimeStampns = (EIHandle).time_stamp_ns_offset();
60 uint32_t thisLB = (EIHandle).lumi_block();
61 unsigned long long thisEv = (EIHandle).event_number();
62 ATH_MSG_DEBUG (
name() <<
" processing EN : " << thisEv <<
" in LB : " << thisLB <<
" TS : " << thisTimeStamp <<
" TSNS : " << thisTimeStampns );
64 std::set<unsigned int> bf;
65 std::vector<HWIdentifier> MNBfeb;
82 MNBfeb.emplace_back(
i->first);
134 if ( badFEBFlag || badFEBFlag_W || badSaturatedTightCut || MNBLooseCut || MNBTightCut || MNBTight_PsVetoCut || badHVlinesFlag )
137 bool failSetWARN=
false;
138 bool failSetWARNREASON=
false;
146 if ( badFEBFlag_W ) {
153 if ( badSaturatedTightCut ){
164 if ( MNBTight_PsVetoCut ) {
174 if ( badHVlinesFlag ) {
179 if (failSetWARN)
ATH_MSG_WARNING(
"Failure during EventInfo::setEventErrorState(EventInfo::LAR,EventInfo::WARNING)" );
180 if (failSetWARNREASON)
ATH_MSG_WARNING(
"Failure during setEventFlagBit(EventInfo::LAr,...)" );
183 return StatusCode::SUCCESS;
188 return StatusCode::SUCCESS;
uint8_t MNBTight_PsVetoFlaggedPartitions() const
SG::ReadHandleKey< CaloCellContainer > m_CaloCellContainerName
const_pointer_type cptr()
Dereference the pointer.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
uint8_t SatTightFlaggedPartitions() const
virtual StatusCode initialize() override
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
@ LAr
The LAr calorimeter.
@ Error
The sub-detector issued an error.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< LArNoisyROSummary > m_outputKey
uint8_t MNBTightFlaggedPartitions() const
@ MININOISEBURSTTIGHT_PSVETO
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< LArHVNMap > m_hvMapKey
Handle class for adding a decoration to an object.
uint8_t MNBLooseFlaggedPartitions() const
BadChanVec::const_iterator const_iterator
SG::ReadCondHandleKey< LArBadFebCont > m_knownMNBFEBsVecKey
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
virtual bool isValid() override final
Can the handle be successfully dereferenced?
ToolHandle< ILArNoisyROTool > m_noisyROTool
Gaudi::Property< bool > m_isMC
LArNoisyROAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
StatusCode initialize(bool used=true)
SG::ReadCondHandleKey< LArBadFebCont > m_knownBadFEBsVecKey
@ Warning
The sub-detector issued a warning.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
This class provides the client interface for accessing the detector description information common to...
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
uint8_t BadFEB_WFlaggedPartitions() const
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
uint8_t HVlineFlaggedPartitions() const
virtual StatusCode finalize() override
const_iterator begin() const
Access to the begin iterator of the underlying vector.
uint8_t BadFEBFlaggedPartitions() const
const_iterator end() const
Access to the end iterator of the underlying vector.