ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_TrackSegmentsMakerCondAlg_ATLxk.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// Header file for class TRT_TrackSegmentsMakerCondAlg_ATLxk
9
10#ifndef TRT_TrackSegmentsMakerCondAlg_ATLxk_H
11#define TRT_TrackSegmentsMakerCondAlg_ATLxk_H
12
21
22#include <vector>
23
24namespace InDet {
29
31 {
33 // Public methods:
35
36 public:
37
39 // Standard tool methods
41
42 TRT_TrackSegmentsMakerCondAlg_ATLxk(const std::string& name, ISvcLocator* pSvcLocator);
44 virtual StatusCode initialize() override;
45 virtual StatusCode execute(const EventContext& ctx) const override;
46
47 void printStraw(const InDetDD::TRT_BaseElement * elementCS, unsigned int strawNum) const;
48
49 private:
50
52 // Private Data
54
55 const TRT_ID * m_trtid{} ;
56
57 StringProperty m_fieldmode{this, "MagneticFieldMode", "MapSolenoid",
58 "Mode of magnetic field"};
59 ToolHandle<Trk::IPropagator> m_propTool{this, "PropagatorTool",
60 "Trk::RungeKuttaPropagator"};
61 Trk::MagneticFieldProperties m_fieldprop ; // Magnetic field properties
62 FloatProperty m_pTmin{this, "pTmin", 500.};
63 float m_Psi128{} ;
64 IntegerProperty m_nMom{this, "NumberMomentumChannel", 70,
65 "number momentum channel"};
66 float m_A{} ;
67 float m_Psi{} ;
68 int m_nPhi{} ; // number azimuthal channel
69
70 void magneticFieldInit();
71
72 SG::ReadCondHandleKey<InDetDD::TRT_DetElementContainer> m_trtDetEleContKey{this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer"};
73 SG::WriteCondHandleKey<TRT_TrackSegmentsToolCondData_xk> m_writeKey{this, "WriteKey", "TRT_TrackSegmentsToolCondData_xk", "Key of TRT_TrackSegmentsToolCondData_xk"};
74
76 // Methods
79 };
80
81} // end of name space
82
83#endif // TRT_TrackSegmentsMakerCondAlg_ATLxk_H
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Base class for conditions algorithms.
Virtual base class of TRT readout elements.
void detElementInformation(const InDetDD::TRT_BaseElement &, double *)
virtual StatusCode execute(const EventContext &ctx) const override
TRT_TrackSegmentsMakerCondAlg_ATLxk(const std::string &name, ISvcLocator *pSvcLocator)
virtual ~TRT_TrackSegmentsMakerCondAlg_ATLxk()=default
void printStraw(const InDetDD::TRT_BaseElement *elementCS, unsigned int strawNum) const
SG::WriteCondHandleKey< TRT_TrackSegmentsToolCondData_xk > m_writeKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82
magnetic field properties to steer the behavior of the extrapolation
Primary Vertex Finder.