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(
void)
override;
46 virtual StatusCode
finalize(
void)
override;
61 Gaudi::Property<std::string>
m_par_caltextfile{
this,
"CalibInputFile",
"dummy_TRTCondWrite.txt",
""};
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.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
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 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
virtual StatusCode readTextFile_Format1(std::istream &)
virtual StatusCode execute(void) override
virtual StatusCode readTextFile(const std::string &file, int &format)
ServiceHandle< ICondSvc > m_condSvc
virtual EventIDRange IOVInfRange() const
SG::WriteCondHandleKey< RtRelationContainer > m_rtWriteKey
TRTCond::RtRelationMultChanContainer RtRelationContainer
virtual StatusCode finalize(void) override
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.