ATLAS Offline Software
SubtractedCylinderLayer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // SubtractedCylinderLayer.h, (c) ATLAS Detector software
8 
9 #ifndef TRKGEOMETRY_SUBTRACTEDCYLINDERLAYER_H
10 #define TRKGEOMETRY_SUBTRACTEDCYLINDERLAYER_H
11 
12 class MsgStream;
13 
16 #include "TrkGeometry/Layer.h"
18 
19 namespace Trk {
20 
21 class LayerMaterialProperties;
22 class OverlapDescriptor;
23 
35  , public Layer
36 {
37 public:
40 
44  const LayerMaterialProperties& laymatprop,
45  double thickness = 0.,
46  std::unique_ptr<OverlapDescriptor> od = nullptr,
47  int laytyp = int(Trk::active));
48 
51 
54  const Amg::Transform3D& tr);
55 
58 
60  virtual ~SubtractedCylinderLayer() override {}
61 
63  virtual const SubtractedCylinderSurface& surfaceRepresentation() const override final;
64  virtual SubtractedCylinderSurface& surfaceRepresentation() override final;
65 
66 
68  virtual double preUpdateMaterialFactor(
70  Trk::PropDirection dir) const override final;
71 
73  virtual double postUpdateMaterialFactor(
75  Trk::PropDirection dir) const override final;
76 
79 
81  virtual void moveLayer(Amg::Transform3D& shift) override final;
82 
84  virtual void resizeLayer(const VolumeBounds&, double) override final {}
85 
88  const Amg::Vector3D&,
89  double) override final {}
90 };
91 
92 } // namespace Trk
93 
94 #endif // TRKGEOMETRY_SUBTRACTEDCYLINDERLAYER_H
95 
Trk::SubtractedCylinderLayer::resizeAndRepositionLayer
virtual void resizeAndRepositionLayer(const VolumeBounds &, const Amg::Vector3D &, double) override final
Resize the layer to the tracking volume - not implemented.
Definition: SubtractedCylinderLayer.h:87
Trk::SubtractedCylinderSurface
Definition: SubtractedCylinderSurface.h:33
Trk::SubtractedCylinderLayer::surfaceRepresentation
virtual const SubtractedCylinderSurface & surfaceRepresentation() const override final
Transforms the layer into a Surface representation for extrapolation.
Definition: SubtractedCylinderLayer.cxx:43
BinnedArray.h
Trk::SubtractedCylinderLayer::preUpdateMaterialFactor
virtual double preUpdateMaterialFactor(const Trk::TrackParameters &par, Trk::PropDirection dir) const override final
getting the MaterialProperties back - for pre-update
Definition: SubtractedCylinderLayer.cxx:54
Trk::SubtractedCylinderLayer::SubtractedCylinderLayer
SubtractedCylinderLayer(const SubtractedCylinderLayer &cla)
Copy constructor.
PropDirection.h
Layer.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Trk::SubtractedCylinderLayer::postUpdateMaterialFactor
virtual double postUpdateMaterialFactor(const Trk::TrackParameters &par, Trk::PropDirection dir) const override final
getting the MaterialProperties back - for post-update
Definition: SubtractedCylinderLayer.cxx:65
Trk::VolumeBounds
Definition: VolumeBounds.h:45
Trk::PropDirection
PropDirection
Definition: PropDirection.h:19
Trk::active
@ active
Definition: Layer.h:48
Trk::SubtractedCylinderSurface::insideBounds
virtual bool insideBounds(const Amg::Vector2D &locpos, double tol1=0., double tol2=0.) const override final
This method calls the inside() method of the Bounds.
Trk::CylinderSurface
Definition: CylinderSurface.h:55
Trk::LayerMaterialProperties
Definition: LayerMaterialProperties.h:62
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
SubtractedCylinderSurface.h
Trk::SubtractedCylinderLayer::operator=
SubtractedCylinderLayer & operator=(const SubtractedCylinderLayer &)
Assignment operator.
Definition: SubtractedCylinderLayer.cxx:32
Trk::ParametersBase
Definition: ParametersBase.h:55
beamspotman.dir
string dir
Definition: beamspotman.py:623
Trk::SubtractedCylinderLayer::resizeLayer
virtual void resizeLayer(const VolumeBounds &, double) override final
Resize the layer to the tracking volume - not implemented.
Definition: SubtractedCylinderLayer.h:84
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Amg
Definition of ATLAS Math & Geometry primitives (Amg)
Definition: AmgStringHelpers.h:19
createCoolChannelIdFile.par
par
Definition: createCoolChannelIdFile.py:29
Trk::Layer::thickness
double thickness() const
Return the Thickness of the Layer.
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::SubtractedCylinderLayer::SubtractedCylinderLayer
SubtractedCylinderLayer()
Default Constructor.
Definition: SubtractedCylinderLayer.h:39
Trk::SubtractedCylinderLayer::~SubtractedCylinderLayer
virtual ~SubtractedCylinderLayer() override
Destructor.
Definition: SubtractedCylinderLayer.h:60
Trk::SubtractedCylinderLayer::moveLayer
virtual void moveLayer(Amg::Transform3D &shift) override final
move the Layer
Definition: SubtractedCylinderLayer.cxx:75
Trk::SubtractedCylinderLayer
Definition: SubtractedCylinderLayer.h:36
Trk::Layer
Definition: Layer.h:73