ATLAS Offline Software
Loading...
Searching...
No Matches
LArCelldeadOTXTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARCELLREC_LArCelldeadOTXTool_H
6#define LARCELLREC_LArCelldeadOTXTool_H
7
8
16
18
19class LArCelldeadOTXTool : public extends<AthAlgTool, ICaloCellMakerTool> {
20public:
21 using base_class::base_class;
22
24 virtual StatusCode initialize() override final;
25 virtual StatusCode finalize() override final;
26 //Implements the ICaloCellMaker interface
27 virtual StatusCode process(CaloCellContainer* cellCollection, const EventContext& ctx) const override final;
28
29 private:
30 SG::ReadHandleKey<LArRawSCContainer> m_SCKey{this, "keySC", "SC_ET","Key for SuperCells container"};
31 SG::ReadCondHandleKey<LArDeadOTXCorrFactors> m_factors{this,"SCFactors","LArDeadOTXCorrFactors"};
32 Gaudi::Property<int> m_scCut{this,"SCEneCut",70,"Do not use super-cells with values below this cut"};
33 Gaudi::Property<bool> m_testMode{this,"TestMode",false};
34
35 mutable std::unordered_map<int,std::pair<float,int> > m_testMap ATLAS_THREAD_SAFE; //Only used in testMode + mtx-protected
36 mutable std::mutex m_mtx;
37
38 mutable std::atomic<int> m_nWarnings{0};
39
40};
41
42#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Container class for CaloCell.
SG::ReadHandleKey< LArRawSCContainer > m_SCKey
std::unordered_map< int, std::pair< float, int > > m_testMap ATLAS_THREAD_SAFE
Gaudi::Property< bool > m_testMode
virtual StatusCode finalize() override final
virtual StatusCode process(CaloCellContainer *cellCollection, const EventContext &ctx) const override final
virtual StatusCode initialize() override final
std::atomic< int > m_nWarnings
Gaudi::Property< int > m_scCut
SG::ReadCondHandleKey< LArDeadOTXCorrFactors > m_factors
~LArCelldeadOTXTool()=default
Container class for LArRawSC.
Forward declaration.
#define private