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 std::auto_ptr<double> eventShapeVarPtr(
new double(value));
26 evt.
put(eventShapeVarPtr, instanceName);
36 Thrust thrustAlgo(objects->begin(), objects->end());
37 put(evt, thrustAlgo.thrust(),
"thrust");
41 put(evt, eventShapeVarsAlgo.isotropy(),
"isotropy");
42 put(evt, eventShapeVarsAlgo.circularity(),
"circularity");
43 put(evt, eventShapeVarsAlgo.sphericity(
r_),
"sphericity");
44 put(evt, eventShapeVarsAlgo.aplanarity(
r_),
"aplanarity");
45 put(evt, eventShapeVarsAlgo.C(
r_),
"C");
46 put(evt, eventShapeVarsAlgo.D(
r_),
"D");
T getParameter(std::string const &) const
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_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void produce(edm::Event &, const edm::EventSetup &)