ATLAS Offline Software
Loading...
Searching...
No Matches
MSConstraintTracksProvider.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 TRKALIGNGENTOOLS_MSCONSTRAINTTRACKSPROVIDER_H
6#define TRKALIGNGENTOOLS_MSCONSTRAINTTRACKSPROVIDER_H
7
9#include "GaudiKernel/ToolHandle.h"
10
14
16
17
18class TFile;
19class TTree;
20
21namespace Trk {
23
25
26 public:
27 MSConstraintTracksProvider(const std::string & type, const std::string & name, const IInterface * parent);
29
30 virtual StatusCode initialize();
31 virtual StatusCode finalize();
32
33 virtual StatusCode trackCollection(const TrackCollection*& tracks);
34
35 virtual void printSummary();
36
37 private :
38
40 bool bookNtuple();
41 void initializeNtuple();
42 void setNtuple(TFile* ntuple);
43 StatusCode fillNtuple();
44
45 ToolHandle<IGlobalTrackFitter> m_trackFitter
46 {this, "TrackFitter", "Trk::GlobalChi2Fitter/InDetTrackFitter"};
47
48 ToolHandle<Muon::IMuonHitSummaryTool> m_muonHitSummaryTool
49 {this, "MuonHitSummaryTool", "Muon::MuonHitSummaryTool/MuonHitSummaryTool"};
50
52 {this, "InputMuonCollection", "MuidMuonCollection"};
53
55 {this, "InputTracksCollection", "Tracks"};
56
57 Gaudi::Property<RunOutlierRemoval> m_runOutlierRemoval
58 {this, "RunOutlierRemoval", true, "run outlier removal in the GX2 fitter"};
59 Gaudi::Property<bool> m_useMSConstraintTrkOnly
60 {this, "UseMSConstraintTrkOnly", true};
61 Gaudi::Property<bool> m_doTree{this, "DoTree", true};
62
63 Gaudi::Property<double> m_minPt{this, "MinPt", 15.};
64 Gaudi::Property<int> m_minPIXHits{this, "MinPIXHits", 1};
65 Gaudi::Property<int> m_minSCTHits{this, "MinSCTHits", 6};
66 Gaudi::Property<int> m_minTRTHits{this, "MinTRTHits", 0};
67 Gaudi::Property<double> m_maxIDd0{this, "MaxIDd0", 500.};
68 Gaudi::Property<double> m_maxIDz0{this, "MaxIDz0", 500.};
69 Gaudi::Property<double> m_minIDPt{this, "MinIDPt", 10.};
70 Gaudi::Property<int> m_minMDTHits{this, "MDTHits", 15};
71 Gaudi::Property<int> m_minRPCPhiHits{this, "MinRPCPhiHits", 0};
72 Gaudi::Property<int> m_minTGCPhiHits{this, "MinTGCPhiHits", 0};
73 Gaudi::Property<double> m_maxMSd0{this, "MaxMSd0", 500.};
74 Gaudi::Property<double> m_maxMSz0{this, "MaxMSz0", 500.};
75 Gaudi::Property<double> m_minMSPt{this, "MinMSPt", 0.};
76 Gaudi::Property<int> m_maxNumberOfSectors{this, "MaxNumberOfSectors", 1};
77 Gaudi::Property<int> m_minNumberOfPhiLayers{this, "MinNumberOfPhiLayers", 2};
78 Gaudi::Property<int> m_minStationLayers{this, "MinStationLayers", 3};
79
85
86 // ntuple variables
87 TFile* m_ntuple = nullptr;
88 TTree* m_tree = nullptr;
89 int m_run{};
90 int m_event{};
91 double m_pID{};
92 double m_pMS{};
93 double m_ptID{};
94 double m_ptMS{};
95 int m_charge{};
96
97 double m_combinedEta{};
98 double m_IDEta{};
99 double m_combinedPhi{};
100 double m_IDPhi{};
101
107
110
111 int m_nPIXDS{};
112 int m_nSCTDS{};
113
114 int m_nPIXH{};
115 int m_nSCTH{};
116
120
124
128
129 }; // end class
130
131} // end namespace
132
133#endif // TRKALIGNGENTOOLS_MSCONSTRAINTTRACKSPROVIDER_H
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
The ATLAS Muon object - see doxygen, physics workbookd and the Muon Combined Performance WG's pages f...
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
provides additional abstract interfaces for information provided from global-least-squares track fit ...
Gaudi::Property< RunOutlierRemoval > m_runOutlierRemoval
bool combinedMuonSelection(const Analysis::Muon *)
MSConstraintTracksProvider(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode fillNtuple()
writes tree to ntuple
Gaudi::Property< bool > m_useMSConstraintTrkOnly
ToolHandle< IGlobalTrackFitter > m_trackFitter
void setNtuple(TFile *ntuple)
sets ntuple
SG::ReadHandleKey< TrackCollection > m_trackContainerKey
ToolHandle< Muon::IMuonHitSummaryTool > m_muonHitSummaryTool
virtual void printSummary()
Print statistical summary to logfile.
SG::ReadHandleKey< Analysis::MuonContainer > m_muonContainerKey
virtual StatusCode trackCollection(const TrackCollection *&tracks)
Ensure that the ATLAS eigen extensions are properly loaded.
#define private