36 #define init_param(type, varname) varname (ps.getParameter< type >( #varname ))
38 using namespace fftjetcms;
63 if (ptr.get() ==
NULL)
115 const TH2D&
h(*input);
116 const unsigned nScales = h.GetXaxis()->GetNbins();
117 const unsigned nCdfvalues = h.GetYaxis()->GetNbins();
119 const unsigned fixedCdfvalueBin =
static_cast<unsigned>(
121 if (fixedCdfvalueBin >= nCdfvalues)
124 <<
"Bad cdf value" << std::endl;
129 <<
"Bad filter number" << std::endl;
134 fixedCdfvalueBin+1U);
144 int uncertaintyCode = -1;
148 for (
unsigned i = 0;
i < nZones; ++
i)
151 if (i == nZones - 1U)
164 std::auto_ptr<reco::FFTJetPileupSummary>
summary(
166 rhoUncert, uncertaintyCode));
nocap nocap const skelname & operator=(const skelname &)
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
Summary info for pile-up determined by Gaussian filtering.
std::auto_ptr< fftjet::Functor1< double, double > > calibrationCurve
void produce(edm::Event &, const edm::EventSetup &)
std::auto_ptr< fftjet::Functor1< double, double > > fftjet_Function_parser(const edm::ParameterSet &ps)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< double > uncertaintyZones
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::auto_ptr< fftjet::Functor1< double, double > > uncertaintyCurve
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
#define init_param(type, varname)
void checkConfig(const Ptr &ptr, const char *message)