#include <PixelStaveTypes.h>
Definition at line 14 of file PixelStaveTypes.h.
◆ MapType
◆ PixelStaveTypes()
Definition at line 37 of file PixelStaveTypes.cxx.
38{
39 for (
unsigned int i = 0;
i <
db->getTableSize(table);
i++) {
40 int layer =
db->getInt(table,
"LAYER",i);
42 int fluidType =
db->getInt(table,
"FLUIDTYPE",i);
43 int biStaveType =
db->getInt(table,
"BISTAVETYPE",i);
44
47 }
48}
std::map< int, int > m_maxSector
◆ getBiStaveType()
| int PixelStaveTypes::getBiStaveType |
( |
int | layer, |
|
|
int | phiModule ) const |
Definition at line 57 of file PixelStaveTypes.cxx.
58{
60}
const Datum & getData(int layer, int phiModule) const
◆ getData()
Definition at line 64 of file PixelStaveTypes.cxx.
65{
67
68
69 std::map<int,int>::const_iterator iterMaxSector;
71 if (iterMaxSector ==
m_maxSector.end() && layerTmp) {
72 layerTmp = 0;
74 }
75
77 int maxSector = iterMaxSector->second;
78
79
80
81 int phiModuleTmp =
phiModule % (maxSector+1);
82
83 MapType::const_iterator
iter;
85
87 }
88
89 std::cout <<
"ERROR: PixelStaveTypes cannot find type for layer,phiModule: " <<
layer <<
", " <<
phiModule << std::endl;
91}
static const Datum s_defaultDatum
◆ getFluidType()
| int PixelStaveTypes::getFluidType |
( |
int | layer, |
|
|
int | phiModule ) const |
◆ m_dataLookup
| MapType PixelStaveTypes::m_dataLookup |
|
private |
◆ m_maxSector
| std::map<int,int> PixelStaveTypes::m_maxSector |
|
private |
◆ s_defaultDatum
The documentation for this class was generated from the following files: