ATLAS Offline Software
FtfRoadDefiner.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGL2MUONSA_FTFROADDEFINER_H
6 #define TRIGL2MUONSA_FTFROADDEFINER_H
7 
9 #include "GaudiKernel/ToolHandle.h"
10 
11 #include "MuonRoad.h"
12 
15 
16 namespace TrigL2MuonSA {
17 
18  // --------------------------------------------------------------------------------
19  // --------------------------------------------------------------------------------
20 
21  class FtfRoadDefiner: public AthAlgTool
22  {
23  public:
24 
25  FtfRoadDefiner(const std::string& type,
26  const std::string& name,
27  const IInterface* parent);
28 
29  virtual StatusCode initialize() override;
30 
31  public:
33  TrigL2MuonSA::MuonRoad& muonRoad) const;
34  std::unique_ptr<const Trk::TrackParameters> extTrack( const bool CylinderFirst, const xAOD::TrackParticle* trk, const double R, const double Z, int& extFlag ) const;
35  std::unique_ptr<const Trk::TrackParameters> extTrack( const bool CylinderFirst, const Trk::TrackParameters& param, const double R, const double Z, int& extFlag ) const;
36 
37  protected:
38 
39  private:
40  ToolHandle<Trk::IExtrapolator> m_extrapolator{
41  this, "IOExtrapolator", "Trk::Extrapolator/AtlasExtrapolator"};
42 
43  };
44 
45  // --------------------------------------------------------------------------------
46  // --------------------------------------------------------------------------------
47 }
48 
49 #endif // TRIGL2MUONSA_FTFROADDEFINER_H
MuonRoad.h
IExtrapolator.h
TrigL2MuonSA::FtfRoadDefiner
Definition: FtfRoadDefiner.h:22
TrigL2MuonSA::FtfRoadDefiner::defineRoad
StatusCode defineRoad(const xAOD::TrackParticle *idtrack, TrigL2MuonSA::MuonRoad &muonRoad) const
Definition: FtfRoadDefiner.cxx:28
TrigL2MuonSA::FtfRoadDefiner::initialize
virtual StatusCode initialize() override
Definition: FtfRoadDefiner.cxx:17
TrigL2MuonSA::MuonRoad
Definition: MuonRoad.h:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigL2MuonSA::FtfRoadDefiner::m_extrapolator
ToolHandle< Trk::IExtrapolator > m_extrapolator
Definition: FtfRoadDefiner.h:40
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk::ParametersBase
Definition: ParametersBase.h:55
TrigL2MuonSA::FtfRoadDefiner::extTrack
std::unique_ptr< const Trk::TrackParameters > extTrack(const bool CylinderFirst, const xAOD::TrackParticle *trk, const double R, const double Z, int &extFlag) const
Definition: FtfRoadDefiner.cxx:171
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigL2MuonSA::FtfRoadDefiner::FtfRoadDefiner
FtfRoadDefiner(const std::string &type, const std::string &name, const IInterface *parent)
Definition: FtfRoadDefiner.cxx:7
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
AthAlgTool
Definition: AthAlgTool.h:26
TrackParticleContainer.h
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13