ATLAS Offline Software
Loading...
Searching...
No Matches
MuonScatteringAngleSignificanceTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONSCATTERINGANGLESIGNIFICANCETOOL_H
6#define MUONSCATTERINGANGLESIGNIFICANCETOOL_H
7
13
14
15namespace Trk {
16 class Volume;
17}
18
19namespace Rec {
20
25
26 class MuonScatteringAngleSignificanceTool : public extends<AthAlgTool, IMuonScatteringAngleSignificance> {
27 public:
28 using base_class::base_class;
30
31 StatusCode initialize();
32
35
38
39 private:
43 bool isSlimmed(const Trk::Track& track) const;
44
45 // tools and services
46 ToolHandle<Trk::ITrackFitter> m_fitter{this, "TrackFitter", "",
47 "tool for unslimming via track fit"};
48 ServiceHandle<Trk::ITrackingVolumesSvc> m_trackingVolumesSvc{this, "TrackingVolumesSvc", "Trk::TrackingVolumesSvc/TrackingVolumesSvc",
49 "geometry for analysing track lengths"};
50
51 // constants
52 std::unique_ptr<const Trk::Volume> m_calorimeterVolume{nullptr};
53 std::unique_ptr<const Trk::Volume> m_indetVolume{nullptr};
54
55 // steering flags
56
57
58 Gaudi::Property<bool> m_inDetOnly{this, "InDetOnly", true};
59 Gaudi::Property<bool> m_refitInDetOnly{this, "RefitInDetOnly", true};
60 };
61
62} // namespace Rec
63
64#endif
Tool to calculate the scattering angle significance from the detailed information (parameters,...
ToolHandle< Trk::ITrackFitter > m_fitter
tool for unslimming via track fit
bool isSlimmed(const Trk::Track &track) const
does track have TrackParameters at every TSOS ?
Gaudi::Property< bool > m_inDetOnly
scatterers from ID only (or ID + calo)
ServiceHandle< Trk::ITrackingVolumesSvc > m_trackingVolumesSvc
Gaudi::Property< bool > m_refitInDetOnly
steer if to unslim only ID
std::unique_ptr< const Trk::Volume > m_indetVolume
cache the ID volume pointer
std::unique_ptr< const Trk::Volume > m_calorimeterVolume
cache the calo volume pointer
ScatteringAngleSignificance scatteringAngleSignificance(const xAOD::Muon &muon) const
Calculate ScatteringAngleSignificance of a muon, stepping down to the relevant track.
lightweight return data-object for (mainly indet) scattering angle analysis by track query
Base class for all volumes inside the tracking realm, it defines the interface for inherited Volume c...
Definition Volume.h:36
Gaudi Tools.
Ensure that the ATLAS eigen extensions are properly loaded.
Muon_v1 Muon
Reference the current persistent version: