|
ATLAS Offline Software
|
Go to the documentation of this file.
21 (
const std::string&
name,ISvcLocator* pSvcLocator) :
53 return StatusCode::SUCCESS;
62 std::unique_ptr<Trk::SegmentCollection> found_segments(std::make_unique<Trk::SegmentCollection>());
63 std::unique_ptr<InDet::ITRT_TrackSegmentsMaker::IEventData> event_data_p;
76 std::vector<IdentifierHash> vTR;
80 return StatusCode::FAILURE;
85 if (fieldCondObj ==
nullptr) {
87 return StatusCode::FAILURE;
89 fieldCondObj->getInitializedCache (fieldCache);
90 for (
const ROIPhiRZ &roi : *calo_rois) {
91 if (std::abs(roi[0])>
M_PI)
continue;
92 std::unique_ptr<Trk::TrackParameters>
par =
PS.createUniqueTrackParameters(0., 0., roi.phi(), roi.theta(), 0., std::nullopt);
99 vTR.reserve(DE.size());
101 vTR.push_back(
d->identifyHash());
127 return StatusCode::FAILURE;
132 return StatusCode::SUCCESS;
142 MsgStream&
out =
msg(MSG::INFO);
147 return StatusCode::SUCCESS;
157 std::string
s1;
for(
int i=0;
i<
n; ++
i)
s1.append(
" ");
s1.append(
"|");
159 std::string
s2;
for(
int i=0;
i<
n; ++
i)
s2.append(
" ");
s2.append(
"|");
161 out<<
"|----------------------------------------------------------------"
162 <<
"----------------------------------------------------|"
168 out<<
"|----------------------------------------------------------------"
169 <<
"----------------------------------------------------|"
181 out<<
"|-------------------------------------------------------------------";
182 out<<
"-----------------------------|"
186 ?
"| TRT track segments found with calo seeds |"
187 :
"| TRT track segments found without calo seeds |")
188 <<std::setw(7)<<nsegments
191 out<<
"|-------------------------------------------------------------------";
192 out<<
"-----------------------------|"
MsgStream & dumptools(MsgStream &out) const
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCondObjInputKey
SG::ReadHandleKey< ROIPhiRZContainer > m_caloClusterROIKey
bool msgLvl(const MSG::Level lvl) const
Gaudi::Property< int > m_minNumberDCs
const std::string & key() const
Return the StoreGate ID for the referenced object.
ToolHandle< ITRT_DetElementsRoadMaker > m_roadtool
An algorithm that can be simultaneously executed in multiple threads.
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
MsgStream & dumpevent(MsgStream &out, int nsegments) const
StatusCode execute(const EventContext &ctx) const
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode initialize(bool used=true)
Eigen::Matrix< double, 3, 1 > Vector3D
ToolHandle< ITRT_TrackSegmentsMaker > m_segmentsMakerTool
TRT_TrackSegmentsFinder(const std::string &name, ISvcLocator *pSvcLocator)
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Gaudi::Property< bool > m_useCaloSeeds
std::array< std::vector< std::vector< Used_t > >, 3 > TRT_DetElemUsedMap
Handle class for reading from StoreGate.
size_type size() const noexcept
Returns the number of elements in the collection.
std::atomic< int > m_nsegmentsTotal
SG::WriteHandleKey< Trk::SegmentCollection > m_foundSegmentsKey
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)