ATLAS Offline Software
PlanarModuleStepper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // PlanarModuleStepper.h, ATLAS Detector software
8 
9 #ifndef TRKDIGTOOLS_PLANARMODULESTEPPER_H
10 #define TRKDIGTOOLS_PLANARMODULESTEPPER_H
11 
12 // Amg
13 #include "GeoPrimitives/GeoPrimitives.h" //Amg:: typedefs
14 // Trk
16 
17 // Gaudi & Athena
19 //
20 #include <vector>
21 
22 
23 namespace Trk {
24 
25  class DigitizationModule;
26  struct DigitizationStep;
27 
36  class PlanarModuleStepper : public AthAlgTool, virtual public IModuleStepper {
37 
38  public:
40  PlanarModuleStepper(const std::string&,const std::string&,const IInterface*);
41 
44 
46  StatusCode initialize() override;
47 
49  StatusCode finalize() override;
50 
52  std::vector<DigitizationStep> cellSteps(const DigitizationModule& dmodule,
53  const Amg::Vector3D& startPosition,
54  const Amg::Vector3D& endPosition) const override;
55 
57  std::vector<DigitizationStep> cellSteps(const DigitizationModule& dmodule,
59  const Amg::Vector3D& direction) const override;
60 
61 
62  };
63 
64 } // end of namespace
65 
66 #endif // TRKDIGTOOLS_PLANARMODULESTEPPER_H
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
Trk::PlanarModuleStepper::PlanarModuleStepper
PlanarModuleStepper(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition: PlanarModuleStepper.cxx:19
Trk::DigitizationModule
Definition: DigitizationModule.h:50
intersection
std::vector< std::string > intersection(std::vector< std::string > &v1, std::vector< std::string > &v2)
Definition: compareFlatTrees.cxx:25
Trk::PlanarModuleStepper
Definition: PlanarModuleStepper.h:36
Trk::IModuleStepper
Definition: IModuleStepper.h:32
GeoPrimitives.h
Trk::PlanarModuleStepper::initialize
StatusCode initialize() override
AlgTool initialize method.
Definition: PlanarModuleStepper.cxx:32
Trk::PlanarModuleStepper::cellSteps
std::vector< DigitizationStep > cellSteps(const DigitizationModule &dmodule, const Amg::Vector3D &startPosition, const Amg::Vector3D &endPosition) const override
calculate the steps caused by this track - full simulation interface
Definition: PlanarModuleStepper.cxx:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::PlanarModuleStepper::~PlanarModuleStepper
virtual ~PlanarModuleStepper()
Destructor.
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
AthAlgTool
Definition: AthAlgTool.h:26
IModuleStepper.h
Trk::PlanarModuleStepper::finalize
StatusCode finalize() override
AlgTool finalize method.
Definition: PlanarModuleStepper.cxx:39