ATLAS Offline Software
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 
24 namespace InDet {
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  virtual bool isReEntrant() const override final { return false; }
47 
48  void printStraw(const InDetDD::TRT_BaseElement * elementCS, unsigned int strawNum) const;
49 
50  private:
51 
53  // Private Data
55 
56  const TRT_ID * m_trtid{} ;
57 
58  StringProperty m_fieldmode{this, "MagneticFieldMode", "MapSolenoid",
59  "Mode of magnetic field"};
60  ToolHandle<Trk::IPropagator> m_propTool{this, "PropagatorTool",
61  "Trk::RungeKuttaPropagator"};
62  Trk::MagneticFieldProperties m_fieldprop ; // Magnetic field properties
63  FloatProperty m_pTmin{this, "pTmin", 500.};
64  float m_Psi128{} ;
65  IntegerProperty m_nMom{this, "NumberMomentumChannel", 70,
66  "number momentum channel"};
67  float m_A{} ;
68  float m_Psi{} ;
69  int m_nPhi{} ; // number azimuthal channel
70 
71  void magneticFieldInit();
72 
73  SG::ReadCondHandleKey<InDetDD::TRT_DetElementContainer> m_trtDetEleContKey{this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer"};
74  SG::WriteCondHandleKey<TRT_TrackSegmentsToolCondData_xk> m_writeKey{this, "WriteKey", "TRT_TrackSegmentsToolCondData_xk", "Key of TRT_TrackSegmentsToolCondData_xk"};
75 
77  // Methods
80  };
81 
82 } // end of name space
83 
84 #endif // TRT_TrackSegmentsMakerCondAlg_ATLxk_H
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_trtid
const TRT_ID * m_trtid
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:56
TrackParameters.h
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Trk::MagneticFieldProperties
Definition: MagneticFieldProperties.h:31
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::isReEntrant
virtual bool isReEntrant() const override final
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:46
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_fieldprop
Trk::MagneticFieldProperties m_fieldprop
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:62
TRT_DetElementContainer.h
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:31
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.cxx:73
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_trtDetEleContKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:73
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_nPhi
int m_nPhi
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:69
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::TRT_TrackSegmentsMakerCondAlg_ATLxk
TRT_TrackSegmentsMakerCondAlg_ATLxk(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.cxx:30
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_fieldmode
StringProperty m_fieldmode
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:58
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_propTool
ToolHandle< Trk::IPropagator > m_propTool
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:60
ReadCondHandleKey.h
AthReentrantAlgorithm.h
TRT_TrackSegmentsToolCondData_xk.h
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_Psi
float m_Psi
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:68
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_pTmin
FloatProperty m_pTmin
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:63
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::printStraw
void printStraw(const InDetDD::TRT_BaseElement *elementCS, unsigned int strawNum) const
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::detElementInformation
void detElementInformation(const InDetDD::TRT_BaseElement &, double *)
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer >
CylinderBounds.h
TRT_ID
Definition: TRT_ID.h:84
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::initialize
virtual StatusCode initialize() override
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.cxx:37
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_A
float m_A
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:67
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::magneticFieldInit
void magneticFieldInit()
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.cxx:378
SG::WriteCondHandleKey
Definition: WriteCondHandleKey.h:20
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_Psi128
float m_Psi128
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:64
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_nMom
IntegerProperty m_nMom
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:65
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::~TRT_TrackSegmentsMakerCondAlg_ATLxk
virtual ~TRT_TrackSegmentsMakerCondAlg_ATLxk()=default
InDet::TRT_TrackSegmentsMakerCondAlg_ATLxk::m_writeKey
SG::WriteCondHandleKey< TRT_TrackSegmentsToolCondData_xk > m_writeKey
Definition: TRT_TrackSegmentsMakerCondAlg_ATLxk.h:74
InDetDD::TRT_BaseElement
Definition: TRT_BaseElement.h:57