12 produces<double>(
"thrust");
14 produces<double>(
"isotropy");
15 produces<double>(
"circularity");
16 produces<double>(
"sphericity");
17 produces<double>(
"aplanarity");
18 produces<double>(
"C");
19 produces<double>(
"D");
25 evt.
put(std::make_unique<double>(value), instanceName);
35 Thrust thrustAlgo(objects->begin(), objects->end());
36 put(evt, thrustAlgo.thrust(),
"thrust");
40 put(evt, eventShapeVarsAlgo.isotropy(),
"isotropy");
41 put(evt, eventShapeVarsAlgo.circularity(),
"circularity");
42 put(evt, eventShapeVarsAlgo.sphericity(
r_),
"sphericity");
43 put(evt, eventShapeVarsAlgo.aplanarity(
r_),
"aplanarity");
44 put(evt, eventShapeVarsAlgo.C(
r_),
"C");
45 put(evt, eventShapeVarsAlgo.D(
r_),
"D");
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
EventShapeVarsProducer(const edm::ParameterSet &)
Class for the calculation of several event shape variables.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void put(edm::Event &evt, double value, const char *instanceName)
edm::EDGetTokenT< edm::View< reco::Candidate > > srcToken_
void produce(edm::Event &, const edm::EventSetup &)