27 : m_rgnEtLsb(iConfig.getParameter<double>(
"RctRegionEtLSB")),
28 m_htLsb(iConfig.getParameter<double>(
"GctHtLSB")),
29 m_CenJetSeed(iConfig.getParameter<double>(
"JetFinderCentralJetSeed")),
30 m_FwdJetSeed(iConfig.getParameter<double>(
"JetFinderForwardJetSeed")),
31 m_TauJetSeed(iConfig.getParameter<double>(
"JetFinderCentralJetSeed")),
32 m_tauIsoThresh(iConfig.getParameter<double>(
"TauIsoEtThreshold")),
33 m_htJetThresh(iConfig.getParameter<double>(
"HtJetEtThreshold")),
34 m_mhtJetThresh(iConfig.getParameter<double>(
"MHtJetEtThreshold")),
37 m_convertToEnergy(iConfig.getParameter<
bool>(
"ConvertEtValuesToEnergy")),
40 m_metEtaMask(iConfig.getParameter<unsigned>(
"MEtEtaMask")),
41 m_tetEtaMask(iConfig.getParameter<unsigned>(
"TEtEtaMask")),
42 m_mhtEtaMask(iConfig.getParameter<unsigned>(
"MHtEtaMask")),
43 m_thtEtaMask(iConfig.getParameter<unsigned>(
"HtEtaMask")) {
53 if (CalibStyle ==
"PowerSeries") {
58 if (CalibStyle ==
"ORCAStyle") {
63 if (CalibStyle ==
"Simple") {
68 if (CalibStyle ==
"PiecewiseCubic") {
73 if (CalibStyle ==
"PF") {
79 if (CalibStyle !=
"None") {
85 ss <<
"nonTauJetCalib" <<
i;
93 ss <<
"tauJetCalib" <<
i;
106 edm::LogWarning(
"L1GctConfig") <<
"Calibration Style option " << CalibStyle << std::endl;
123 auto pL1GctJetFinderParams = std::make_unique<L1GctJetFinderParams>(
m_rgnEtLsb,
138 return pL1GctJetFinderParams;
155 return std::unique_ptr<L1GctChannelMask>(mask);
163 std::vector<double>
result;
166 double bineta =
geom->etaBinCenter(
ieta,
true);
172 double bineta =
geom->etaBinCenter(
ieta,
false);
ChanMaskReturnType produceChanMask(const L1GctChannelMaskRcd &)
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static const unsigned N_CENTRAL_ETA_VALUES
Number of eta bins used in correction.
std::unique_ptr< L1GctChannelMask > ChanMaskReturnType
T getParameter(std::string const &) const
L1GctConfigProducers(const edm::ParameterSet &)
~L1GctConfigProducers() override
void maskMissingEt(unsigned ieta)
mask eta range from missing Et sum
std::vector< std::vector< double > > m_jetCalibFunc
JfParamsReturnType produceJfParams(const L1GctJetFinderParamsRcd &)
void maskTotalHt(unsigned ieta)
mask eta range from total Ht sum
std::vector< double > etToEnergyConversion(const L1CaloGeometry *geom) const
Legacy nonsense.
std::vector< std::vector< double > > m_tauCalibFunc
static const unsigned NUMBER_ETA_VALUES
Number of eta bins used in correction.
std::unique_ptr< L1GctJetFinderParams > JfParamsReturnType
void maskTotalEt(unsigned ieta)
mask eta range from total Et sum
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
const DepRecordT getRecord() const
Log< level::Warning, false > LogWarning
void maskMissingHt(unsigned ieta)
mask eta range from missing Ht sum
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const