ATLAS Offline Software
GeoPixelTMT.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PIXELGEOMODEL_GEOPIXELTMT_H
6 #define PIXELGEOMODEL_GEOPIXELTMT_H
7 
8 #include "GeoPixelStaveSupport.h"
10 #include "GeoModelKernel/GeoDefinitions.h"
11 
12 class GeoShape;
13 
15 
16 public:
19  GeoModelIO::ReadGeoModel* sqliteReader,
20  std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
21  std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX);
22  virtual ~GeoPixelTMT() = default;
23  virtual GeoVPhysVol* Build() override;
24  virtual GeoVPhysVol* getPhysVol () override {return m_physVol;}
25  virtual const GeoTrf::Transform3D & transform() const override {return m_transform;}
26  virtual double thicknessP() const override {return 0;} // Use ladder thickness from database
27  virtual double thicknessN() const override {return 0;} // Use ladder thickness from database
28  virtual GeoSimplePolygonBrep* computeStaveEnvelopShape(double) override { return 0;}
29  virtual GeoVPhysVol* getEndblockEnvelopShape(int) override {return 0;}
30  virtual GeoTransform* getEndblockEnvelopShapeTrf(int) override {return 0;}
31  virtual double getEndblockZpos() const override { return 0.; }
32  virtual double getServiceZpos() const override { return 0; }
33  virtual double getEndblockLength() const override { return 0.; }
34  virtual void computeStaveEnvelopTransformAndSize(double ,double, double, double, double, double) override {};
35 
36  virtual int PixelNModule() const override {return 0;}
37  virtual int PixelNPlanarModule() const override {return 0;}
38  virtual int PixelN3DModule() const override {return 0;}
39 
40 private:
41  const GeoShape * addShape(const GeoShape * lastShape, const GeoShape * nextShape, const GeoTrf::Transform3D & trans);
42 
43  PVLink m_physVol{nullptr};
45 };
46 
47 #endif
48 
49 
50 
GeoPixelTMT::addShape
const GeoShape * addShape(const GeoShape *lastShape, const GeoShape *nextShape, const GeoTrf::Transform3D &trans)
Definition: GeoPixelTMT.cxx:151
GeoPixelTMT::computeStaveEnvelopShape
virtual GeoSimplePolygonBrep * computeStaveEnvelopShape(double) override
Definition: GeoPixelTMT.h:28
GeoPixelTMT::m_transform
GeoTrf::Transform3D m_transform
Definition: GeoPixelTMT.h:44
GeoPixelTMT::getServiceZpos
virtual double getServiceZpos() const override
Definition: GeoPixelTMT.h:32
GeoPixelTMT::Build
virtual GeoVPhysVol * Build() override
Definition: GeoPixelTMT.cxx:40
PixelGeometryManager
Definition: PixelGeometryManager.h:28
GeoPixelTMT::getPhysVol
virtual GeoVPhysVol * getPhysVol() override
Definition: GeoPixelTMT.h:24
GeoPixelTMT
Definition: GeoPixelTMT.h:14
GeoPixelTMT::transform
virtual const GeoTrf::Transform3D & transform() const override
Definition: GeoPixelTMT.h:25
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
GeoPrimitives.h
GeoPixelTMT::GeoPixelTMT
GeoPixelTMT(InDetDD::PixelDetectorManager *ddmgr, PixelGeometryManager *mgr, GeoModelIO::ReadGeoModel *sqliteReader, std::shared_ptr< std::map< std::string, GeoFullPhysVol * >> mapFPV, std::shared_ptr< std::map< std::string, GeoAlignableTransform * >> mapAX)
Definition: GeoPixelTMT.cxx:25
GeoPixelTMT::getEndblockLength
virtual double getEndblockLength() const override
Definition: GeoPixelTMT.h:33
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
GeoPixelTMT::getEndblockEnvelopShapeTrf
virtual GeoTransform * getEndblockEnvelopShapeTrf(int) override
Definition: GeoPixelTMT.h:30
GeoPixelTMT::thicknessN
virtual double thicknessN() const override
Definition: GeoPixelTMT.h:27
InDetDD::PixelDetectorManager
Definition: PixelDetectorManager.h:47
GeoPixelTMT::~GeoPixelTMT
virtual ~GeoPixelTMT()=default
GeoPixelTMT::getEndblockEnvelopShape
virtual GeoVPhysVol * getEndblockEnvelopShape(int) override
Definition: GeoPixelTMT.h:29
GeoPixelTMT::PixelN3DModule
virtual int PixelN3DModule() const override
Definition: GeoPixelTMT.h:38
GeoPixelTMT::PixelNModule
virtual int PixelNModule() const override
Definition: GeoPixelTMT.h:36
GeoPixelTMT::m_physVol
PVLink m_physVol
Definition: GeoPixelTMT.h:43
GeoPixelTMT::thicknessP
virtual double thicknessP() const override
Definition: GeoPixelTMT.h:26
GeoPixelTMT::getEndblockZpos
virtual double getEndblockZpos() const override
Definition: GeoPixelTMT.h:31
GeoPixelStaveSupport
Definition: GeoPixelStaveSupport.h:14
GeoPixelTMT::computeStaveEnvelopTransformAndSize
virtual void computeStaveEnvelopTransformAndSize(double, double, double, double, double, double) override
Definition: GeoPixelTMT.h:34
GeoPixelTMT::PixelNPlanarModule
virtual int PixelNPlanarModule() const override
Definition: GeoPixelTMT.h:37
GeoPixelStaveSupport.h