![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include <GeoModelKernel/GeoPhysVol.h>
23 const std::string &
name,
37 const PixelID *idHelper =
nullptr;
40 m_commonItems = std::make_unique<InDetDD::SiCommonItems>(idHelper);
46 std::string
node{
"Pixel"};
47 std::string
table{
"PIXXDD"};
52 node =
"InnerDetector";
55 ATH_MSG_ERROR(
"No ITk Pixel geometry found. ITk Pixel can not be built.");
56 return StatusCode::FAILURE;
71 manager->addAlignFolderType(alignFolderType);
102 return StatusCode::FAILURE;
116 return StatusCode::SUCCESS;
127 return StatusCode::SUCCESS;
135 bool barrelDone =
false;
136 for (
int b = -1;
b <= 1; ++
b) {
138 msg(MSG::INFO) <<
" Found barrel with index " <<
b << std::endl;
142 msg(MSG::INFO) <<
" Number of barrel layers = " <<
n.numLayers() << std::endl;
144 n.setNumEtaModulesForLayer(
l->first,
l->second.nEtaModules());
146 n.setNumPhiModulesForLayer(
l->first,
l->second.begin()->second.nPhiModules());
147 msg(MSG::INFO) <<
" layer = " <<
l->first <<
" has " <<
n.numEtaModulesForLayer(
l->first) <<
148 " etaModules each with " <<
n.numPhiModulesForLayer(
l->first) <<
" phi modules" << std::endl;
156 bool endcapDone =
false;
157 for (
int ec = -2; ec <= 2; ec += 4) {
159 msg(MSG::INFO) <<
" Found endcap with index " << ec << std::endl;
163 msg(MSG::INFO) <<
" Number of endcap layers = " <<
n.numDiskLayers() << std::endl;
165 n.setNumDisksForLayer(
l->first,
l->second.nEtaModules());
166 msg(MSG::INFO) <<
" Layer " <<
l->first <<
" has " <<
n.numDisksForLayer(
l->first) <<
" disks" << std::endl;
168 n.setNumPhiModulesForLayerDisk(
l->first,
eta->first,
eta->second.nPhiModules());
170 n.numPhiModulesForLayerDisk(
l->first,
eta->first) <<
" phi modules" << std::endl;
192 ATH_MSG_INFO(
"Total number of wafers added is " << totalWafers);
197 n.setMaxNumEtaCells(1);
198 for (
int d = 0;
d <
manager->numDesigns(); ++
d) {
199 n.setMaxNumPhiCells(
manager->getPixelDesign(
d)->rows());
200 n.setMaxNumEtaCells(
manager->getPixelDesign(
d)->columns());
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
GeoPhysVol * getPhysVol()
Destructor.
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
void buildReadoutGeometryFromSqlite(IRDBAccessSvc *rdbAccessSvc, GeoModelIO::ReadGeoModel *sqlreader)
size_type wafer_hash_max(void) const
void addManager(const GeoVDetectorManager *)