26 m_rgnEtLsb(iConfig.getParameter<double>(
"RctRegionEtLSB")),
27 m_htLsb(iConfig.getParameter<double>(
"GctHtLSB")),
28 m_CenJetSeed(iConfig.getParameter<double>(
"JetFinderCentralJetSeed")),
29 m_FwdJetSeed(iConfig.getParameter<double>(
"JetFinderForwardJetSeed")),
30 m_TauJetSeed(iConfig.getParameter<double>(
"JetFinderCentralJetSeed")),
31 m_tauIsoThresh(iConfig.getParameter<double>(
"TauIsoEtThreshold")),
32 m_htJetThresh(iConfig.getParameter<double>(
"HtJetEtThreshold")),
33 m_mhtJetThresh(iConfig.getParameter<double>(
"MHtJetEtThreshold")),
36 m_convertToEnergy (iConfig.getParameter<
bool>(
"ConvertEtValuesToEnergy")),
39 m_metEtaMask(iConfig.getParameter<unsigned>(
"MEtEtaMask")),
40 m_tetEtaMask(iConfig.getParameter<unsigned>(
"TEtEtaMask")),
41 m_mhtEtaMask(iConfig.getParameter<unsigned>(
"MHtEtaMask")),
42 m_thtEtaMask(iConfig.getParameter<unsigned>(
"HtEtaMask"))
54 if (CalibStyle ==
"PowerSeries") {
59 if (CalibStyle ==
"ORCAStyle") {
64 if (CalibStyle ==
"Simple") {
69 if (CalibStyle ==
"PiecewiseCubic") {
74 if (CalibStyle ==
"PF") {
80 if (CalibStyle !=
"None") {
87 ss <<
"nonTauJetCalib" <<
i;
89 m_jetCalibFunc.push_back(calibCoeffs.getParameter< std::vector<double> >(str));
95 ss <<
"tauJetCalib" <<
i;
97 m_tauCalibFunc.push_back(calibCoeffs.getParameter< std::vector<double> >(str));
108 edm::LogWarning(
"L1GctConfig") <<
"Calibration Style option " << CalibStyle << std::endl;
129 geomRcd.
get( geom ) ;
132 auto pL1GctJetFinderParams = std::make_shared<L1GctJetFinderParams>(
m_rgnEtLsb,
147 return pL1GctJetFinderParams ;
156 for (
unsigned ieta=0; ieta<22; ++ieta) {
163 return std::shared_ptr<L1GctChannelMask>(
mask);
175 std::vector<double>
result;
177 for (
unsigned ieta=0; ieta<7; ieta++) {
179 double factor = 0.5*(
exp(bineta)+
exp(-bineta));
180 result.push_back(factor);
183 for (
unsigned ieta=0; ieta<4; ieta++) {
185 double factor = 0.5*(
exp(bineta)+
exp(-bineta));
186 result.push_back(factor);
ChanMaskReturnType produceChanMask(const L1GctChannelMaskRcd &)
std::shared_ptr< L1GctChannelMask > ChanMaskReturnType
T getParameter(std::string const &) const
static const unsigned N_CENTRAL_ETA_VALUES
Number of eta bins used in correction.
L1GctConfigProducers(const edm::ParameterSet &)
void maskMissingEt(unsigned ieta)
mask eta range from missing Et sum
JfParamsReturnType produceJfParams(const L1GctJetFinderParamsRcd &)
double etaBinCenter(unsigned int etaIndex, bool central=true) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
std::shared_ptr< L1GctJetFinderParams > JfParamsReturnType
std::vector< std::vector< double > > m_jetCalibFunc
const DepRecordT & getRecord() const
void maskTotalHt(unsigned ieta)
mask eta range from total Ht sum
void get(HolderT &iHolder) const
static const unsigned NUMBER_ETA_VALUES
Number of eta bins used in correction.
std::vector< double > etToEnergyConversion(const L1CaloGeometry *geom) const
Legacy nonsense.
void maskTotalEt(unsigned ieta)
mask eta range from total Et sum
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::vector< std::vector< double > > m_tauCalibFunc
void maskMissingHt(unsigned ieta)
mask eta range from missing Ht sum