|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #include "GeoModelKernel/GeoNameTag.h"
15 #include "GeoModelKernel/GeoPhysVol.h"
16 #include "GeoModelKernel/GeoAlignableTransform.h"
35 :
InDetDD::DetectorFactoryBase(athenaComps),
36 m_detectorManager(nullptr)
53 std::unique_ptr<SiCommonItems> commonItems{std::make_unique<SiCommonItems>(athenaComps->
getIdHelper())};
62 <<
"\" which is inconsistent with the layout choosen!"
71 std::string versionName =
"DC2";
72 std::string layout =
"Final";
74 int versionMajorNumber = 2;
75 int versionMinorNumber = 2;
76 int versionPatchNumber = 0;
80 versionMinorNumber = 1;
91 description =
"DC1 Geometry (300um B-Layer pixels)";
92 versionMajorNumber = 1;
93 versionMinorNumber = 2;
96 versionMinorNumber = 1;
123 msg(MSG::INFO) <<
"Building Pixel Detector" <<
endmsg;
137 GeoVPhysVol* pephys =
pe.Build() ;
138 GeoAlignableTransform *
transform =
new GeoAlignableTransform(GeoTrf::Transform3D::Identity());
143 GeoNameTag *
tag =
new GeoNameTag(
"Pixel");
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
const SiNumerology & numerology() const
Access Numerology.
virtual bool InitialLayout() const =0
int columns() const
Number of cell columns per module:
int rows() const
Number of cell rows per module:
virtual void SetInitialLayout(bool flag)=0
void setMaxNumEtaCells(int cells)
void setVersion(const Version &version)
virtual void setCommonItems(InDetDD::SiCommonItems *commonItems)=0
MsgStream & msg(MSG::Level lvl) const
void setCommonItems(std::unique_ptr< const SiCommonItems > &&commonItems)
Set SiCommonItems.
virtual void SetCurrentLD(int i)=0
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
virtual std::string versionTag() const =0
PixelGeoDC2::PixelGeometryManager * m_geometryManager
bool initialLayout() const
StoreGateSvc * detStore()
bool g3CompatibleDigits() const
InDetDD::PixelDetectorManager * m_detectorManager
virtual void initNeighbours() override
Initialize the neighbours.
const PixelID * getIdHelper() const
virtual const PixelID * getIdHelper()=0
void addFolder(const std::string &key)
virtual void SetBarrel()=0
void setMaxNumPhiCells(int cells)
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
const Version & getVersion() const
Get version information.
void addTreeTop(const PVConstLink &vol)
Add a Tree top:
virtual void SetServices(bool isservice)=0
virtual void SetDC1Geometry(bool flag)=0
virtual void SetG3CompatibleDigits(bool flag)=0
virtual void addAlignableTransform(int level, const Identifier &id, GeoAlignableTransform *xf, const GeoVFullPhysVol *child)
Add alignable transforms.
virtual const InDetDD::PixelDetectorManager * getDetectorManager() const
bool msgLvl(MSG::Level lvl)
const std::string & tag() const
Get tag used in dictionary.
PixelDetectorFactoryDC2(PixelGeoModelAthenaComps *athenaComps, const PixelSwitches &switches)
Class to hold various Athena components.
virtual double PixelBoardThickness()=0
std::string fullDescription() const
Full Description For example, Version: SCT-DC1-00, Name: DC1, Layout: Final, Code Version: 2....
virtual bool Alignable() const =0
virtual void SetAlignable(bool flag)=0
virtual bool DC1Geometry() const =0
~PixelDetectorFactoryDC2()
void addChannel(const std::string &key, int level, FrameType frame)
Alignment access.
virtual void create(GeoPhysVol *world)
virtual const PixelModuleDesign * getPixelDesign(int i) const
Access to module design, Casts to PixelModuleDesign.
std::string description
glabal timer - how long have I taken so far?
virtual bool G3CompatibleDigits() const =0
virtual double DesignPitchZ(bool isBLayer)=0