ATLAS Offline Software
Loading...
Searching...
No Matches
RefitSiOnlyTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INDETALIGNGENTOOLS_REFITSIONLYTOOL_H
6#define INDETALIGNGENTOOLS_REFITSIONLYTOOL_H
7
9// ================================================
10// RefitSiOnly
11// ================================================
12//
13// RefitSiOnlyTool.h
14// Header file for RefitSiOnlyTool
15//
16// Namespace SiRobustAlign
17//
18// AlgTool to create refitted tracks with only silicon hits present
19
20
22#include "GaudiKernel/ToolHandle.h"
24#include "TrkEventUtils/TrkParametersComparisonFunction.h"//typedef, cannot fwd declare
26
27namespace Trk {
28 class Track;
29 class ITrackFitter;
30}
31
32class AtlasDetectorID;
33
34namespace InDetAlignment {
36 public:
37 RefitSiOnlyTool (const std::string& type, const std::string& name, const IInterface* parent); //constructor
38 virtual ~RefitSiOnlyTool(); //destructor
39
40 virtual StatusCode initialize();
41 virtual StatusCode finalize();
42
44 //virtual void configure();
45 virtual StatusCode configure();
50
52
53 private:
55 Trk::Track* refit(const Trk::Track* tr) const;
56
58 bool filterHit(const Identifier& id) const;
59
60
61 ToolHandle<Trk::ITrackFitter> m_ITrkFitter;
62
64
67
71
75
76
77
78 };
79} //namespace
80
81#endif // INDETALIGNGENTOOLS_REFITSIONLYTOOL_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Derived DataVector<T>.
Definition DataVector.h:795
virtual const DataVector< Trk::Track > * processTrackCollection(const DataVector< Trk::Track > *trks)
main processing of track collection - refits a track using only filtered hits (e.g.
bool m_doCosmic
Flag for cosmics.
bool m_OutlierRemoval
flag for outlier removal
virtual StatusCode configure()
does necessary configuration to the tool
bool m_stripPixelHits
flag to not consider Pixel hits in the refit
Trk::TrkParametersComparisonFunction * m_comPar
bool m_stripTRTHits
flag to not consider TRT hits in the refit
bool m_stripSCTHits
flag to not consider SCT hits in the refit
virtual StatusCode finalize()
Athena Tool methods.
Trk::Track * refit(const Trk::Track *tr) const
refits a track not using non-silicon hits
virtual StatusCode initialize()
Athena Tool methods.
RefitSiOnlyTool(const std::string &type, const std::string &name, const IInterface *parent)
void dumpTrackCol(DataVector< Trk::Track > *tracks)
const AtlasDetectorID * m_idHelper
Trk::ParticleHypothesis m_ParticleHypothesis
ToolHandle< Trk::ITrackFitter > m_ITrkFitter
bool filterHit(const Identifier &id) const
determines from flags, if this hit should be included in the fit or not
Provides the abstract interface for track fitting in the common ATLAS Tracking EDM.
Ensure that the ATLAS eigen extensions are properly loaded.
ComparisonFunction< TrackParameters > TrkParametersComparisonFunction
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.