ATLAS Offline Software
Loading...
Searching...
No Matches
SiCombinatorialTrackFinderData_xk.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Source file for class SiCombinatorialTrackFinderData_xk
8
11
12namespace InDet {
13
15
17 const Trk::IPatternParametersUpdator* updatorTool,
18 const Trk::IRIO_OnTrackCreator* rioTool,
19 const IInDetConditionsTool* pixCondTool,
20 const IInDetConditionsTool* sctCondTool,
21 const Trk::MagneticFieldProperties* fieldProp,
22 const Trk::IBoundaryCheckTool* boundaryCheckTool)
23 {
24 // Set SiTools and conditions
25 //
26 m_tools.setTools(propTool,
27 updatorTool,
28 rioTool);
29 m_tools.setTools(pixCondTool,
30 sctCondTool);
31 m_tools.setTools(fieldProp);
32 m_tools.setTools(boundaryCheckTool);
33
34 // Set tool to trajectory
35 //
36 m_trajectory.setTools(&m_tools);
37
38 m_initialized = true;
39 }
40
41
43 if( flag && (! m_simpleTrack) ) {
44 MsgStream log(Athena::getMessageSvc(), "SiCombinatorialTrackFinderData_xk");
45 log << MSG::WARNING << "not simpleTrack, keep flagToReturnFailedTrack as false" << endmsg;
47 return;
48 }
50 }
51
53 m_heavyIon = flag;
54 m_tools.setHeavyIon(flag);
55 }
56
58 m_ITkGeometry = flag;
59 m_tools.setITkGeometry(flag);
60 }
61
63 m_doFastTracking = flag;
64 m_tools.setFastTracking(flag);
65 }
66
68 auto found = m_holeSearchOutcomes.find(theTrack);
69 if (found == m_holeSearchOutcomes.end()){
70 return false;
71 }
72 outcome = found->second;
73 return true;
74 }
78
79} // end of name space
#define endmsg
Interface class for service providing summary of status of a detector element.
void setTools(const Trk::IPatternParametersPropagator *propTool, const Trk::IPatternParametersUpdator *updatorTool, const Trk::IRIO_OnTrackCreator *rioTool, const IInDetConditionsTool *pixCondTool, const IInDetConditionsTool *sctCondTool, const Trk::MagneticFieldProperties *fieldProp, const Trk::IBoundaryCheckTool *boundaryCheckTool)
Set tools, service and magnetic field properties.
bool findPatternHoleSearchOutcome(Trk::Track *theTrack, InDet::PatternHoleSearchOutcome &outcome) const
Methods used to associate the hole search outcome to tracks without having to modify the EDM.
InDet::SiTools_xk m_tools
Hold tools, service, map, etc.
std::map< Trk::Track *, InDet::PatternHoleSearchOutcome > m_holeSearchOutcomes
A helper map to associate hole search outcomes to tracks.
void setFlagToReturnFailedTrack(const bool)
Setter for flagToReturnFailedTrack (for disappearing track trigger)
void addPatternHoleSearchOutcome(Trk::Track *theTrack, const InDet::PatternHoleSearchOutcome &outcome)
This is used to store the pattern hole search outcome for a given track.
bool m_flagToReturnFailedTrack
Flag whether to return non-successful tracks (for disappearing track trigger)
interface for track parameter propagation through the magnetic field, using the Trk::PatternTrackPara...
Interface for updating Trk::PatternTrackParameters, the fast internal representation of track paramet...
Interface class for transforming Trk::PrepRawData to Trk::RIO_OnTrack using a local track hypothesis.
magnetic field properties to steer the behavior of the extrapolation
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)
Primary Vertex Finder.
Helper struct for hole search results from the pattern recognition.