51 iConfig.
getParameter< std::vector<double> >(
"L1EcalEtThresholdsPositiveEta");
53 iConfig.
getParameter< std::vector<double> >(
"L1EcalEtThresholdsNegativeEta");
55 iConfig.
getParameter< std::vector<double> >(
"L1HcalEtThresholdsPositiveEta");
57 iConfig.
getParameter< std::vector<double> >(
"L1HcalEtThresholdsNegativeEta");
75 boost::shared_ptr<L1CaloEcalScale>
78 using namespace edm::es;
79 boost::shared_ptr<L1CaloEcalScale> pL1CaloEcalScale =
82 std::vector< double >::const_iterator posItr =
84 std::vector< double >::const_iterator negItr =
87 for(
unsigned short ieta = 1 ;
91 for(
unsigned short irank = 0 ;
95 pL1CaloEcalScale->setBin( irank, ieta, 1, *posItr ) ;
96 pL1CaloEcalScale->setBin( irank, ieta, -1, *negItr ) ;
103 return pL1CaloEcalScale ;
107 boost::shared_ptr<L1CaloHcalScale>
110 using namespace edm::es;
111 boost::shared_ptr<L1CaloHcalScale> pL1CaloHcalScale =
114 std::vector< double >::const_iterator posItr =
117 std::vector< double >::const_iterator negItr =
121 for(
unsigned short ieta = 1 ;
125 for(
unsigned short irank = 0 ;
129 pL1CaloHcalScale->setBin( irank, ieta, 1, *posItr ) ;
130 pL1CaloHcalScale->setBin( irank, ieta, -1, *negItr ) ;
137 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