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>
78 auto pL1CaloEcalScale = std::make_unique<L1CaloEcalScale>() ;
80 std::vector< double >::const_iterator posItr =
82 std::vector< double >::const_iterator negItr =
85 for(
unsigned short ieta = 1 ;
89 for(
unsigned short irank = 0 ;
93 pL1CaloEcalScale->setBin( irank, ieta, 1, *posItr ) ;
94 pL1CaloEcalScale->setBin( irank, ieta, -1, *negItr ) ;
101 return pL1CaloEcalScale ;
105 std::unique_ptr<L1CaloHcalScale>
108 auto pL1CaloHcalScale = std::make_unique<L1CaloHcalScale>() ;
110 std::vector< double >::const_iterator posItr =
113 std::vector< double >::const_iterator negItr =
117 for(
unsigned short ieta = 1 ;
121 for(
unsigned short irank = 0 ;
125 pL1CaloHcalScale->setBin( irank, ieta, 1, *posItr ) ;
126 pL1CaloHcalScale->setBin( irank, ieta, -1, *negItr ) ;
133 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