32{
34
36 if (argc > 1) {
38 }
39
40 IAppMgrUI *appMgr = Gaudi::createApplicationMgr();
41 SmartIF<IProperty> propMgr = appMgr;
42 ANA_CHECK( propMgr->setProperty(
"EvtSel",
"NONE" ) );
43 ANA_CHECK( propMgr->setProperty(
"JobOptionsType",
"FILE" ) );
44 ANA_CHECK( propMgr->setProperty(
"JobOptionsPath",
"PixelReadoutGeometry/ITkPixelIdentifiersDumpConfig.txt" ) );
45
48
50
52 ANA_CHECK( detectorStore->retrieve(detManager,
"ITkPixel") );
54
56 ANA_CHECK( detectorStore->retrieve(pixelID,
"PixelID") );
57
60 << "Hash" << "\t"
61 << "ID" << "\t"
62 << "B/EC" << "\t"
63 << "Layer" << "\t"
64 << "phi" << "\t"
65 << "eta" << "\t"
66 << "FEs" << std::endl;
67
68 for (
unsigned int moduleHash{}; moduleHash < pixelID->
wafer_hash_max(); moduleHash++) {
73
74 fout << moduleHash <<
"\t"
81 }
82
84
87
88 return 0;
89}
This is a "hash" representation of an Identifier.
value_type get_compact() const
Get the compact id.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
virtual const SiDetectorElementCollection * getDetectorElementCollection() const override
access to whole collection via Iterators
Class used to describe the design of a module (diode segmentation and readout scheme)
int numberOfCircuits() const
Total number of circuits:
Class to hold the SiDetectorElement objects to be put in the detector store.
const SiDetectorElement * getDetectorElement(const IdentifierHash &hash) const
Class to hold geometrical description of a silicon detector element.
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
This is an Identifier helper class for the Pixel subdetector.
int layer_disk(const Identifier &id) const
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
size_type wafer_hash_max() const
int eta_module(const Identifier &id) const
int phi_module(const Identifier &id) const