![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef DenseEnvironmentsAmbiguityProcessorTool_H
6 #define DenseEnvironmentsAmbiguityProcessorTool_H
60 std::vector<std::unique_ptr<const Trk::Track> >& trackDustbin,
69 virtual std::unique_ptr<Trk::Track>
73 std::unique_ptr<Trk::Track>
74 fit(
const std::vector<const Trk::PrepRawData*> &raw,
77 std::unique_ptr<Trk::Track>
78 fit(
const std::vector<const Trk::MeasurementBase*> &measurements,
81 std::unique_ptr<Trk::Track>
91 {
this,
"AssociationTool",
"InDet::InDetPRDtoTrackMapToolGangedPixels" };
95 {
this,
"AssociationMapName",
""};
100 {
this,
"SelectionTool",
"InDet::InDetDenseEnvAmbiTrackSelectionTool/InDetAmbiTrackSelectionTool"};
103 PublicToolHandle<Trk::ITrkObserverTool>
m_observerToolWriter{
this,
"ObserverToolWriter",
"",
"track observer writer within ambiguity solver"};
109 BooleanProperty
m_keepHolesFromBeforeFit{
this,
"KeepHolesFromBeforeRefit",
false,
"Restore hole information from input tracks after refit"};
112 inline std::unique_ptr<Trk::Track>
116 std::unique_ptr<Trk::Track> newTrack;
117 for (
const ToolHandle<ITrackFitter> &thisFitter :
m_fitterTool) {
118 newTrack=(thisFitter->fit(Gaudi::Hive::currentContext(),raw, param,
flag,hypo));
122 ATH_MSG_WARNING(
"The track fitter, " << thisFitter->name() <<
", produced a track with an invalid covariance matrix." );
126 newTrack.reset(
nullptr);
131 inline std::unique_ptr<Trk::Track>
136 std::unique_ptr<Trk::Track> newTrack;
137 for (
const ToolHandle<ITrackFitter> &thisFitter :
m_fitterTool) {
138 newTrack=thisFitter->fit(Gaudi::Hive::currentContext(),measurements, param,
flag, hypo);
142 ATH_MSG_WARNING(
"The track fitter, " << thisFitter->name() <<
", produced a track with an invalid covariance matrix." );
146 newTrack.reset(
nullptr);
151 inline std::unique_ptr<Trk::Track>
153 std::unique_ptr<Trk::Track> newTrack;
154 for (
const ToolHandle<ITrackFitter> &thisFitter :
m_fitterTool) {
155 newTrack=(thisFitter->fit(Gaudi::Hive::currentContext(),
track,
flag, hypo));
159 ATH_MSG_WARNING(
"The track fitter, " << thisFitter->name() <<
", produced a track with an invalid covariance matrix." );
164 newTrack.reset(
nullptr);
172 #endif // TrackAmbiguityProcessorTool_H
AmbiCounter< CounterIndex > Counter
::StatusCode StatusCode
StatusCode definition for legacy code.
Ensure that the ATLAS eigen extensions are properly loaded.
std::vector< std::pair< const Track *, float > > TracksScores
#define ATH_MSG_WARNING(x)