|
MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
|
WeightCalculator object that unconditionally returns unit weights. More...
#include <WeightCalculator.hh>
Public Member Functions | |
| TrivialWeightCalculator (const marley::JSON &config) | |
| virtual double | weight (HepMC3::GenEvent &, marley::Generator &) const override |
| Compute the weight for the given event. | |
Public Member Functions inherited from marley::WeightCalculator | |
| WeightCalculator (const marley::JSON &config) | |
| WeightCalculator (const std::string &name) | |
| const std::string & | name () const |
Additional Inherited Members | |
Protected Attributes inherited from marley::WeightCalculator | |
| std::string | name_ |
| Name used to label the output event weight. | |
WeightCalculator object that unconditionally returns unit weights.
Definition at line 67 of file WeightCalculator.hh.
|
inline |
Definition at line 71 of file WeightCalculator.hh.
|
inlineoverridevirtual |
Compute the weight for the given event.
Implements marley::WeightCalculator.
Definition at line 75 of file WeightCalculator.hh.