#include <RandomProtoTrackCreatorTool.h>
◆ RandomProtoTrackCreatorTool()
ActsTrk::RandomProtoTrackCreatorTool::RandomProtoTrackCreatorTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~RandomProtoTrackCreatorTool()
virtual ActsTrk::RandomProtoTrackCreatorTool::~RandomProtoTrackCreatorTool |
( |
| ) |
|
|
virtualdefault |
◆ findProtoTracks()
EF-style pattern recognition to create prototracks.
- Parameters
-
ctx | Event context |
pixelContainer | pixel cluster |
stripContainer | sct cluster |
foundProtoTracks | vector to hold the found proto tracks - will be populated by the method. Method will not discard existing content
|
Definition at line 16 of file RandomProtoTrackCreatorTool.cxx.
21 std::vector<ActsTrk::ATLASUncalibSourceLink> dummyPoints;
24 for (
size_t k = 0;
k < nPix; ++
k){
35 ATH_MSG_DEBUG(
"Made a proto-track with " <<dummyPoints.size()<<
" random clusters");
42 foundProtoTracks.push_back({dummyPoints,std::move(inputPerigee)});
44 return StatusCode::SUCCESS;
◆ getMeasurementPos()
get the global position for an uncalibrated measurement - delegates to the specialisation
- Parameters
-
theMeas | uncalibrated measurement |
Definition at line 47 of file RandomProtoTrackCreatorTool.cxx.
49 return dynamic_cast <const xAOD::PixelCluster*
>(theMeas)->globalPosition().cast<
double>();
51 return dynamic_cast<const xAOD::StripCluster*
>(theMeas)->globalPosition().cast<
double>();
◆ makeDummyParams()
creates a random, dummy set of parameters Warning: This is not a real parameter estimate.
Should only serve as a placeholder. Use with care
- Parameters
-
firstPRD | First hit on our proto track |
- Returns
- a set of dummy params - just pointing from the origin in a straight line to our hit
Definition at line 57 of file RandomProtoTrackCreatorTool.cxx.
60 using namespace Acts::UnitLiterals;
61 std::shared_ptr<const Acts::Surface> actsSurface = Acts::Surface::makeShared<Acts::PerigeeSurface>(
62 Acts::Vector3(0., 0., 0.));
71 globalPos.phi(), globalPos.theta(),
72 1. / (1000000000. * 1_MeV), 0.;
76 Acts::BoundSquareMatrix
cov = Acts::BoundSquareMatrix::Identity();
79 return std::make_unique<Acts::BoundTrackParameters>(actsSurface,
params,
The documentation for this class was generated from the following files: