ATLAS Offline Software
Loading...
Searching...
No Matches
INtupleCalibrationTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MuonCalibStandAloneBase_INtupleCalibrationTool_H
6#define MuonCalibStandAloneBase_INtupleCalibrationTool_H
7
8// Gaudi
9#include "GaudiKernel/IAlgTool.h"
10
11// c - c++
12#include <memory>
13#include <string>
14#include <vector>
15
16namespace MuonCalib {
17
18 // calib
19
20 class MuonCalibEvent;
21 class MuonCalibSegment;
23 class NtupleStationId;
24 class IRtResolution;
28
29 class INtupleCalibrationTool : virtual public IAlgTool {
30 public:
32 virtual ~INtupleCalibrationTool() = default;
34 static const InterfaceID &interfaceID() {
35 static const InterfaceID IID_NtupleCalibrationTool("MuonCalib::NtupleCalibrationTool", 1, 0);
36 return IID_NtupleCalibrationTool;
37 }
38
39 virtual StatusCode handleEvent(std::shared_ptr<const MuonCalibEvent> & /*event*/, int /*evnt_nr*/,
40 const std::vector<std::shared_ptr<MuonCalibSegment>> & /*segments*/, unsigned int /*position*/) = 0;
42 virtual StatusCode analyseSegments(const std::vector<std::shared_ptr<MuonCalibSegment>> & /*segemnts*/) = 0;
44 virtual std::shared_ptr<IMdtCalibrationOutput> getResults() const = 0;
46 virtual std::shared_ptr<IRtResolution> getResolution() const = 0;
50 virtual bool KeepSegments() const { return true; }
51 };
52
53} // namespace MuonCalib
54
55#endif
Interface to pass calibration output during calibration.
virtual StatusCode handleEvent(std::shared_ptr< const MuonCalibEvent > &, int, const std::vector< std::shared_ptr< MuonCalibSegment > > &, unsigned int)=0
is called one per event, when the event is read
virtual StatusCode analyseSegments(const std::vector< std::shared_ptr< MuonCalibSegment > > &)=0
is called at the end of the analysis
virtual ~INtupleCalibrationTool()=default
destructor
virtual std::shared_ptr< IRtResolution > getResolution() const =0
get resolution
virtual std::shared_ptr< IMdtCalibrationOutput > getResults() const =0
get calibration results
static const InterfaceID & interfaceID()
interface method
virtual bool KeepSegments() const
return true if ther segment vector in analyseSegments is needed.
Generic interface to retrieve the resolution on the drift radius as a function of the drift time.
Container class storing all entries of the CalibrationNtuple.
A MuonCalibSegment is a reconstructed three dimensional track segment in the MuonSpectrometer.
Station Identifier for sorting calibration data.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.