23 #include "boost/shared_ptr.hpp"
44 typedef boost::shared_ptr<L1RPCConeDefinition>
ReturnType;
78 m_towerBeg(iConfig.getParameter<int>(
"towerBeg")),
79 m_towerEnd(iConfig.getParameter<int>(
"towerEnd")),
80 m_rollBeg(iConfig.getParameter<int>(
"rollBeg")),
81 m_rollEnd(iConfig.getParameter<int>(
"rollEnd")),
82 m_hwPlaneBeg(iConfig.getParameter<int>(
"hwPlaneBeg")),
83 m_hwPlaneEnd(iConfig.getParameter<int>(
"hwPlaneEnd"))
91 std::stringstream
name;
92 name <<
"lpSizeTower" <<
t;
95 std::vector<int> newSizes =
96 iConfig.
getParameter<std::vector<int> >(name.str().c_str());
98 for (
unsigned int lp = 0; lp < newSizes.size();++lp){
130 std::stringstream
name;
131 name <<
"rollConnLP_" << roll <<
"_" << hwpl;
133 std::vector<int> hwPl2LPVec = iConfig.
getParameter<std::vector<int> >(name.str().c_str());
135 for (
unsigned int i = 0;
i < hwPl2LPVec.size();++
i){
137 if (hwPl2LPVec[
i]>=0)
143 lp.
m_LP=hwPl2LPVec[
i];
150 std::stringstream name1;
151 name1 <<
"rollConnT_" << roll <<
"_" << hwpl;
156 std::vector<int> hwPl2TowerVec = iConfig.
getParameter<std::vector<int> >(name1.str().c_str());
158 for (
unsigned int i = 0;
i < hwPl2TowerVec.size();++
i){
160 if (hwPl2TowerVec[
i]>=0)
193 using namespace edm::es;
196 pL1RPCConeDefinition->setFirstTower(
m_towerBeg);
197 pL1RPCConeDefinition->setLastTower(
m_towerEnd);
204 return pL1RPCConeDefinition ;
T getParameter(std::string const &) const
std::vector< TRingToTower > TRingToTowerVec
std::vector< TRingToLP > TRingToLPVec
std::vector< TLPSize > TLPSizeVec
~L1RPCConeDefinitionProducer()
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
L1RPCConeDefinition::TRingToLPVec m_ringToLPVec
L1RPCConeDefinition::TRingToTowerVec m_ringToTowerVec
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
L1RPCConeDefinitionProducer(const edm::ParameterSet &)
boost::shared_ptr< L1RPCConeDefinition > ReturnType
ReturnType produce(const L1RPCConeDefinitionRcd &)
L1RPCConeDefinition::TLPSizeVec m_LPSizeVec