|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MdtCalibOutputDbScvH
6 #define MdtCalibOutputDbScvH
29 #include "GaudiKernel/ServiceHandle.h"
30 #include "GaudiKernel/ToolHandle.h"
40 class IMdtCalibrationOutput;
43 class MdtTubeFitContainer;
59 static const InterfaceID IID_IMdtCalibOutputDbSvc(
"MdtCalibOutputDbSvc", 1, 0);
60 return IID_IMdtCalibOutputDbSvc;
73 bool memorize(std::shared_ptr<const MuonCalib::IMdtCalibrationOutput>
result);
80 bool memorize(std::shared_ptr<const MuonCalib::IMdtCalibrationOutput>
result, std::shared_ptr<const MuonCalib::IRtResolution> resol);
94 std::shared_ptr<const MuonCalib::IMdtCalibrationOutput>
m_results;
108 ToolHandle<MuonCalib::ICalibrationIOTool>
m_calib_output_tool{
this,
"OutputTool",
"MuonCalib::CalibrationFileIOTool"};
116 "Key of input MuonDetectorManager condition data"};
bool m_postprocess_calibration
ToolHandle< MuonCalib::ICalibrationIOTool > m_calib_output_tool
ServiceHandle< MdtCalibInputSvc > m_input_service
ServiceHandle< RegionSelectionSvc > m_reg_sel_svc
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
method required by the base class which is need to obtain a pointer to the service in the standard wa...
bool memorize(std::shared_ptr< const MuonCalib::IMdtCalibrationOutput > result)
memorize the result of a particular calibration (given in result) for the calibration region "regionK...
void AddRunNumber(int run_number)
add a run number to the iov interval.
static const InterfaceID & interfaceID()
Methods required as defined in the base class "Service".
virtual StatusCode initialize()
initialize method as required by the base class
std::shared_ptr< const MuonCalib::IMdtCalibrationOutput > m_results
MdtCalibOutputDbSvc(const std::string &name, ISvcLocator *svc_locator)
Constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
double m_flat_default_resolution
std::vector< MuonCalib::NtupleStationId > m_region_ids
void create_default_resolution(const std::shared_ptr< const MuonCalib::IRtRelation > &rt)
StatusCode saveCalibrationResults()
write out all memorized results to text files (location specified in the job options) which can be up...
Holds single-tube full calibration information of one chamber.
virtual StatusCode finalize()
finalize method as required by the base class; the finalize method calls the method "save_calibration...
virtual ~MdtCalibOutputDbSvc()=default
Virtual destructor.
void reset()
reset, clear memory of results
std::shared_ptr< const MuonCalib::IRtResolution > m_resolution
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
static const MuonCalib::MdtTubeFitContainer * postprocess_t0s(const MuonCalib::MdtTubeFitContainer *new_t0, const MuonCalib::NtupleStationId &id)
bool m_force_default_resolution