ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_TrackSegmentsFinder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRT_TrackSegmentsFinder_H
6#define TRT_TrackSegmentsFinder_H
7
8#include <string>
9#include <atomic>
10
12#include "GaudiKernel/ToolHandle.h"
19// MagField cache
22namespace InDet {
23
24
25 // Class-algorithm for track finding in TRT
26 //
28 {
29 public:
30
32 // Standard Algotithm methods
34
35 TRT_TrackSegmentsFinder(const std::string &name, ISvcLocator *pSvcLocator);
37 StatusCode initialize();
38 StatusCode execute(const EventContext &ctx) const;
39 StatusCode finalize();
40
41 protected:
42
43 MsgStream& dumptools(MsgStream& out) const;
44 MsgStream& dumpevent(MsgStream& out, int nsegments) const;
45
46 Gaudi::Property<bool> m_useCaloSeeds
47 {this, "useCaloSeeds", false, "Use calo seeds to find TRT segments"};
48
49 Gaudi::Property<int> m_minNumberDCs
50 {this, "MinNumberDriftCircles", 15, "Minimum number of DriftCircles for a TRT segment."};
51
53 {this, "EMROIPhiRZContainer", "", "Name of the calo ROI container in which the ROIs are parametrised by phi, r and z."};
54
56 {this, "SegmentsLocation", "TRTSegments", "Storegate key of the found TRT segments."};
57
58 ToolHandle<ITRT_TrackSegmentsMaker> m_segmentsMakerTool
59 {this, "SegmentsMakerTool", "InDet::TRT_TrackSegmentsMaker_ATLxk", "TRT segments maker tool." };
60
61 ToolHandle<ITRT_DetElementsRoadMaker> m_roadtool
62 {this, "RoadTool", "InDet::TRT_DetElementsRoadMaker_xk", "Tool to build roads in the TRT."};
63
64 SG::ReadCondHandleKey<AtlasFieldCacheCondObj> m_fieldCondObjInputKey {this, "AtlasFieldCacheCondObj", "fieldCondObj", "Name of the Magnetic Field conditions object key"};
65
66 mutable std::atomic<int> m_nsegmentsTotal {} ; // statistics about number of segments
67
68 };
69}
70#endif // TRT_TrackSegmentsFinder_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
TRT_TrackSegmentsFinder(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< ITRT_TrackSegmentsMaker > m_segmentsMakerTool
MsgStream & dumpevent(MsgStream &out, int nsegments) const
SG::WriteHandleKey< Trk::SegmentCollection > m_foundSegmentsKey
ToolHandle< ITRT_DetElementsRoadMaker > m_roadtool
StatusCode execute(const EventContext &ctx) const
MsgStream & dumptools(MsgStream &out) const
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCondObjInputKey
SG::ReadHandleKey< ROIPhiRZContainer > m_caloClusterROIKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Primary Vertex Finder.