|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef TRT_SeededTrackFinder_H
15 #define TRT_SeededTrackFinder_H
18 #include "GaudiKernel/ServiceHandle.h"
19 #include "GaudiKernel/ToolHandle.h"
77 std::ostream&
dump(std::ostream&
out)
const;
85 {
this,
"FinalRefit",
false,
"Do a final careful refit of tracks"};
87 {
this,
"TrtExtension",
false,
"Find the TRT extension of the track"};
89 {
this,
"RejectShortExtension",
false,
"Reject short extensions"};
91 {
this,
"FinalStatistics",
false,
"Statistics of final tracks"};
93 {
this,
"OutputSegments",
true,
"Save stand-alone TRT segments"};
95 {
this,
"MaxNumberSegments", 5000,
96 "Maximum number of segments to be handled"};
98 {
this,
"MinTRTonSegment", 10,
"Minimum Number of TRT Hits on segment"};
100 {
this,
"MinTRTonly", 15,
"Minimum number of TRT hits on TRT only"};
103 {
this,
"TrackTool",
"InDet::TRT_SeededTrackFinderTool",
104 "Back tracking tool"};
106 {
this,
"RefitterTool",
"Trk::GlobalChi2Fitter/InDetTrackFitter",
109 {
this,
"TrackExtensionTool",
"InDet::TRT_TrackExtensionTool_xk",
110 "TRT track extension tool "};
113 {
this,
"InputSegmentsLocation",
"TRTSegments",
"TRT segments to use"};
115 {
this,
"OutputTracksLocation",
"TRTSeededTracks",
116 "Output track collection"};
119 {
this,
"PRDtoTrackMap",
"" };
121 {
this,
"TrackSummaryTool",
"InDetTrackSummaryToolNoHoleSearch"};
125 {
this,
"BeamSpotKey",
"BeamSpotData",
"SG key for beam spot"};
128 {
this,
"SiExtensionCuts",
false,
"enable cuts after Si segment finding"};
129 DoubleProperty
m_minPt{
this,
"minPt", 500.,
"minimal Pt cut"};
130 DoubleProperty
m_maxEta{
this,
"maxEta", 2.7,
"maximal Eta cut"};
132 {
this,
"maxRPhiImp", 10.,
"maximal RPhi impact parameter cut"};
134 {
this,
"maxZImp", 250.,
"maximal z impact parameter cut"};
138 {
this,
"EMROIPhiRZContainer",
"",
139 "Name of the calo cluster ROIs in Phi,R,Z parameterization"};
142 {
this,
"RegSelTool",
"RegSelTool/RegSel_SCT",
143 "Region selector service instance"};
146 {
this,
"dEtaCaloRoI", 0.1,
"delta Eta used for RoI creation"};
148 {
this,
"dPhiCaloRoI", 0.25,
"delta Phi used for RoI creation"};
150 {
this,
"dZCaloRoI", 300.,
"delta Z used for RoI creation"};
179 for (
unsigned int i = 0;
i <
a.m_counter.size(); ++
i) {
200 std::vector<const Trk::MeasurementBase*>&)
const;
213 #endif // TRT_SeededTrackFinder_H
std::array< int, kNCounter > m_counter
@ kNTrtNoSiExt
Number of TRT segments lost in busy events.
Trk::Track * mergeExtension(const Trk::Track &, std::vector< const Trk::MeasurementBase * > &) const
Merge a TRT track extension and a Si track component into one global ID track.
SG::ReadHandleKey< Trk::SegmentCollection > m_SegmentsKey
std::ostream & dump(std::ostream &out) const
SG::WriteHandleKey< TrackCollection > m_outTracksKey
@ kNCounter
Number of back tracks found with or without Si extension per event.
StatusCode finalize() override
BooleanProperty m_doRefit
StatusCode initialize() override
ToolHandle< Trk::IExtendedTrackSummaryTool > m_trackSummaryTool
BooleanProperty m_doExtension
@ kNTrtLimit
Number of TRT segments that will be investigated per event
ToolHandle< Trk::IExtrapolator > m_extrapolator
@ kNExtCut
Number of TRT segments not extended in Si.
BooleanProperty m_caloSeededRoI
Property holding a SG store/key/clid from which a ReadHandle is made.
Global Counters for final algorithm statistics.
An algorithm that can be simultaneously executed in multiple threads.
IntegerProperty m_MaxSegNum
BooleanProperty m_saveTRT
MsgStream & dump(MsgStream &out) const
Print internal tool parameters and status
@ kNTrtExtFail
Number of shorter TRT extensions.
void Analyze(TrackCollection *) const
Do some statistics analysis at the end of each event.
Property holding a SG store/key/clid from which a WriteHandle is made.
@ kNBckTrk
Number of back tracks found with Si extension per event.
::StatusCode StatusCode
StatusCode definition for legacy code.
Trk::Track * mergeSegments(const Trk::Track &, const Trk::TrackSegment &) const
Protected methods
ToolHandle< Trk::ITrackFitter > m_fitterTool
ToolHandle< IRegSelTool > m_regionSelector
ToolHandle< ITRT_TrackExtensionTool > m_trtExtension
@ kNTrtExt
Number of times the TRT extension is called.
@ kNTrtFailSel
Number of TRT segments to be investigated per event
std::mutex m_statMutex ATLAS_THREAD_SAFE
@ kNBckTrkSi
Number of failed TRT extensions.
BooleanProperty m_SiExtensionCuts
DoubleProperty m_maxRPhiImp
MsgStream & dumpevent(MsgStream &out, const InDet::TRT_SeededTrackFinder::Stat_t &stat) const
ToolHandle< ITRT_SeededTrackFinder > m_trackmaker
@ kNTrtExtCalls
Number of back tracks found without a Si extension per event.
SG::ReadHandleKey< Trk::PRDtoTrackMap > m_prdToTrackMap
Trk::Track * segToTrack(const EventContext &, const Trk::TrackSegment &) const
Transform a TRT track segment into a track
StatusCode execute(const EventContext &ctx) const override
MsgStream & dumptools(MsgStream &out) const
UnsignedIntegerProperty m_minTRTonSegment
BooleanProperty m_rejectShortExten
Stat_t m_totalStat ATLAS_THREAD_SAFE
virtual ~TRT_SeededTrackFinder()
@ kNTrtSegGood
Number of TRT segments failing input selection.
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
SG::ReadHandleKey< ROIPhiRZContainer > m_caloClusterROIKey
@ kNBckTrkTrt
Number of Si extensions failing cuts.
Define macros for attributes used to control the static checker.
@ kNTrtExtBad
Number of good TRT extensions.
Stat_t & operator+=(const Stat_t &a)
UnsignedIntegerProperty m_minTRTonly
TRT_SeededTrackFinder(const std::string &name, ISvcLocator *pSvcLocator)
Standard Algorithm methods