![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
19 : fluidType(fluidType_in),
20 biStaveType(biStaveType_in)
39 for (
unsigned int i = 0;
i <
db->getTableSize(
table);
i++) {
42 int fluidType =
db->getInt(
table,
"FLUIDTYPE",
i);
43 int biStaveType =
db->getInt(
table,
"BISTAVETYPE",
i);
69 std::map<int,int>::const_iterator iterMaxSector;
71 if (iterMaxSector ==
m_maxSector.end() && layerTmp) {
77 int maxSector = iterMaxSector->second;
81 int phiModuleTmp =
phiModule % (maxSector+1);
83 MapType::const_iterator iter;
89 std::cout <<
"ERROR: PixelStaveTypes cannot find type for layer,phiModule: " <<
layer <<
", " <<
phiModule << std::endl;
int getBiStaveType(int layer, int phiModule) const
static const Datum s_defaultDatum
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Key(int layer_in, int phiModule_in)
std::map< int, int > m_maxSector
int getFluidType(int layer, int phiModule) const
Datum(int fluidType_in=0, int biStaveType_in=0)
Definition of the abstract IRDBRecordset interface.
bool operator<(const Key &rhs) const
PixelStaveTypes(const IGeometryDBSvc *db, const IRDBRecordset_ptr &table)
const Datum & getData(int layer, int phiModule) const