5#ifndef NswCondTestAlg_H
6#define NswCondTestAlg_H
14#include "GaudiKernel/ServiceHandle.h"
31 virtual StatusCode
execute(
const EventContext &)
const override;
38 const std::string& side, std::chrono::duration<double>& timer)
const;
39 StatusCode
retrieveVmm(
const EventContext &,
const std::string &,
const std::string &, std::chrono::duration<double> &)
const;
40 StatusCode
retrieveT0(
const EventContext &, std::chrono::duration<double> &)
const;
44 this,
"ReadKey_tdopdo",
"NswCalibDbTimeChargeData",
45 "Key of NswCalibDbTimeChargeData object containing calibration data (TDOs and PDOs)"};
47 this,
"ReadKey_vmm",
"NswCalibDbThresholdData",
48 "Key of NswCalibDbThresholdData object containing calibration data (VMM thresholds)"};
53 Gaudi::Property<std::string>
m_logName{
this,
"LogName",
"LogFile",
"Name of the log file. The file creating the TimeCharge log will be called <LogName>_TDO.txt, the other will be <LogName>_vmm.txt"};
54 Gaudi::Property<bool>
m_isMC {
this,
"isMC",
false,
"flagging the input type"};
char data[hepevt_bytes_allocation_ATLAS]
An algorithm that can be simultaneously executed in multiple threads.
StatusCode retrieveT0(const EventContext &, std::chrono::duration< double > &) const
virtual StatusCode initialize() override
SG::ReadCondHandleKey< NswCalibDbThresholdData > m_readKey_vmm
virtual ~NswCondTestAlg() override
Gaudi::Property< bool > m_isMC
StatusCode retrieveVmm(const EventContext &, const std::string &, const std::string &, std::chrono::duration< double > &) const
SG::ReadCondHandleKey< NswT0Data > m_readKey_t0
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode retrieveTdoPdo(const EventContext &ctx, TimeChargeType data, const std::string &tech, const std::string &side, std::chrono::duration< double > &timer) const
std::string timestamp() const
virtual StatusCode execute(const EventContext &) const override
NswCalibDbTimeChargeData::CalibDataType TimeChargeType
NswCondTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< std::string > m_logName
SG::ReadCondHandleKey< NswCalibDbTimeChargeData > m_readKey_tdopdo
MuonCond::CalibTechType TimeTech