ATLAS Offline Software
Loading...
Searching...
No Matches
TrigLArNoiseBurstRecoAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGCALOHYPO_TRIGLARNOISEBURSTHYPOALG
5#define TRIGCALOHYPO_TRIGLARNOISEBURSTHYPOALG
6
7#include <string>
8#include <mutex>
9
10#include "GaudiKernel/ToolHandle.h"
19
20namespace hltinterface{
21 class GenericHLTContainer;
22}
23
24
30 public:
31
32 TrigLArNoiseBurstRecoAlg( const std::string& name, ISvcLocator* pSvcLocator );
33
34 virtual StatusCode initialize() override;
35 virtual StatusCode execute( const EventContext& context ) const override;
36
37 private:
38 SG::ReadHandleKey<CaloCellContainer > m_cellContainerKey { this, "CellContainerKey", "CellsClusters","SG Key of cells"};
39 SG::ReadCondHandleKey<LArBadFebCont> m_knownBadFEBsVecKey {this, "BadFEBsKey", "LArKnownBadFEBs", "key to read the known Bad FEBs"};
40 SG::ReadCondHandleKey<LArBadFebCont> m_knownMNBFEBsVecKey {this, "MNBFEBsKey", "LArKnownMNBFEBs", "key to read the known MNB FEBs"};
41 SG::WriteHandleKey<bool> m_noiseBurstDetected{this, "NoiseBurstKey", "HLT_NoiseBurst", "Flag which records if a noise burst was detected in the event"};
42
43 ToolHandle<ILArNoisyROTool> m_noisyROTool {this, "Tool", "LArNoisyROTool", "Noise Burst Calculation Tool"};
44
45 Gaudi::Property< bool > m_badFEBFlaggedPartitions { this, "BadFEBFlaggedPartitions" , true, "flag to be used for NB detection" };
46 Gaudi::Property< bool > m_satTightFlaggedPartitions { this, "SatTightFlaggedPartitions", true, "flag to be used for NB detection" };
47 Gaudi::Property< bool > m_mNBLooseFlaggedPartitions { this, "MNBLooseFlaggedPartitions", true, "flag to be used for NB detection" };
48 Gaudi::Property< bool > m_mNBTightFlaggedPartitions { this, "MNBTightFlaggedPartitions", true, "flag to be used for NB detection" };
49 Gaudi::Property< bool > m_mNBTight_PsVetoFlaggedPartitions{ this, "MNBTight_PsVetoFlaggedPartitions", true, "flag to be used for NB detection" };
50
51 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
52 unsigned int m_mask{0};
53
54 // lock for IS publishing
55 mutable std::mutex m_pubIS_mtx;
56 std::shared_ptr<hltinterface::GenericHLTContainer> m_IsObject;
57
59 long int m_publishTime{};
60 std::string m_name_of_is;
61 size_t m_evntPos{};
62 size_t m_timeTagPos{};
64 mutable long int m_timeTagPosRec ATLAS_THREAD_SAFE{};
65};
66#endif
Maintain a set of objects, one per slot.
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode initialize() override
Gaudi::Property< bool > m_satTightFlaggedPartitions
SG::WriteHandleKey< bool > m_noiseBurstDetected
Gaudi::Property< bool > m_mNBTight_PsVetoFlaggedPartitions
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
ToolHandle< ILArNoisyROTool > m_noisyROTool
SG::ReadCondHandleKey< LArBadFebCont > m_knownBadFEBsVecKey
Gaudi::Property< bool > m_mNBTightFlaggedPartitions
SG::ReadCondHandleKey< LArBadFebCont > m_knownMNBFEBsVecKey
std::shared_ptr< hltinterface::GenericHLTContainer > m_IsObject
Gaudi::Property< bool > m_badFEBFlaggedPartitions
virtual StatusCode execute(const EventContext &context) const override
TrigLArNoiseBurstRecoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_mNBLooseFlaggedPartitions
long int m_timeTagPosRec ATLAS_THREAD_SAFE