ATLAS Offline Software
Loading...
Searching...
No Matches
InDetAlignTrackSelTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5// InDetAlignTrackSelTool.h
6
7// Sergio Gonzalez Sevilla, started 04/7/05
8// Miguel Olivo Gomez, extended 07/6/06
9
10// AlgTool to select high quality tracks for the inner detector
11// (Pixel+SCT) alignment algorithms.
12// This AlgTool provides a track selection based on the following cut variables:
13// Momentum, pt, number of shared hits, number of holes and chi2 probability.
14// Returns 0 in case a track is not accepted, otherwise 1
15
24
25#ifndef INDETALIGNGENTOOLS_ALIGNTRACKSELTOOL_H
26#define INDETALIGNGENTOOLS_ALIGNTRACKSELTOOL_H
27
29#include "GaudiKernel/ToolHandle.h"
31
32namespace Trk {
33 class Track;
35}
36
38 public:
39 InDetAlignTrackSelTool(const std::string& type, const std::string& name,
40 const IInterface* parent);
42 virtual StatusCode initialize();
43 virtual StatusCode finalize();
44
45 virtual int getStatus(const Trk::Track&) const;
46
47 private:
48 double Momentum(const Trk::Track&) const;
49 double Pt(const Trk::Track&) const;
50 int nShared(const Trk::Track&) const;
51 int nHoles(const Trk::Track&) const;
52 double chi2Prob(const Trk::Track&) const;
53
54 ToolHandle <Trk::ITrackParticleCreatorTool> m_particleCreator;
55
57 double m_minPt;
61};
62
63#endif // INDETALIGNTOOLS_ALIGNTRACKSELTOOL_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
ToolHandle< Trk::ITrackParticleCreatorTool > m_particleCreator
Pointer to track particle creator tool.
int m_maxShared
Maximum number of shared hits of the track.
double Momentum(const Trk::Track &) const
virtual int getStatus(const Trk::Track &) const
int nShared(const Trk::Track &) const
double m_minPt
Minimum value of the transverse momentum of the track.
double m_minMomentum
Minimum value of the momentum of the track.
int nHoles(const Trk::Track &) const
double chi2Prob(const Trk::Track &) const
int m_maxHoles
Maximum number of holes of the track.
InDetAlignTrackSelTool(const std::string &type, const std::string &name, const IInterface *parent)
double m_minChi2Prob
Minimum value of the chi2 Probality of the track.
double Pt(const Trk::Track &) const
virtual StatusCode initialize()
Interface for constructing TrackParticles from complete tracks.
Ensure that the ATLAS eigen extensions are properly loaded.