9 string etaRegion = iConfig.
getParameter<
string>(
"EtaRegion");
14 edm::LogWarning(
"FixedGridRhoProducer") <<
"Wrong EtaRegion parameter: " << etaRegion <<
". Using EtaRegion = Central";
19 input_pfcoll_token_ = consumes<reco::PFCandidateCollection>(pfCandidatesTag_);
28 iEvent.
getByToken(input_pfcoll_token_, pfColl);
32 double result = algo->fixedGridRho(myEtaRegion);
33 std::auto_ptr<double>
output(
new double(result));
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
FixedGridRhoProducer(const edm::ParameterSet &iConfig)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
T const * product() const
virtual ~FixedGridRhoProducer()
virtual void produce(edm::Event &, const edm::EventSetup &)