6#ifndef MUON_MDTSEGMENTT0FITTER_H
7#define MUON_MDTSEGMENTT0FITTER_H
10#include "GaudiKernel/ToolHandle.h"
11#include "GaudiKernel/ServiceHandle.h"
31 virtual StatusCode
finalize()
override;
41 "Conditions object containing the calibrations"};
45 Gaudi::Property<bool>
m_rejectWeakTopologies{
this,
"RejectWeakTopologies",
true,
"reject topolgies that do not have at least one +- combination in one multilayer"};
46 Gaudi::Property<bool>
m_scaleErrors{
this,
"RescaleErrors",
true,
"rescale errors in fit"};
48 Gaudi::Property<int>
m_minHits{
this,
"MinimumHits",4,
"minimum number of selected hits for t0 fit. Otherwise use default"};
49 Gaudi::Property<float>
m_dRTol{
this,
"dRTolerance",0.1};
51 Gaudi::Property<bool>
m_floatDir{
this,
"FloatSegDirection",
false,
52 "If set to true, the line of the segment is simultaenously fitted with t0"};
Interface for tools resolving ambigueties and remove outliers in Muon::MuonSegment objects.
std::atomic_uint m_npassedNHits
Gaudi::Property< bool > m_rejectWeakTopologies
Gaudi::Property< bool > m_floatDir
std::atomic_uint m_npassedNSelectedHits
Gaudi::Property< int > m_minHits
virtual StatusCode finalize() override
virtual ~MdtSegmentT0Fitter()=default
std::atomic_uint m_ntotalCalls
virtual StatusCode initialize() override
Gaudi::Property< bool > m_scaleErrors
virtual const DCSLFitter * getFitter() const override
fitter factory
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual bool fit(Segment &result, const Line &line, const DCOnTrackVec &dcs, double t0Seed) const override
MdtSegmentT0Fitter(const std::string &, const std::string &, const IInterface *)
Gaudi::Property< bool > m_propagateErrors
std::atomic_uint m_npassedSelectionConsistency
std::atomic_uint m_npassedMinuitFit
std::atomic_uint m_npassedMinHits
Gaudi::Property< float > m_dRTol
SG::ReadCondHandleKey< MuonCalib::MdtCalibDataContainer > m_calibDbKey
const std::string selection
Function object to check whether two Segments are sub/super sets or different.
std::vector< bool > HitSelection
std::vector< DCOnTrack > DCOnTrackVec