ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
PixelGeoDC2::GeoPixelSubDisk Class Reference

#include <PixelDetectorDC1DC2.h>

Inheritance diagram for PixelGeoDC2::GeoPixelSubDisk:
Collaboration diagram for PixelGeoDC2::GeoPixelSubDisk:

Public Member Functions

 GeoPixelSubDisk (InDetDD::PixelDetectorManager *ddmgr, PixelGeometryManager *mgr, GeoPixelSiCrystal &theSensor)
 
virtual ~GeoPixelSubDisk ()=default
 
 GeoPixelSubDisk (const GeoPixelSubDisk &)=delete
 
GeoPixelSubDiskoperator= (const GeoPixelSubDisk &)=delete
 
virtual GeoVPhysVol * Build () override
 
double Thickness ()
 
double RMax ()
 
double RMin ()
 

Protected Attributes

PixelGeometryManagerm_gmt_mgr {}
 
StoredMaterialManagerm_mat_mgr {}
 
InDetDD::PixelDetectorManagerm_DDmgr {}
 
const double m_epsilon {}
 

Private Attributes

GeoPixelSiCrystalm_theSensor
 
GeoIntrusivePtr< GeoLogVol > m_theSubDisk
 

Detailed Description

Definition at line 334 of file PixelDetectorDC1DC2.h.

Constructor & Destructor Documentation

◆ GeoPixelSubDisk() [1/2]

GeoPixelSubDisk::GeoPixelSubDisk ( InDetDD::PixelDetectorManager ddmgr,
PixelGeometryManager mgr,
GeoPixelSiCrystal theSensor 
)

Definition at line 1334 of file PixelDetectorDC1DC2.cxx.

1337  : GeoVPixelFactory (ddmgr, mgr),
1338  m_theSensor(theSensor)
1339 {
1340  //
1341  // Define the log volume in the constructor, so I do it only once.
1342  //
1343 
1344  //
1345  // Dimensions from class methods.
1346  //
1347  double rmin = RMin();
1348  double rmax = RMax();
1349  double halflength = Thickness()/2.;
1350  const GeoMaterial* air = m_mat_mgr->getMaterial("std::Air");
1351  const GeoTubs* SDTubs = new GeoTubs(rmin,rmax,halflength,-180.*Gaudi::Units::deg/m_gmt_mgr->PixelECNSectors1()+0.000005,360.*Gaudi::Units::deg/m_gmt_mgr->PixelECNSectors1()-0.00001);
1352  m_theSubDisk = new GeoLogVol("SubDiskLog",SDTubs,air);
1353 
1354 }

◆ ~GeoPixelSubDisk()

virtual PixelGeoDC2::GeoPixelSubDisk::~GeoPixelSubDisk ( )
virtualdefault

◆ GeoPixelSubDisk() [2/2]

PixelGeoDC2::GeoPixelSubDisk::GeoPixelSubDisk ( const GeoPixelSubDisk )
delete

Member Function Documentation

◆ Build()

GeoVPhysVol * GeoPixelSubDisk::Build ( )
overridevirtual

Implements PixelGeoDC2::GeoVPixelFactory.

Definition at line 1357 of file PixelDetectorDC1DC2.cxx.

1357  {
1358  GeoFullPhysVol* SDPhys = new GeoFullPhysVol(m_theSubDisk);
1359  //
1360  // Place the Si Crystal
1361  //
1362  double xpos = RMin()+m_gmt_mgr->PixelBoardLength()/2.;
1363  GeoNameTag* tag = new GeoNameTag("SiCrystal");
1364  GeoTrf::Transform3D rm = GeoTrf::RotateX3D(180.*Gaudi::Units::deg)*GeoTrf::RotateY3D(90.*Gaudi::Units::deg);
1365  GeoTrf::Translation3D pos(xpos,0.,0.);
1366  GeoAlignableTransform* xformsi = new GeoAlignableTransform(GeoTrf::Transform3D(pos*rm));
1367  SDPhys->add(tag);
1368  SDPhys->add(new GeoIdentifierTag(200) );
1369  SDPhys->add(xformsi);
1370  SDPhys->add(m_theSensor.Build() );
1371  //
1372  // Place the Hybrid
1373  //
1375  tag = new GeoNameTag("Hybrid");
1377  pos = GeoTrf::Translation3D(xpos,0.,zpos);
1378  GeoTransform* xform = new GeoTransform(GeoTrf::Transform3D(pos*rm) );
1379  SDPhys->add(tag);
1380  SDPhys->add(xform);
1381  SDPhys->add(ph.Build() );
1382 //
1383 // Place the Chip
1384 //
1386  tag = new GeoNameTag("Chip");
1388  pos = GeoTrf::Translation3D(xpos,0.,zpos);
1389  xform = new GeoTransform(GeoTrf::Transform3D(pos*rm) );
1390  SDPhys->add(tag);
1391  SDPhys->add(xform);
1392  SDPhys->add(pc.Build() );
1393  return SDPhys;
1394 }

◆ operator=()

GeoPixelSubDisk& PixelGeoDC2::GeoPixelSubDisk::operator= ( const GeoPixelSubDisk )
delete

◆ RMax()

double GeoPixelSubDisk::RMax ( )

Definition at line 1401 of file PixelDetectorDC1DC2.cxx.

1401  {
1402  return RMin()+sqrt(pow(m_gmt_mgr->PixelBoardLength(),2)+pow(m_gmt_mgr->PixelBoardWidth(),2));
1403 }

◆ RMin()

double GeoPixelSubDisk::RMin ( )

Definition at line 1397 of file PixelDetectorDC1DC2.cxx.

1397  {
1399 }

◆ Thickness()

double GeoPixelSubDisk::Thickness ( )

Definition at line 1405 of file PixelDetectorDC1DC2.cxx.

1405  {
1406  //
1407  // This is the sum of the Thickness of the board + twice the maximum
1408  // b/w the thickness of the hybrid and that of the electronics
1409  // twice for symmetric placement.
1410  //
1411 
1413 }

Member Data Documentation

◆ m_DDmgr

InDetDD::PixelDetectorManager* PixelGeoDC2::GeoVPixelFactory::m_DDmgr {}
protectedinherited

Definition at line 53 of file PixelDetectorDC1DC2.h.

◆ m_epsilon

const double PixelGeoDC2::GeoVPixelFactory::m_epsilon {}
protectedinherited

Definition at line 54 of file PixelDetectorDC1DC2.h.

◆ m_gmt_mgr

PixelGeometryManager* PixelGeoDC2::GeoVPixelFactory::m_gmt_mgr {}
protectedinherited

Definition at line 51 of file PixelDetectorDC1DC2.h.

◆ m_mat_mgr

StoredMaterialManager* PixelGeoDC2::GeoVPixelFactory::m_mat_mgr {}
protectedinherited

Definition at line 52 of file PixelDetectorDC1DC2.h.

◆ m_theSensor

GeoPixelSiCrystal& PixelGeoDC2::GeoPixelSubDisk::m_theSensor
private

Definition at line 347 of file PixelDetectorDC1DC2.h.

◆ m_theSubDisk

GeoIntrusivePtr<GeoLogVol> PixelGeoDC2::GeoPixelSubDisk::m_theSubDisk
private

Definition at line 348 of file PixelDetectorDC1DC2.h.


The documentation for this class was generated from the following files:
PixelGeoDC2::PixelGeometryManager::PixelChipGap
virtual double PixelChipGap()=0
PixelGeoDC2::GeoVPixelFactory::m_gmt_mgr
PixelGeometryManager * m_gmt_mgr
Definition: PixelDetectorDC1DC2.h:51
max
#define max(a, b)
Definition: cfImp.cxx:41
PixelGeoDC2::GeoVPixelFactory::m_DDmgr
InDetDD::PixelDetectorManager * m_DDmgr
Definition: PixelDetectorDC1DC2.h:53
PixelGeoDC2::GeoVPixelFactory::m_epsilon
const double m_epsilon
Definition: PixelDetectorDC1DC2.h:54
PixelGeoDC2::GeoPixelSubDisk::Thickness
double Thickness()
Definition: PixelDetectorDC1DC2.cxx:1405
PixelGeoDC2::GeoVPixelFactory::GeoVPixelFactory
GeoVPixelFactory(InDetDD::PixelDetectorManager *ddmgr, PixelGeometryManager *mgr)
Definition: PixelDetectorDC1DC2.cxx:1536
conifer::pow
constexpr int pow(int x)
Definition: conifer.h:20
deg
#define deg
Definition: SbPolyhedron.cxx:17
PixelGeoDC2::GeoVPixelFactory::m_mat_mgr
StoredMaterialManager * m_mat_mgr
Definition: PixelDetectorDC1DC2.h:52
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
PixelGeoDC2::GeoPixelHybrid
Definition: PixelDetectorDC1DC2.h:200
PixelGeoDC2::PixelGeometryManager::PixelBoardLength
virtual double PixelBoardLength()=0
PixelGeoDC2::PixelGeometryManager::PixelBoardWidth
virtual double PixelBoardWidth()=0
PixelGeoDC2::GeoPixelSubDisk::RMax
double RMax()
Definition: PixelDetectorDC1DC2.cxx:1401
PixelGeoDC2::PixelGeometryManager::PixelDiskRMin
virtual double PixelDiskRMin()=0
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
PixelGeoDC2::GeoPixelSubDisk::RMin
double RMin()
Definition: PixelDetectorDC1DC2.cxx:1397
PixelGeoDC2::GeoPixelChip
Definition: PixelDetectorDC1DC2.h:103
PixelGeoDC2::GeoPixelSiCrystal::Build
virtual GeoVPhysVol * Build() override
Definition: PixelDetectorDC1DC2.cxx:1265
PixelGeoDC2::PixelGeometryManager::PixelBoardActiveLen
virtual double PixelBoardActiveLen()=0
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
PixelGeoDC2::GeoPixelSubDisk::m_theSensor
GeoPixelSiCrystal & m_theSensor
Definition: PixelDetectorDC1DC2.h:347
PixelGeoDC2::PixelGeometryManager::PixelChipThickness
virtual double PixelChipThickness()=0
PixelGeoDC2::PixelGeometryManager::PixelECNSectors1
virtual int PixelECNSectors1()=0
PixelGeoDC2::PixelGeometryManager::PixelBoardThickness
virtual double PixelBoardThickness()=0
PixelGeoDC2::PixelGeometryManager::PixelHybridThickness
virtual double PixelHybridThickness()=0
Amg::Translation3D
Eigen::Translation< double, 3 > Translation3D
Definition: GeoPrimitives.h:44
StoredMaterialManager::getMaterial
virtual const GeoMaterial * getMaterial(const std::string &name)=0
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
python.SystemOfUnits.pc
float pc
Definition: SystemOfUnits.py:99
PixelGeoDC2::GeoPixelSubDisk::m_theSubDisk
GeoIntrusivePtr< GeoLogVol > m_theSubDisk
Definition: PixelDetectorDC1DC2.h:348