52 iConfig.
getParameter< std::vector<double> >(
"L1EcalEtThresholdsPositiveEta");
54 iConfig.
getParameter< std::vector<double> >(
"L1EcalEtThresholdsNegativeEta");
56 iConfig.
getParameter< std::vector<double> >(
"L1HcalEtThresholdsPositiveEta");
58 iConfig.
getParameter< std::vector<double> >(
"L1HcalEtThresholdsNegativeEta");
76 boost::shared_ptr<L1CaloEcalScale>
79 using namespace edm::es;
80 boost::shared_ptr<L1CaloEcalScale> pL1CaloEcalScale =
83 std::vector< double >::const_iterator posItr =
85 std::vector< double >::const_iterator negItr =
88 for(
unsigned short ieta = 1 ;
92 for(
unsigned short irank = 0 ;
96 pL1CaloEcalScale->setBin( irank, ieta, 1, *posItr ) ;
97 pL1CaloEcalScale->setBin( irank, ieta, -1, *negItr ) ;
104 return pL1CaloEcalScale ;
108 boost::shared_ptr<L1CaloHcalScale>
111 using namespace edm::es;
112 boost::shared_ptr<L1CaloHcalScale> pL1CaloHcalScale =
115 std::vector< double >::const_iterator posItr =
118 std::vector< double >::const_iterator negItr =
122 for(
unsigned short ieta = 1 ;
126 for(
unsigned short irank = 0 ;
130 pL1CaloHcalScale->setBin( irank, ieta, 1, *posItr ) ;
131 pL1CaloHcalScale->setBin( irank, ieta, -1, *negItr ) ;
138 return pL1CaloHcalScale ;
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
static const unsigned short nBinRank
static const unsigned short nBinRank
static const unsigned short nBinEta
static const unsigned short nBinEta