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 boost::shared_ptr<L1GctJetFinderParams> pL1GctJetFinderParams =
148 return pL1GctJetFinderParams ;
157 for (
unsigned ieta=0; ieta<22; ++ieta) {
164 return boost::shared_ptr<L1GctChannelMask>(mask);
176 std::vector<double>
result;
178 for (
unsigned ieta=0; ieta<7; ieta++) {
180 double factor = 0.5*(
exp(bineta)+
exp(-bineta));
181 result.push_back(factor);
184 for (
unsigned ieta=0; ieta<4; ieta++) {
186 double factor = 0.5*(
exp(bineta)+
exp(-bineta));
187 result.push_back(factor);
ChanMaskReturnType produceChanMask(const L1GctChannelMaskRcd &)
T getParameter(std::string const &) const
static const unsigned N_CENTRAL_ETA_VALUES
Number of eta bins used in correction.
boost::shared_ptr< L1GctJetFinderParams > JfParamsReturnType
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::vector< std::vector< double > > m_jetCalibFunc
const DepRecordT & getRecord() const
boost::shared_ptr< L1GctChannelMask > ChanMaskReturnType
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