ATLAS Offline Software
Loading...
Searching...
No Matches
InDetCosmicScoringTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef INDETCOSMICSCORINGTOOL_H
7#define INDETCOSMICSCORINGTOOL_H
8
10#include "GaudiKernel/ToolHandle.h"
13#include <vector>
14#include <string>
15
16namespace Trk {
17 class IExtrapolator;
18 class Track;
19 class TrackSummary;
20}
21
22
23namespace InDet {
24
25
28{
29
30public:
31 InDetCosmicScoringTool(const std::string&,const std::string&,const IInterface*);
32 virtual ~InDetCosmicScoringTool () = default;
33
35 virtual bool passBasicSelections( const Trk::Track& ) const override;
36
38 virtual
39 Trk::TrackScore score( const Trk::Track& track, bool checkBasicSel ) const override;
40
42 virtual
43 Trk::TrackScore simpleScore( const Trk::Track& track, const Trk::TrackSummary& trackSum ) const override;
44
45 private:
46
47 IntegerProperty m_nWeightedClustersMin{this, "nWeightedClustersMin", 0};
48 IntegerProperty m_minTRTHits{this, "minTRTHits", 0};
49
50 DoubleProperty m_maxZImp
51 {this, "maxZImp", 10000., "maximal z impact parameter cut"};
52
53};
54
55
56}
57#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual bool passBasicSelections(const Trk::Track &) const override
check track selections independent from TrackSummary
virtual Trk::TrackScore simpleScore(const Trk::Track &track, const Trk::TrackSummary &trackSum) const override
create a score based on how good the passed TrackSummary is
virtual ~InDetCosmicScoringTool()=default
virtual Trk::TrackScore score(const Trk::Track &track, bool checkBasicSel) const override
create a score based on how good the passed track is
InDetCosmicScoringTool(const std::string &, const std::string &, const IInterface *)
Interface class for the extrapolation AlgTool, it inherits from IAlgTool Detailed information about p...
Interface for tool to return a score from a given track.
A summary of the information contained by a track.
Primary Vertex Finder.
Ensure that the ATLAS eigen extensions are properly loaded.
float TrackScore
Definition TrackScore.h:10