#include <RandomProtoTrackCreator.h>
Definition at line 15 of file RandomProtoTrackCreator.h.
◆ RandomProtoTrackCreator()
ActsTrk::RandomProtoTrackCreator::RandomProtoTrackCreator |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~RandomProtoTrackCreator()
virtual ActsTrk::RandomProtoTrackCreator::~RandomProtoTrackCreator |
( |
| ) |
|
|
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 13 of file RandomProtoTrackCreator.cxx.
18 std::vector<ActsTrk::ATLASUncalibSourceLink> dummyPoints;
21 for (
size_t k = 0;
k < nPix; ++
k){
32 ATH_MSG_DEBUG(
"Made a proto-track with " <<dummyPoints.size()<<
" random clusters");
39 foundProtoTracks.push_back({dummyPoints,std::move(inputPerigee)});
41 return StatusCode::SUCCESS;
◆ getMeasurementPos()
get the global position for an uncalibrated measurement - delegates to the specialisation
- Parameters
-
theMeas | uncalibrated measurement |
Definition at line 44 of file RandomProtoTrackCreator.cxx.
46 return dynamic_cast <const xAOD::PixelCluster*
>(theMeas)->globalPosition().cast<
double>();
48 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 54 of file RandomProtoTrackCreator.cxx.
57 using namespace Acts::UnitLiterals;
58 std::shared_ptr<const Acts::Surface> actsSurface = Acts::Surface::makeShared<Acts::PerigeeSurface>(
59 Acts::Vector3(0., 0., 0.));
68 globalPos.phi(), globalPos.theta(),
69 1. / (1000000000. * 1_MeV), 0.;
73 Acts::BoundSquareMatrix
cov = Acts::BoundSquareMatrix::Identity();
76 return std::make_unique<Acts::BoundTrackParameters>(actsSurface,
params,
The documentation for this class was generated from the following files: