ATLAS Offline Software
Loading...
Searching...
No Matches
TileRawChannelNNMaker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TILERECUTILS_TILERAWCHANNELNNMAKER_H
6#define TILERECUTILS_TILERAWCHANNELNNMAKER_H
9#include "TileNNEmulator.h"
13#include <atomic>
14
15class TileHWID;
16
23 public:
24 using AthReentrantAlgorithm::AthReentrantAlgorithm;
25 virtual ~TileRawChannelNNMaker() override = default;
26 virtual StatusCode initialize() override;
27 virtual StatusCode execute(const EventContext& ctx) const override;
28 virtual StatusCode finalize() override;
29
30 private:
31
33 "TileDigitsContainer", "TileDigitsCnt", "Input Tile digits container key"};
34
36 "TileRawChannelContainer", "TileRawChannelNN", "Output Tile raw channels container key"};
37
38 Gaudi::Property<std::string> m_weightsFile{this,
39 "WeightsFile", "TileRecUtils/TileRawChannelNN_w9_v1.json",
40 "PathResolver location of the network weights JSON"};
41
42 const TileHWID* m_tileHWID{nullptr};
44 double m_ampPerCode{0.0};
45 mutable std::atomic<unsigned int> m_nMissingGain{0};
46 mutable std::atomic<unsigned int> m_nBadNSamples{0};
47};
48
49#endif // TILERECUTILS_TILERAWCHANNELNNMAKER_H
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.
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.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Bit-exact software emulator of the TilePPr neural-network energy reconstruction.
Reconstructs Tile raw channel amplitudes with the neural network of the HL-LHC TilePPr firmware,...
virtual StatusCode finalize() override
virtual StatusCode initialize() override
SG::ReadHandleKey< TileDigitsContainer > m_digitsContainerKey
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Gaudi::Property< std::string > m_weightsFile
virtual ~TileRawChannelNNMaker() override=default
std::atomic< unsigned int > m_nBadNSamples
std::atomic< unsigned int > m_nMissingGain