#include <PixelStaveTypes.h>
Definition at line 13 of file PixelStaveTypes.h.
◆ MapType
◆ PixelStaveTypes()
Definition at line 35 of file PixelStaveTypes.cxx.
36{
37 for(const auto& rec : *table) {
38 int layer = rec->getInt(
"LAYER");
40 int fluidType = rec->getInt("FLUIDTYPE");
41 int biStaveType = rec->getInt("BISTAVETYPE");
42
45 }
46}
std::map< int, int > m_maxSector
◆ getBiStaveType()
| int PixelStaveTypes::getBiStaveType |
( |
int | layer, |
|
|
int | phiModule ) const |
Definition at line 55 of file PixelStaveTypes.cxx.
56{
58}
const Datum & getData(int layer, int phiModule) const
◆ getData()
Definition at line 62 of file PixelStaveTypes.cxx.
63{
65
66
67 std::map<int,int>::const_iterator iterMaxSector;
69 if (iterMaxSector ==
m_maxSector.end() && layerTmp) {
70 layerTmp = 0;
72 }
73
75 int maxSector = iterMaxSector->second;
76
77
78
79 int phiModuleTmp =
phiModule % (maxSector+1);
80
81 MapType::const_iterator
iter;
83
85 }
86
87 std::cout <<
"ERROR: PixelStaveTypes cannot find type for layer,phiModule: " <<
layer <<
", " <<
phiModule << std::endl;
89}
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: