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 std::unique_ptr<L1CaloEcalScale>
79 auto pL1CaloEcalScale = std::make_unique<L1CaloEcalScale>() ;
81 std::vector< double >::const_iterator posItr =
83 std::vector< double >::const_iterator negItr =
86 for(
unsigned short ieta = 1 ;
90 for(
unsigned short irank = 0 ;
94 pL1CaloEcalScale->setBin( irank, ieta, 1, *posItr ) ;
95 pL1CaloEcalScale->setBin( irank, ieta, -1, *negItr ) ;
102 return pL1CaloEcalScale ;
106 std::unique_ptr<L1CaloHcalScale>
109 auto pL1CaloHcalScale = std::make_unique<L1CaloHcalScale>() ;
111 std::vector< double >::const_iterator posItr =
114 std::vector< double >::const_iterator negItr =
118 for(
unsigned short ieta = 1 ;
122 for(
unsigned short irank = 0 ;
126 pL1CaloHcalScale->setBin( irank, ieta, 1, *posItr ) ;
127 pL1CaloHcalScale->setBin( irank, ieta, -1, *negItr ) ;
134 return pL1CaloHcalScale ;
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static const unsigned short nBinRank
static const unsigned short nBinRank
static const unsigned short nBinEta
static const unsigned short nBinEta