5#ifndef TRTCONDITIONSALGS_TRTCONDWRITE_H
6#define TRTCONDITIONSALGS_TRTCONDWRITE_H
16#include "GaudiKernel/ToolHandle.h"
17#include "GaudiKernel/IInterface.h"
18#include "GaudiKernel/ServiceHandle.h"
19#include "GaudiKernel/ICondSvc.h"
27#include "GaudiKernel/EventIDRange.h"
40 TRTCondWrite(
const std::string &name, ISvcLocator *pSvcLocator);
45 virtual StatusCode
execute(
const EventContext& ctx)
const override;
46 virtual StatusCode
finalize(
void)
override;
53 virtual StatusCode
readTextFile(
const EventContext& ctx,
const std::string &
file,
int &format)
const;
61 Gaudi::Property<std::string>
m_par_caltextfile{
this,
"CalibInputFile",
"dummy_TRTCondWrite.txt",
""};
Base class for conditions algorithms.
defines an "iterator" over instances of a given type in StoreGateSvc
Class for storing/accessing trt rtrelations with channels 1;95;0c.
This is an Identifier helper class for the TRT subdetector.
Base class for conditions algorithms.
TRTCondWrite(const std::string &name, ISvcLocator *pSvcLocator)
constructor
virtual TRTCond::ExpandedIdentifier trtcondid(const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const
create an TRTCond::ExpandedIdentifier from a TRTID identifier
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode checkTextFile(const std::string &file, int &format)
read calibration from text file into TDS
TRTCond::StrawT0MultChanContainer StrawT0Container
Gaudi::Property< std::string > m_par_caltextfile
SG::WriteCondHandleKey< StrawT0Container > m_t0WriteKey
virtual StatusCode initialize(void) override
virtual ~TRTCondWrite() override=default
destructor
const TRT_ID * m_trtid
trt id helper
ServiceHandle< ICondSvc > m_condSvc
virtual EventIDRange IOVInfRange() const
virtual StatusCode readTextFile_Format1(const EventContext &, std::istream &) const
SG::WriteCondHandleKey< RtRelationContainer > m_rtWriteKey
TRTCond::RtRelationMultChanContainer RtRelationContainer
virtual StatusCode finalize(void) override
virtual StatusCode readTextFile(const EventContext &ctx, const std::string &file, int &format) const
Identifier for TRT detector elements in the conditions code.
Multichannel container for RtRelation objects.
A COOL Multichannel container for StrawT0 objects.
This is an Identifier helper class for the TRT subdetector.