ATLAS Offline Software
Loading...
Searching...
No Matches
InDet::TRT_StandaloneTrackFinder Class Reference

InDet::TRT_StandaloneTrackFinde is an algorithm which produces tracks from stand-alone TRT segments with no Si extension. More...

#include <TRT_StandaloneTrackFinder.h>

Inheritance diagram for InDet::TRT_StandaloneTrackFinder:
Collaboration diagram for InDet::TRT_StandaloneTrackFinder:

Public Member Functions

 TRT_StandaloneTrackFinder (const std::string &name, ISvcLocator *pSvcLocator)
 Standard Algotithm methods.
virtual ~TRT_StandaloneTrackFinder ()
StatusCode initialize ()
StatusCode execute (const EventContext &ctx) const
StatusCode finalize ()
MsgStream & dump (MsgStream &out) const
 Print internal tool parameters and status.
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
virtual void setFilterPassed (bool state, const EventContext &ctx) const
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

enum  ECounter {
  kNTrtSeg , kNUsedSeg , kNRejectedSeg , kNTrtSegGood ,
  kNSegFailed , kNTrkScoreZeroTotal , kNTrkSegUsedTotal , kNTRTTrkTotal ,
  kNCounter
}
 Global Counters for final algorithm statistics. More...
typedef std::array< int, kNCounterCounter_t
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

MsgStream & dumpContainerNames (MsgStream &out) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Static Private Member Functions

static MsgStream & dumpevent (MsgStream &, const InDet::TRT_StandaloneTrackFinder::Counter_t &)

Private Attributes

IntegerProperty m_minNumDriftCircles
DoubleProperty m_minPt
BooleanProperty m_oldLogic
ToolHandle< ITRT_SegmentToTrackToolm_segToTrackTool {this,"TRT_SegToTrackTool","InDet::TRT_SegmentToTrackTool"}
 Segment to track tool.
SG::ReadHandleKey< Trk::SegmentCollectionm_Segments {this , "InputSegmentsLocation","TRTSegments"}
 TRT segments to use.
SG::ReadHandleKey< Trk::PRDtoTrackMapm_prdToTrackMap {this,"PRDtoTrackMap",""}
 map between PRDs and tracks to identify shared hits.
SG::WriteHandleKey< TrackCollectionm_finalTracks {this,"OutputTracksLocation","TRTStandaloneTracks"}
 Tracks that will be passed out of AmbiProcessor.
std::mutex m_statMutex ATLAS_THREAD_SAFE
Counter_t m_total ATLAS_THREAD_SAFE {}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Friends

MsgStream & operator<< (MsgStream &, const InDet::TRT_StandaloneTrackFinder::Counter_t &)

Detailed Description

InDet::TRT_StandaloneTrackFinde is an algorithm which produces tracks from stand-alone TRT segments with no Si extension.

Author
Thoma.nosp@m.s.Ko.nosp@m.ffas@.nosp@m.cern.nosp@m..ch

Definition at line 48 of file TRT_StandaloneTrackFinder.h.

Member Typedef Documentation

◆ Counter_t

typedef std::array<int,kNCounter> InDet::TRT_StandaloneTrackFinder::Counter_t
private

Definition at line 115 of file TRT_StandaloneTrackFinder.h.

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ ECounter

Global Counters for final algorithm statistics.

Enumerator
kNTrtSeg 

Number of input TRT segments to be investigated per event.

kNUsedSeg 

Number of TRT segments excluded at input (by BackTracking tracks)

kNRejectedSeg 

Number of segments rejected in selection at input.

kNTrtSegGood 

Number of input TRT segments after cuts per event.

kNSegFailed 

Number of segments failing to translate to a track (inclusing refit)

kNTrkScoreZeroTotal 

Number of tracks rejected by score zero.

kNTrkSegUsedTotal 

Number of excluded segments by other TRT segments.

kNTRTTrkTotal 

Number of TRT-only tracks on output.

kNCounter 

Definition at line 105 of file TRT_StandaloneTrackFinder.h.

105 {kNTrtSeg,
106 kNUsedSeg,
113 kNCounter};
@ kNUsedSeg
Number of TRT segments excluded at input (by BackTracking tracks)
@ kNSegFailed
Number of segments failing to translate to a track (inclusing refit)
@ kNTrtSeg
Number of input TRT segments to be investigated per event.
@ kNTRTTrkTotal
Number of TRT-only tracks on output.
@ kNRejectedSeg
Number of segments rejected in selection at input.
@ kNTrkSegUsedTotal
Number of excluded segments by other TRT segments.
@ kNTrkScoreZeroTotal
Number of tracks rejected by score zero.
@ kNTrtSegGood
Number of input TRT segments after cuts per event.

Constructor & Destructor Documentation

◆ TRT_StandaloneTrackFinder()

InDet::TRT_StandaloneTrackFinder::TRT_StandaloneTrackFinder ( const std::string & name,
ISvcLocator * pSvcLocator )

Standard Algotithm methods.

Track events.

Definition at line 27 of file TRT_StandaloneTrackFinder.cxx.

29 : AthReentrantAlgorithm(name, pSvcLocator)
30{ }

◆ ~TRT_StandaloneTrackFinder()

InDet::TRT_StandaloneTrackFinder::~TRT_StandaloneTrackFinder ( )
virtualdefault

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64{
65 return 0;
66}

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ dump()

MsgStream & InDet::TRT_StandaloneTrackFinder::dump ( MsgStream & out) const

Print internal tool parameters and status.

Definition at line 206 of file TRT_StandaloneTrackFinder.cxx.

207{
208 // out<<std::endl;
209
210 return dumpContainerNames(out);
211}
MsgStream & dumpContainerNames(MsgStream &out) const

◆ dumpContainerNames()

MsgStream & InDet::TRT_StandaloneTrackFinder::dumpContainerNames ( MsgStream & out) const
private

Definition at line 225 of file TRT_StandaloneTrackFinder.cxx.

226{
227 const std::string::size_type max_width =65;
228
229 out<<std::endl
230 <<"|----------------------------------------------------------------------"
231 <<"-------------------|"<<std::endl;
232 out<<"| Location of input tracks | "<<m_Segments.key() << std::setw( max_width-m_Segments.key().size())<< " " << "|" <<std::endl;
233 out<<"| Location of output tracks | "<<m_finalTracks.key() << std::setw( max_width-m_finalTracks.key().size()) << " " << "|" <<std::endl;
234 out<<"|----------------------------------------------------------------------"
235 <<"-------------------|";
236 return out;
237}
SG::ReadHandleKey< Trk::SegmentCollection > m_Segments
TRT segments to use.
SG::WriteHandleKey< TrackCollection > m_finalTracks
Tracks that will be passed out of AmbiProcessor.

◆ dumpevent()

MsgStream & InDet::TRT_StandaloneTrackFinder::dumpevent ( MsgStream & out,
const InDet::TRT_StandaloneTrackFinder::Counter_t & counter )
staticprivate

Definition at line 214 of file TRT_StandaloneTrackFinder.cxx.

214 {
215 out<<"| counters |" << counter << std::endl;
216 return out;
217}

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode InDet::TRT_StandaloneTrackFinder::execute ( const EventContext & ctx) const

Retrieve segments from StoreGate

Definition at line 55 of file TRT_StandaloneTrackFinder.cxx.

56{
57
59 ITRT_SegmentToTrackTool::EventData event_data;
60
62 //
63
64 SG::ReadHandle<Trk::SegmentCollection > segments(m_Segments, ctx);
65 if(!segments.isValid()){
66 ATH_MSG_FATAL ("No segment with name " << m_Segments.key() << " found in StoreGate!");
67 return StatusCode::FAILURE;
68 }
69
70 SG::ReadHandle<Trk::PRDtoTrackMap > prd_to_track_map;
71 const Trk::PRDtoTrackMap *prd_to_track_map_cptr = nullptr;
72 if (!m_prdToTrackMap.key().empty()) {
73 prd_to_track_map=SG::ReadHandle<Trk::PRDtoTrackMap >(m_prdToTrackMap, ctx);
74 if(!prd_to_track_map.isValid()){
75 ATH_MSG_FATAL ("Failed to get " << m_prdToTrackMap.key() << ".");
76 return StatusCode::FAILURE;
77 }
78 prd_to_track_map_cptr = prd_to_track_map.cptr();
79 }
80
81 // statistics...
82 counter[kNTrtSeg] = int(segments->size());
83 ATH_MSG_DEBUG ("TRT track container size " << counter[kNTrtSeg]);
84 ATH_MSG_DEBUG ("Begin looping over all TRT segments in the event");
85 for(const Trk::Segment *base_segment: *segments) {
86
87 // Get the track segment
88 const Trk::TrackSegment *trackTRT = dynamic_cast<const Trk::TrackSegment*>(base_segment);
89
90 if(!trackTRT) {
91
92 ATH_MSG_WARNING ("No pointer to segment, should not happen !");
93 continue;
94
95 } else {
96
97 ATH_MSG_DEBUG ("--> start evaluating new segment");
98
99 // start with pt preselection, get the segment parameters
100 const Amg::VectorX& p = trackTRT->localParameters();
101 if ( std::abs(sin(p(3))/p(4)) < m_minPt*0.9 ) {
102 // Statistics...
104 ATH_MSG_DEBUG ("Segment pt = " << std::abs(sin(p(3))/p(4)) << " , fails pre-cut, drop it !");
105 continue;
106 }
107
108 // Check if segment has already been assigned to a BackTrack
109 if(m_segToTrackTool->segIsUsed(*trackTRT, prd_to_track_map_cptr)) {
110 // Statistics...
112 ATH_MSG_DEBUG ("Segment excluded by BackTrack, drop it !");
113 continue;
114 }
115
116 // Get the number of the TRT track segment ROTs
117 int nROTs = trackTRT->numberOfMeasurementBases();
118 ATH_MSG_DEBUG ("Number Of ROTs " << nROTs);
119
120 bool is_toLower = false; // to handle special case
121
122 // Cases where the min number of required TRT drift circles drops to 10
123 if(nROTs <= m_minNumDriftCircles && m_oldLogic) {
124 ATH_MSG_DEBUG ("Few DCs, can we recover ?");
125
126 is_toLower = m_segToTrackTool->toLower(*trackTRT);
127 if (is_toLower) {
128 ATH_MSG_DEBUG ("We recovered this one, let's try...");
129 }
130 }
131
132 if(nROTs < m_minNumDriftCircles && !is_toLower) {
133 // statistics...
135 ATH_MSG_DEBUG ("Segment fails number of DC requirements, reject it");
136 }
137 else {
138 // statistics
140 ATH_MSG_DEBUG ("Segment considered for further processing, enter into list");
141
142 // Transform the original TRT segment into a track
143 Trk::Track* trtSeg = m_segToTrackTool->segToTrack(ctx, *trackTRT);
144 if(!trtSeg){
145 // Statistics...
147 ATH_MSG_DEBUG ("Failed to make a track out of the TRT segment!");
148 continue;
149 }
150
151 // get all TSOS
152 const DataVector<const Trk::MeasurementBase>* ttsos = trtSeg->measurementsOnTrack();
153 if((int)ttsos->size()<10) {
154 // Statistics...
156 ATH_MSG_DEBUG ("Too few ROTs on track, reject !");
157 delete trtSeg;
158 continue;
159 }
160 // add the track to list
161 m_segToTrackTool->addNewTrack(trtSeg,event_data);
162 }
163 }
164 }
165
166 // now resolve tracks
167 ATH_MSG_DEBUG ("Creating track container ");
168
169 std::unique_ptr<TrackCollection> final_tracks(m_segToTrackTool->resolveTracks(prd_to_track_map.cptr(),event_data));
170 if (!final_tracks || SG::WriteHandle<TrackCollection>(m_finalTracks,ctx).record(std::move(final_tracks)).isFailure()) {
171 ATH_MSG_WARNING ("Could not save the reconstructed TRT seeded Si tracks!");
172 return StatusCode::FAILURE;
173 }
174
175 // Update the total counters
179 {
180 std::lock_guard<std::mutex> lock(m_statMutex);
181 for (int idx=0; idx< kNCounter; ++idx) {
182 m_total[idx]+=counter[idx];
183 }
184 }
185
186 // Print common event information
187 ATH_MSG_DEBUG( counter << std::endl );
188
189 return StatusCode::SUCCESS;
190}
#define ATH_MSG_FATAL(x)
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
size_type size() const noexcept
Returns the number of elements in the collection.
SG::ReadHandleKey< Trk::PRDtoTrackMap > m_prdToTrackMap
map between PRDs and tracks to identify shared hits.
ToolHandle< ITRT_SegmentToTrackTool > m_segToTrackTool
Segment to track tool.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
unsigned int numberOfMeasurementBases() const
Return the number of contained Trk::MeasurementBase (s)
const DataVector< const MeasurementBase > * measurementsOnTrack() const
return a pointer to a vector of MeasurementBase (NOT including any that come from outliers).
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
@ knTRTTrk
Number of TRT-only tracks on output.
@ knTrkSegUsed
Number of excluded segments by other TRT segments.
@ knTrkScoreZero
Number of tracks rejected by score zero.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90{
91 // If we didn't find any symlinks to add, just return the collection
92 // from the base class. Otherwise, return the extended collection.
93 if (!m_extendedExtraObjects.empty()) {
95 }
97}
An algorithm that can be simultaneously executed in multiple threads.

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

◆ finalize()

StatusCode InDet::TRT_StandaloneTrackFinder::finalize ( )

Definition at line 196 of file TRT_StandaloneTrackFinder.cxx.

197{
198 ATH_MSG_DEBUG( m_total << std::endl );
199 return StatusCode::SUCCESS;
200}

◆ initialize()

StatusCode InDet::TRT_StandaloneTrackFinder::initialize ( )

Definition at line 39 of file TRT_StandaloneTrackFinder.cxx.

40{
41 m_total = {};
42
43 ATH_CHECK(m_segToTrackTool.retrieve());
44
45 ATH_CHECK(m_Segments.initialize());
46 ATH_CHECK(m_prdToTrackMap.initialize(!m_prdToTrackMap.key().empty()));
47 ATH_CHECK(m_finalTracks.initialize());
48
49 return StatusCode::SUCCESS;
50}
#define ATH_CHECK
Evaluate an expression and check for errors.

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

77{
78 return BaseAlg::sysExecute (ctx);
79}

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

107 {
109
110 if (sc.isFailure()) {
111 return sc;
112 }
113
114 ServiceHandle<ICondSvc> cs("CondSvc",name());
115 for (auto h : outputHandles()) {
116 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117 // do this inside the loop so we don't create the CondSvc until needed
118 if ( cs.retrieve().isFailure() ) {
119 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120 return StatusCode::SUCCESS;
121 }
122 if (cs->regHandle(this,*h).isFailure()) {
124 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125 << " with CondSvc");
126 }
127 }
128 }
129 return sc;
130}
#define ATH_MSG_ERROR(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

◆ operator<<

MsgStream & operator<< ( MsgStream & ,
const InDet::TRT_StandaloneTrackFinder::Counter_t &  )
friend

Member Data Documentation

◆ ATLAS_THREAD_SAFE [1/2]

std::mutex m_statMutex InDet::TRT_StandaloneTrackFinder::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 117 of file TRT_StandaloneTrackFinder.h.

◆ ATLAS_THREAD_SAFE [2/2]

Counter_t m_total InDet::TRT_StandaloneTrackFinder::ATLAS_THREAD_SAFE {}
mutableprivate

Definition at line 118 of file TRT_StandaloneTrackFinder.h.

118{};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_finalTracks

SG::WriteHandleKey<TrackCollection> InDet::TRT_StandaloneTrackFinder::m_finalTracks {this,"OutputTracksLocation","TRTStandaloneTracks"}
private

Tracks that will be passed out of AmbiProcessor.

Recreated anew each time process() is called Output track collection

Definition at line 100 of file TRT_StandaloneTrackFinder.h.

101{this,"OutputTracksLocation","TRTStandaloneTracks"};

◆ m_minNumDriftCircles

IntegerProperty InDet::TRT_StandaloneTrackFinder::m_minNumDriftCircles
private
Initial value:
{this, "MinNumDriftCircles", 15,
"Minimum number of drift circles for TRT segment tracks"}

Definition at line 80 of file TRT_StandaloneTrackFinder.h.

81 {this, "MinNumDriftCircles", 15,
82 "Minimum number of drift circles for TRT segment tracks"};

◆ m_minPt

DoubleProperty InDet::TRT_StandaloneTrackFinder::m_minPt
private
Initial value:
{this, "MinPt", 1.0 * Gaudi::Units::GeV,
"Minimum pt cut for TRT only (used in preselection * 0.9)"}

Definition at line 83 of file TRT_StandaloneTrackFinder.h.

84 {this, "MinPt", 1.0 * Gaudi::Units::GeV,
85 "Minimum pt cut for TRT only (used in preselection * 0.9)"};

◆ m_oldLogic

BooleanProperty InDet::TRT_StandaloneTrackFinder::m_oldLogic
private
Initial value:
{this, "OldTransitionLogic", true,
"use old transition region hit logic "}

Definition at line 86 of file TRT_StandaloneTrackFinder.h.

87 {this, "OldTransitionLogic", true,
88 "use old transition region hit logic "};

◆ m_prdToTrackMap

SG::ReadHandleKey<Trk::PRDtoTrackMap> InDet::TRT_StandaloneTrackFinder::m_prdToTrackMap {this,"PRDtoTrackMap",""}
private

map between PRDs and tracks to identify shared hits.

Definition at line 95 of file TRT_StandaloneTrackFinder.h.

96{this,"PRDtoTrackMap",""};

◆ m_Segments

SG::ReadHandleKey<Trk::SegmentCollection > InDet::TRT_StandaloneTrackFinder::m_Segments {this , "InputSegmentsLocation","TRTSegments"}
private

TRT segments to use.

Definition at line 93 of file TRT_StandaloneTrackFinder.h.

94{this , "InputSegmentsLocation","TRTSegments"};

◆ m_segToTrackTool

ToolHandle< ITRT_SegmentToTrackTool > InDet::TRT_StandaloneTrackFinder::m_segToTrackTool {this,"TRT_SegToTrackTool","InDet::TRT_SegmentToTrackTool"}
private

Segment to track tool.

Definition at line 90 of file TRT_StandaloneTrackFinder.h.

91{this,"TRT_SegToTrackTool","InDet::TRT_SegmentToTrackTool"};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: