|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCONDALG_sTgcDigitEffiCondAlg_H
6 #define MUONCONDALG_sTgcDigitEffiCondAlg_H
16 #include <nlohmann/json.hpp>
41 "Folder of the STGC efficiencies as they're stored in COOL"};
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual ~sTgcDigitEffiCondAlg()=default
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Gaudi::Property< std::string > m_readFromJSON
Load the gasGap efficiencies from a JSON file.
sTgcDigitEffiCondAlg(const std::string &name, ISvcLocator *svc)
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
AthROOTErrorHandlerSvc * svc
virtual bool isReEntrant() const override
StatusCode parseDataFromJSON(const nlohmann::json &lines, Muon::DigitEffiData &effiData) const
Parse efficiency data from COOL.
SG::WriteCondHandleKey< Muon::DigitEffiData > m_writeKey
virtual StatusCode execute(const EventContext &ctx) const override
Conditions algorithm to load the sTGC efficiency constants that are used in digitization.
virtual StatusCode initialize() override
Gaudi::Property< double > m_defaultEffi