![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GeoModelKernel/GeoTransform.h"
9 #include "GeoModelKernel/GeoNameTag.h"
10 #include "GeoModelKernel/GeoIdentifierTag.h"
11 #include "GeoModelKernel/GeoBox.h"
12 #include "GeoModelKernel/GeoTrd.h"
13 #include "GeoModelKernel/GeoTube.h"
14 #include "GaudiKernel/SystemOfUnits.h"
21 , GeoModelIO::ReadGeoModel* sqliteReader
22 , std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV
23 , std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX)
42 GeoFullPhysVol* Phys{
nullptr};
44 double safety = 0.001;
50 GeoTube * Shape =
new GeoTube(rmin,rmax,halflength);
52 const GeoLogVol* Log =
new GeoLogVol(
"OutsideDBM",Shape,air);
53 Phys =
new GeoFullPhysVol(Log);
57 GeoVPhysVol* pp0BoardPhys = pp0Board.
Build();
59 GeoTransform* pp0xform =
new GeoTransform(pp0Pos);
60 GeoNameTag* pp0tag =
new GeoNameTag(
"DBM_PP0");
63 Phys->add(pp0BoardPhys);
68 for(
int i=0;
i<4;
i++)
88 GeoNameTag*
tag =
new GeoNameTag(
"DBM Module");
89 GeoVPhysVol* dbmModPhys = dbm.
Build();
91 Phys->add(
new GeoIdentifierTag(
i));
93 Phys->add(dbmModPhys);
108 for(
int disk=0; disk<numDisk; disk++){
virtual void SetEta(int eta)=0
virtual double DBMTelescopeZ()=0
const SiNumerology & numerology() const
Access Numerology.
int numEndcapsDBM() const
std::vector< double > m_module[4]
std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > m_mapAX
GeoModelIO::ReadGeoModel * m_sqliteReader
virtual double DBMTelescopeY()=0
InDetDD::PixelDetectorManager * m_DDmgr
PixelGeometryManager * m_gmt_mgr
void setNumDisksDBM(int nDisks)
Diamond Beam Monitor telescope builder.
std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > m_mapFPV
Eigen::Affine3d Transform3D
virtual GeoVPhysVol * Build() override
virtual void SetPhi(int phi)=0
virtual GeoVPhysVol * Build() override
void setNumBarrelDBM(int nBarrel)
std::string to_string(const DetectorType &type)
InDetMaterialManager * m_mat_mgr
virtual double DBMPP0Thick()=0
DBM_Det(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)
Eigen::Translation< double, 3 > Translation3D
void setNumPhiModulesForDiskRingDBM(int disk, int ring, int nPhiModules)
This is the base class for all the pieces of the Pixel detector.
const GeoMaterial * getMaterial(const std::string &materialName)
Get material. First looks for locally defined material and if not found looks in GeoModel material ma...
virtual GeoVPhysVol * Build() override
void addEndcapDBM(int id)