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::shared_ptr<L1CaloEcalScale>
78 using namespace edm::es;
79 auto pL1CaloEcalScale = std::make_shared<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::shared_ptr<L1CaloHcalScale>
109 using namespace edm::es;
110 auto pL1CaloHcalScale = std::make_shared<L1CaloHcalScale>() ;
112 std::vector< double >::const_iterator posItr =
115 std::vector< double >::const_iterator negItr =
119 for(
unsigned short ieta = 1 ;
123 for(
unsigned short irank = 0 ;
127 pL1CaloHcalScale->setBin( irank, ieta, 1, *posItr ) ;
128 pL1CaloHcalScale->setBin( irank, ieta, -1, *negItr ) ;
135 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