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 1348 of file PixelDetectorDC1DC2.cxx.

1351  : GeoVPixelFactory (ddmgr, mgr),
1352  m_theSensor(theSensor)
1353 {
1354  //
1355  // Define the log volume in the constructor, so I do it only once.
1356  //
1357 
1358  //
1359  // Dimensions from class methods.
1360  //
1361  double rmin = RMin();
1362  double rmax = RMax();
1363  double halflength = Thickness()/2.;
1364  const GeoMaterial* air = m_mat_mgr->getMaterial("std::Air");
1365  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);
1366  m_theSubDisk = new GeoLogVol("SubDiskLog",SDTubs,air);
1367 
1368 }

◆ ~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 1371 of file PixelDetectorDC1DC2.cxx.

1371  {
1372  GeoFullPhysVol* SDPhys = new GeoFullPhysVol(m_theSubDisk);
1373  //
1374  // Place the Si Crystal
1375  //
1376  double xpos = RMin()+m_gmt_mgr->PixelBoardLength()/2.;
1377  GeoNameTag* tag = new GeoNameTag("SiCrystal");
1378  GeoTrf::Transform3D rm = GeoTrf::RotateX3D(180.*Gaudi::Units::deg)*GeoTrf::RotateY3D(90.*Gaudi::Units::deg);
1379  GeoTrf::Translation3D pos(xpos,0.,0.);
1380  GeoAlignableTransform* xformsi = new GeoAlignableTransform(GeoTrf::Transform3D(pos*rm));
1381  SDPhys->add(tag);
1382  SDPhys->add(new GeoIdentifierTag(200) );
1383  SDPhys->add(xformsi);
1384  SDPhys->add(m_theSensor.Build() );
1385  //
1386  // Place the Hybrid
1387  //
1389  tag = new GeoNameTag("Hybrid");
1391  pos = GeoTrf::Translation3D(xpos,0.,zpos);
1392  GeoTransform* xform = new GeoTransform(GeoTrf::Transform3D(pos*rm) );
1393  SDPhys->add(tag);
1394  SDPhys->add(xform);
1395  SDPhys->add(ph.Build() );
1396 //
1397 // Place the Chip
1398 //
1400  tag = new GeoNameTag("Chip");
1402  pos = GeoTrf::Translation3D(xpos,0.,zpos);
1403  xform = new GeoTransform(GeoTrf::Transform3D(pos*rm) );
1404  SDPhys->add(tag);
1405  SDPhys->add(xform);
1406  SDPhys->add(pc.Build() );
1407  return SDPhys;
1408 }

◆ operator=()

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

◆ RMax()

double GeoPixelSubDisk::RMax ( )

Definition at line 1415 of file PixelDetectorDC1DC2.cxx.

1415  {
1416  return RMin()+sqrt(pow(m_gmt_mgr->PixelBoardLength(),2)+pow(m_gmt_mgr->PixelBoardWidth(),2));
1417 }

◆ RMin()

double GeoPixelSubDisk::RMin ( )

Definition at line 1411 of file PixelDetectorDC1DC2.cxx.

1411  {
1413 }

◆ Thickness()

double GeoPixelSubDisk::Thickness ( )

Definition at line 1419 of file PixelDetectorDC1DC2.cxx.

1419  {
1420  //
1421  // This is the sum of the Thickness of the board + twice the maximum
1422  // b/w the thickness of the hybrid and that of the electronics
1423  // twice for symmetric placement.
1424  //
1425 
1427 }

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
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:1419
PixelGeoDC2::GeoVPixelFactory::GeoVPixelFactory
GeoVPixelFactory(InDetDD::PixelDetectorManager *ddmgr, PixelGeometryManager *mgr)
Definition: PixelDetectorDC1DC2.cxx:1550
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
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:1415
PixelGeoDC2::PixelGeometryManager::PixelDiskRMin
virtual double PixelDiskRMin()=0
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
PixelGeoDC2::GeoPixelSubDisk::RMin
double RMin()
Definition: PixelDetectorDC1DC2.cxx:1411
PixelGeoDC2::GeoPixelChip
Definition: PixelDetectorDC1DC2.h:103
PixelGeoDC2::GeoPixelSiCrystal::Build
virtual GeoVPhysVol * Build() override
Definition: PixelDetectorDC1DC2.cxx:1279
PixelGeoDC2::PixelGeometryManager::PixelBoardActiveLen
virtual double PixelBoardActiveLen()=0
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:16
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:23
pow
constexpr int pow(int base, int exp) noexcept
Definition: ap_fixedTest.cxx:15
python.SystemOfUnits.pc
float pc
Definition: SystemOfUnits.py:114
PixelGeoDC2::GeoPixelSubDisk::m_theSubDisk
GeoIntrusivePtr< GeoLogVol > m_theSubDisk
Definition: PixelDetectorDC1DC2.h:348