75 : m_towerBeg(iConfig.getParameter<
int>(
"towerBeg")),
76 m_towerEnd(iConfig.getParameter<
int>(
"towerEnd")),
77 m_rollBeg(iConfig.getParameter<
int>(
"rollBeg")),
78 m_rollEnd(iConfig.getParameter<
int>(
"rollEnd")),
79 m_hwPlaneBeg(iConfig.getParameter<
int>(
"hwPlaneBeg")),
80 m_hwPlaneEnd(iConfig.getParameter<
int>(
"hwPlaneEnd")) {
86 std::stringstream
name;
87 name <<
"lpSizeTower" <<
t;
89 std::vector<int> newSizes = iConfig.
getParameter<std::vector<int> >(
name.str().c_str());
91 for (
unsigned int lp = 0; lp < newSizes.size(); ++lp) {
118 std::stringstream
name;
119 name <<
"rollConnLP_" <<
roll <<
"_" << hwpl;
121 std::vector<int> hwPl2LPVec = iConfig.
getParameter<std::vector<int> >(
name.str().c_str());
123 for (
unsigned int i = 0;
i < hwPl2LPVec.size(); ++
i) {
124 if (hwPl2LPVec[
i] >= 0) {
129 lp.
m_LP = hwPl2LPVec[
i];
135 std::stringstream name1;
136 name1 <<
"rollConnT_" <<
roll <<
"_" << hwpl;
141 std::vector<int> hwPl2TowerVec = iConfig.
getParameter<std::vector<int> >(name1.str().c_str());
143 for (
unsigned int i = 0;
i < hwPl2TowerVec.size(); ++
i) {
144 if (hwPl2TowerVec[
i] >= 0) {
149 rt.m_tower = hwPl2TowerVec[
i];
169 auto pL1RPCConeDefinition = std::make_unique<L1RPCConeDefinition>();
171 pL1RPCConeDefinition->setFirstTower(
m_towerBeg);
172 pL1RPCConeDefinition->setLastTower(
m_towerEnd);
178 return pL1RPCConeDefinition;
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
std::vector< TRingToTower > TRingToTowerVec
T getParameter(std::string const &) const
std::vector< TRingToLP > TRingToLPVec
std::vector< TLPSize > TLPSizeVec
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::unique_ptr< L1RPCConeDefinition > ReturnType
L1RPCConeDefinition::TRingToLPVec m_ringToLPVec
L1RPCConeDefinition::TRingToTowerVec m_ringToTowerVec
L1RPCConeDefinitionProducer(const edm::ParameterSet &)
~L1RPCConeDefinitionProducer() override
ReturnType produce(const L1RPCConeDefinitionRcd &)
L1RPCConeDefinition::TLPSizeVec m_LPSizeVec