ATLAS Offline Software
Loading...
Searching...
No Matches
CombinedExtrapolatorTest.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6// CombinedExtrapolatorTest.h, (c) ATLAS Detector software
8
9#ifndef TRKEXALGS_COMBINEDEXTRAPOLATORTEST_H
10#define TRKEXALGS_COMBINEDEXTRAPOLATORTEST_H
11
12// Gaudi includes
14#include "GaudiKernel/IRndmGenSvc.h"
15#include "GaudiKernel/RndmGenerators.h"
16#include "GaudiKernel/ToolHandle.h"
17#include "GaudiKernel/SystemOfUnits.h"
18#include <string>
19
21
22
23namespace Trk
24{
25 class Surface;
26 class TrackingVolume;
27 class TrackingGeometry;
28
36
38 {
39 public:
40
42 CombinedExtrapolatorTest(const std::string& name, ISvcLocator* pSvcLocator);
45
47 StatusCode initialize();
49 StatusCode execute();
51 StatusCode finalize();
52
53 private:
55 ToolHandle<IExtrapolator> m_extrapolator
56 {this, "Extrapolator", "Trk::Extrapolator/AtlasExtrapolator"};
57
59 Rndm::Numbers* m_gaussDist = nullptr;
60 Rndm::Numbers* m_flatDist = nullptr;
61
62 DoubleProperty m_sigmaD0{this, "StartPerigeeSigmaD0", 17.*Gaudi::Units::micrometer};
63 DoubleProperty m_minZ0{this, "StartPerigeeMinZ0", -25000.};
64 DoubleProperty m_maxZ0{this, "StartPerigeeMaxZ0", +25000.};
65 DoubleProperty m_minP{this, "StartPerigeeMinP", 0.5*Gaudi::Units::GeV};
66 DoubleProperty m_maxP{this, "StartPerigeeMaxP", 50000.*Gaudi::Units::GeV};
67
70
71 IntegerProperty m_particleType{this, "ParticleType", Trk::muon,
72 "the particle type for the extrap."};
73
74
75 };
76} // end of namespace
77
78#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StatusCode initialize()
standard Athena-Algorithm method
const Trk::TrackingVolume * m_outerBoundary
StatusCode finalize()
standard Athena-Algorithm method
const Trk::TrackingGeometry * m_trackingGeometry
Rndm::Numbers * m_gaussDist
Random Number setup.
ToolHandle< IExtrapolator > m_extrapolator
The Extrapolator to be retrieved.
CombinedExtrapolatorTest(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
StatusCode execute()
standard Athena-Algorithm method
Abstract Base Class for tracking surfaces.
The TrackingGeometry class is the owner of the constructed TrackingVolumes.
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...
Ensure that the ATLAS eigen extensions are properly loaded.