ATLAS Offline Software
Loading...
Searching...
No Matches
ConstrainedTrackProvider.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_CONSTRAINEDTRACKPROVIDER_H
6#define TRKALIGNGENTOOLS_CONSTRAINEDTRACKPROVIDER_H
7
9#include "GaudiKernel/ToolHandle.h"
10#include "muonEvent/Muon.h"
13
14
15
16class TFile;
17class TH2F;
28namespace Trk {
30
32
33 public:
34 ConstrainedTrackProvider(const std::string & type, const std::string & name, const IInterface * parent);
36
37 virtual StatusCode initialize();
38 virtual StatusCode finalize();
39
40 virtual StatusCode trackCollection(const TrackCollection*& tracks);
41
42 virtual void printSummary();
43
44 private :
45
46 void getCorrectedValues_P(const Trk::Perigee* mp, double& correctedQoverP,double& correctedQoverPError);
47 void getCorrectedValues_d0(const Trk::Perigee* mp, double& corrected_d0,double& corrected_d0Error);
48 void getCorrectedValues_z0(const Trk::Perigee* mp, double& corrected_z0,double& corrected_z0Error);
49 bool passTrackSelection(const Trk::Track *track);
50
51 ToolHandle<IGlobalTrackFitter> m_trackFitter;
52
65
69 double m_maxd0;
70 double m_maxz0;
71 double m_minPt;
72 double m_maxPt;
73
74
76
77
83 // Corrections expected to be in GeV-1
84
89 // Corrections expected to be in mm
90
95 // Corrections expected to be in mm
96
98
101
104
105
106 }; // end class
107
108} // end namespace
109
110#endif // TRKALIGNGENTOOLS_CONSTRAINEDTRACKPROVIDER_H
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
void getCorrectedValues_d0(const Trk::Perigee *mp, double &corrected_d0, double &corrected_d0Error)
void getCorrectedValues_P(const Trk::Perigee *mp, double &correctedQoverP, double &correctedQoverPError)
void getCorrectedValues_z0(const Trk::Perigee *mp, double &corrected_z0, double &corrected_z0Error)
bool passTrackSelection(const Trk::Track *track)
virtual void printSummary()
Print statistical summary to logfile.
int m_maxRetrievalErrors
maximum allowed number of retrieval errors at the beginning of the job (-1 for infinite)
ToolHandle< IGlobalTrackFitter > m_trackFitter
normal track fitter
ConstrainedTrackProvider(const std::string &type, const std::string &name, const IInterface *parent)
RunOutlierRemoval m_runOutlierRemoval
run outlier removal in the GX2 fitter
virtual StatusCode trackCollection(const TrackCollection *&tracks)
provides additional abstract interfaces for information provided from global-least-squares track fit ...
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
bool RunOutlierRemoval
switch to toggle quality processing after fit
Definition FitterTypes.h:22
#define private