|
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);
110 manager->addTreeTop(topVolume);
115 return StatusCode::FAILURE;
129 return StatusCode::SUCCESS;
140 return StatusCode::SUCCESS;
148 bool barrelDone =
false;
149 for (
int b = -1;
b <= 1; ++
b) {
151 msg(MSG::INFO) <<
" Found barrel with index " <<
b << std::endl;
155 msg(MSG::INFO) <<
" Number of barrel layers = " <<
n.numLayers() << std::endl;
157 n.setNumEtaModulesForLayer(
l->first,
l->second.nEtaModules());
159 n.setNumPhiModulesForLayer(
l->first,
l->second.begin()->second.nPhiModules());
160 msg(MSG::INFO) <<
" layer = " <<
l->first <<
" has " <<
n.numEtaModulesForLayer(
l->first) <<
161 " etaModules each with " <<
n.numPhiModulesForLayer(
l->first) <<
" phi modules" << std::endl;
169 bool endcapDone =
false;
170 for (
int ec = -2; ec <= 2; ec += 4) {
172 msg(MSG::INFO) <<
" Found endcap with index " << ec << std::endl;
176 msg(MSG::INFO) <<
" Number of endcap layers = " <<
n.numDiskLayers() << std::endl;
178 n.setNumDisksForLayer(
l->first,
l->second.nEtaModules());
179 msg(MSG::INFO) <<
" Layer " <<
l->first <<
" has " <<
n.numDisksForLayer(
l->first) <<
" disks" << std::endl;
181 n.setNumPhiModulesForLayerDisk(
l->first, eta->first, eta->second.nPhiModules());
183 n.numPhiModulesForLayerDisk(
l->first, eta->first) <<
" phi modules" << std::endl;
205 ATH_MSG_INFO(
"Total number of wafers added is " << totalWafers);
210 n.setMaxNumEtaCells(1);
211 for (
int d = 0;
d <
manager->numDesigns(); ++
d) {
212 n.setMaxNumPhiCells(
manager->getPixelDesign(
d)->rows());
213 n.setMaxNumEtaCells(
manager->getPixelDesign(
d)->columns());
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
GeoPhysVol * getPhysVol()
Destructor.
::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 *)