|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef SiDetElementsRoadMaker_xk_H
15 #define SiDetElementsRoadMaker_xk_H
29 #include "GaudiKernel/ToolHandle.h"
57 class SiDetElementRoadMakerData_xk;
60 public extends<AthAlgTool, ISiDetElementsRoadMaker>
73 (
const std::string&,
const std::string&,
const IInterface*);
95 (std::deque<Amg::Vector3D>& globalPositions,
96 std::vector<const InDetDD::SiDetectorElement*>& Road,
99 const EventContext& ctx)
const override;
111 (
const EventContext& ctx,
115 std::vector<const InDetDD::SiDetectorElement*>& Road,
123 MsgStream&
dump(MsgStream &
out)
const override;
124 std::ostream&
dump(std::ostream&
out)
const override;
135 PublicToolHandle<Trk::IPropagator>
m_proptool{
this,
"PropagatorTool",
136 "Trk::RungeKuttaPropagator/InDetPropagator",
"Propagator tool"};
142 "SiDetElementsLayerVectors_xk",
"Key of SiDetElementsLayerVectors_xk"};
145 "Name of the Magnetic Field conditions object key"};
152 FloatProperty
m_width{
this,
"RoadWidth", 20.,
"Width of the road"};
153 DoubleProperty
m_step{
this,
"MaxStep", 40.,
"Max step allowed"};
154 StringProperty
m_pix{
this,
"PixManagerLocation",
"Pixel",
"PIX manager location"};
155 StringProperty
m_sct{
this,
"SCTManagerLocation",
"SCT",
"SCT manager location"};
156 StringProperty
m_fieldmode{
this,
"MagneticFieldMode",
"MapSolenoid",
"Mode of magnetic field"};
186 return layerVec.
cptr();
200 #endif // SiDetElementsRoadMaker_xk_H
PublicToolHandle< Trk::IPropagator > m_proptool
char data[hepevt_bytes_allocation_ATLAS]
MsgStream & operator<<(MsgStream &, const GNNTrackReaderTool &)
virtual StatusCode initialize() override
virtual StatusCode finalize() override
BooleanProperty m_ITkGeometry
static float stepToDetElement(const InDetDD::SiDetectorElement *&, Amg::Vector3D &, Amg::Vector3D &)
StringProperty m_fieldmode
const std::string & key() const
Return the StoreGate ID for the referenced object.
MsgStream & dump(MsgStream &out) const override
static void bookUsageTracker(InDet::SiDetElementRoadMakerData_xk &data, const SiDetElementsLayerVectors_xk &layers)
this method is used to initialize the detector element usage tracker member of the event data struct ...
SG::ReadCondHandleKey< SiDetElementsLayerVectors_xk > m_layerVecKey
Created by SiDetElementsRoadCondAlg_xk.
Trk::CylinderBounds m_bounds
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCondObjInputKey
::StatusCode StatusCode
StatusCode definition for legacy code.
SiDetElementsRoadMaker_xk(const std::string &, const std::string &, const IInterface *)
virtual ~SiDetElementsRoadMaker_xk()=default
@ FullField
Field is set to be realistic, but within a given Volume.
MsgStream & dumpConditions(MsgStream &out) const
std::vector< std::vector< InDet::SiDetElementsLayer_xk > > SiDetElementsLayerVectors_xk
Eigen::Matrix< double, 3, 1 > Vector3D
virtual void detElementsRoad(std::deque< Amg::Vector3D > &globalPositions, std::vector< const InDetDD::SiDetectorElement * > &Road, bool testDirection, SiDetElementRoadMakerData_xk &roadMakerData, const EventContext &ctx) const override
This signature assumes you already have a list of positions along the trajectory.
const SiDetElementsLayerVectors_xk * getLayers(const EventContext &ctx) const
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Maintain a set of objects, one per slot.
Trk::CylinderBounds getBound(MagField::AtlasFieldCache &fieldCache, const Trk::TrackParameters &) const
const_pointer_type cptr()
Trk::MagneticFieldMode m_fieldModeEnum