Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
16 namespace Trk {
17  class IExtrapolator;
18  class Track;
19  class TrackSummary;
20 }
21 
22 
23 namespace InDet {
24 
25 
28 {
29 
30 public:
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
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
Trk::ITrackScoringTool
Interface for tool to return a score from a given track.
Definition: ITrackScoringTool.h:23
InDet::InDetCosmicScoringTool::m_maxZImp
DoubleProperty m_maxZImp
Definition: InDetCosmicScoringTool.h:51
ITrackScoringTool.h
InDet::InDetCosmicScoringTool::~InDetCosmicScoringTool
virtual ~InDetCosmicScoringTool()=default
InDet::InDetCosmicScoringTool::passBasicSelections
virtual bool passBasicSelections(const Trk::Track &) const override
check track selections independent from TrackSummary
Definition: InDetCosmicScoringTool.cxx:24
AthAlgTool.h
Trk::TrackScore
float TrackScore
Definition: TrackScore.h:10
InDet::InDetCosmicScoringTool::score
virtual Trk::TrackScore score(const Trk::Track &track, bool checkBasicSel) const override
create a score based on how good the passed track is
Definition: InDetCosmicScoringTool.cxx:34
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::TrackSummary
A summary of the information contained by a track.
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:287
TrackScore.h
InDet::InDetCosmicScoringTool::InDetCosmicScoringTool
InDetCosmicScoringTool(const std::string &, const std::string &, const IInterface *)
Definition: InDetCosmicScoringTool.cxx:16
InDet::InDetCosmicScoringTool::m_nWeightedClustersMin
IntegerProperty m_nWeightedClustersMin
Definition: InDetCosmicScoringTool.h:47
InDet::InDetCosmicScoringTool::m_minTRTHits
IntegerProperty m_minTRTHits
Definition: InDetCosmicScoringTool.h:48
InDet::InDetCosmicScoringTool::simpleScore
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
Definition: InDetCosmicScoringTool.cxx:47
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
AthAlgTool
Definition: AthAlgTool.h:26
xAOD::TrackSummary
TrackSummary_v1 TrackSummary
Definition: Event/xAOD/xAODTracking/xAODTracking/TrackSummary.h:10
InDet::InDetCosmicScoringTool
Concrete implementation of the ITrackScoringTool pABC.
Definition: InDetCosmicScoringTool.h:28