ATLAS Offline Software
AlignTrackPreProcessor.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 TRKALIGNGENTOOLS_ALIGNTRACKPREPROCESSOR_H
6 #define TRKALIGNGENTOOLS_ALIGNTRACKPREPROCESSOR_H
7 
8 
9 #include "GaudiKernel/ToolHandle.h"
11 
15 
16 #include <vector>
17 
32 namespace Trk {
33 
34  class Track;
35  class IGlobalTrackFitter;
36  //class ITrackSelectorTool;
38  {
39 
40  public:
41  AlignTrackPreProcessor(const std::string & type, const std::string & name, const IInterface * parent);
43 
46 
49 
50 
51  private:
52  ToolHandle<IGlobalTrackFitter> m_trackFitterTool;
53  ToolHandle<IGlobalTrackFitter> m_SLTrackFitterTool;
54 
55  //ToolHandle<ITrackSelectorTool> m_trackSelectorTool;
56  ToolHandle<InDet::IInDetTrackSelectionTool> m_trackSelectorTool;
57  ToolHandle<IInDetAlignHitQualSelTool> m_hitQualityTool;
58 
60  Track * performSiliconHitSelection(const Track *, const ToolHandle<Trk::IGlobalTrackFitter> &);
61 
64 
67 
69 
71  bool m_selectHits;
73 
74  }; // end class
75 
76 } // end namespace
77 
78 
79 
80 #endif // TRKALIGNGENTOOLS_ALIGNTRACKPREPROCESSOR_H
81 
82 
Trk::AlignTrackPreProcessor::m_selectTracks
bool m_selectTracks
do the track selection
Definition: AlignTrackPreProcessor.h:70
Trk::AlignTrackPreProcessor::~AlignTrackPreProcessor
virtual ~AlignTrackPreProcessor()
Trk::AlignTrackPreProcessor::initialize
StatusCode initialize()
Definition: AlignTrackPreProcessor.cxx:71
IAlignTrackPreProcessor.h
Trk::AlignTrackPreProcessor::m_useSingleFitter
bool m_useSingleFitter
particle hypothesis in track refit
Definition: AlignTrackPreProcessor.h:68
Trk::AlignTrackPreProcessor
Definition: AlignTrackPreProcessor.h:38
Trk::AlignTrackPreProcessor::m_runOutlierRemoval
bool m_runOutlierRemoval
flag to store derivative and covariance matrices after refit
Definition: AlignTrackPreProcessor.h:65
Trk::AlignTrackPreProcessor::m_particleHypothesis
int m_particleHypothesis
run outlier removal in track refit
Definition: AlignTrackPreProcessor.h:66
Trk::AlignTrackPreProcessor::performSiliconHitSelection
Track * performSiliconHitSelection(const Track *, const ToolHandle< Trk::IGlobalTrackFitter > &)
select silicon hits by quality.
Definition: AlignTrackPreProcessor.cxx:239
Trk::AlignTrackPreProcessor::AlignTrackPreProcessor
AlignTrackPreProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AlignTrackPreProcessor.cxx:30
IInDetAlignHitQualSelTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::AlignTrackPreProcessor::m_storeFitMatricesAfterRefit
bool m_storeFitMatricesAfterRefit
flag to refit tracks
Definition: AlignTrackPreProcessor.h:63
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk::AlignTrackPreProcessor::m_trackSelectorTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelectorTool
Definition: AlignTrackPreProcessor.h:56
Trk::AlignTrackPreProcessor::processTrackCollection
DataVector< Track > * processTrackCollection(const DataVector< Track > *trks)
creates AlignTrack containing all TSOS on track
Definition: AlignTrackPreProcessor.cxx:127
Trk::AlignTrackPreProcessor::m_trackFitterTool
ToolHandle< IGlobalTrackFitter > m_trackFitterTool
Definition: AlignTrackPreProcessor.h:52
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
IInDetTrackSelectionTool.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Trk::AlignTrackPreProcessor::m_refitTracks
bool m_refitTracks
Definition: AlignTrackPreProcessor.h:62
Trk::AlignTrackPreProcessor::m_selectHits
bool m_selectHits
perform the hit InnerDetector selection
Definition: AlignTrackPreProcessor.h:71
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Trk::AlignTrackPreProcessor::m_hitQualityTool
ToolHandle< IInDetAlignHitQualSelTool > m_hitQualityTool
Definition: AlignTrackPreProcessor.h:57
Trk::AlignTrackPreProcessor::m_SLTrackFitterTool
ToolHandle< IGlobalTrackFitter > m_SLTrackFitterTool
Definition: AlignTrackPreProcessor.h:53
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
Trk::AlignTrackPreProcessor::finalize
StatusCode finalize()
Definition: AlignTrackPreProcessor.cxx:121
AthAlgTool
Definition: AthAlgTool.h:26
Trk::IAlignTrackPreProcessor
Definition: IAlignTrackPreProcessor.h:36
Trk::AlignTrackPreProcessor::m_fixMomentum
bool m_fixMomentum
Fix the momentum of the track so it is not refitted.
Definition: AlignTrackPreProcessor.h:72