ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
MuonCalib::ICalibrationIOTool Class Referenceabstract

#include <ICalibrationIOTool.h>

Inheritance diagram for MuonCalib::ICalibrationIOTool:
Collaboration diagram for MuonCalib::ICalibrationIOTool:

Public Member Functions

virtual ~ICalibrationIOTool ()=default
 destructor More...
 
virtual StatusCode WriteT0 (const MdtTubeFitContainer *t0_output, const NtupleStationId &station_id, int iov_start, int iov_end)=0
 write out t0 More...
 
virtual StatusCode WriteRt (const RtCalibrationOutput *rt_relation, std::shared_ptr< const IRtResolution > resolution, const NtupleStationId &station_id, int iov_start, int iov_end, bool real_rt, bool real_resolution)=0
 write out rt relation More...
 
virtual StatusCode LoadT0 (std::map< NtupleStationId, MdtStationT0Container * > &t0s, int iov_id)=0
 load t0s for iov More...
 
virtual StatusCode LoadRt (std::map< NtupleStationId, IRtRelation * > &rts, std::map< NtupleStationId, IRtResolution * > &res, int iov_id)=0
 load rts for iov More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 interface method More...
 

Detailed Description

Definition at line 30 of file ICalibrationIOTool.h.

Constructor & Destructor Documentation

◆ ~ICalibrationIOTool()

virtual MuonCalib::ICalibrationIOTool::~ICalibrationIOTool ( )
virtualdefault

destructor

Member Function Documentation

◆ interfaceID()

static const InterfaceID& MuonCalib::ICalibrationIOTool::interfaceID ( )
inlinestatic

interface method

Definition at line 35 of file ICalibrationIOTool.h.

35  {
36  static const InterfaceID IID_CalibrationIOTool("MuonCalib::ICalibrationIOTool", 1, 0);
37  return IID_CalibrationIOTool;
38  }

◆ LoadRt()

virtual StatusCode MuonCalib::ICalibrationIOTool::LoadRt ( std::map< NtupleStationId, IRtRelation * > &  rts,
std::map< NtupleStationId, IRtResolution * > &  res,
int  iov_id 
)
pure virtual

load rts for iov

Parameters
rtsmap to be filled with rts
resmap to be filled with resolution
iov_idthe iov identifier, e.g. the run number. Note: This will, at the moment alwas be -1 (invalid). So the tool will have to determine the run number by itself (job option)

Implemented in MuonCalib::CalibrationDbIOTool, MuonCalib::CalibrationFileIOTool, MuonCalib::CalibrationTeeIOTool, and MuonCalib::CalibrationOracleFileIOTool.

◆ LoadT0()

virtual StatusCode MuonCalib::ICalibrationIOTool::LoadT0 ( std::map< NtupleStationId, MdtStationT0Container * > &  t0s,
int  iov_id 
)
pure virtual

load t0s for iov

Parameters
t0smap to be filled with the t0 data
iov_idthe iov identifier, e.g. the run number. Note: This will, at the moment alwas be -1 (invalid). So the tool will have to determine the run number by itself (job option)

Implemented in MuonCalib::CalibrationDbIOTool, MuonCalib::CalibrationFileIOTool, MuonCalib::CalibrationTeeIOTool, and MuonCalib::CalibrationOracleFileIOTool.

◆ WriteRt()

virtual StatusCode MuonCalib::ICalibrationIOTool::WriteRt ( const RtCalibrationOutput rt_relation,
std::shared_ptr< const IRtResolution resolution,
const NtupleStationId station_id,
int  iov_start,
int  iov_end,
bool  real_rt,
bool  real_resolution 
)
pure virtual

write out rt relation

Parameters
rt_relationthe rt relation
resolutionthe rt_resolution
station_idTHe station identifier
iov_startstart of the interval of validity
iov_endend of the interval of validity

Implemented in MuonCalib::CalibrationFileIOTool, MuonCalib::CalibrationDbIOTool, MuonCalib::CalibrationOracleFileIOTool, and MuonCalib::CalibrationTeeIOTool.

◆ WriteT0()

virtual StatusCode MuonCalib::ICalibrationIOTool::WriteT0 ( const MdtTubeFitContainer t0_output,
const NtupleStationId station_id,
int  iov_start,
int  iov_end 
)
pure virtual

write out t0

Parameters
t0_outputt0 data
station_idThe station/multilayer identifier
iov_startstart of the interval of validity
iov_endend of the interval of validity

Implemented in MuonCalib::CalibrationFileIOTool, MuonCalib::CalibrationDbIOTool, MuonCalib::CalibrationTeeIOTool, and MuonCalib::CalibrationOracleFileIOTool.


The documentation for this class was generated from the following file: