12 r_ =
cfg.exists(
"r") ?
cfg.getParameter<
double>(
"r") : 2.;
13 fwmax_ =
cfg.exists(
"fwmax") ?
cfg.getParameter<
unsigned>(
"fwmax") : 0;
15 produces<double>(
"thrust");
17 produces<double>(
"isotropy");
18 produces<double>(
"circularity");
19 produces<double>(
"sphericity");
20 produces<double>(
"aplanarity");
21 produces<double>(
"C");
22 produces<double>(
"D");
24 produces<std::vector<double>>(
"FWmoments");
36 put(evt, thrustAlgo.thrust(),
"thrust");
40 eventShapeVarsAlgo.set_r(
r_);
41 put(evt, eventShapeVarsAlgo.isotropy(),
"isotropy");
42 put(evt, eventShapeVarsAlgo.circularity(),
"circularity");
43 put(evt, eventShapeVarsAlgo.sphericity(),
"sphericity");
44 put(evt, eventShapeVarsAlgo.aplanarity(),
"aplanarity");
45 put(evt, eventShapeVarsAlgo.C(),
"C");
46 put(evt, eventShapeVarsAlgo.D(),
"D");
48 eventShapeVarsAlgo.setFWmax(
fwmax_);
49 auto vfw = std::make_unique<std::vector<double>>(eventShapeVarsAlgo.getFWmoments());