10 #ifndef WEIGHTMANAGER_H 11 #define WEIGHTMANAGER_H 50 const std::string&
Name()
const;
size_t Configure(fhicl::ParameterSet const &cfg, art::EngineCreator &ec)
Configuration function.
std::map< std::string, Weight_t * > GetWeightCalcMap()
Returns the map between calculator name and Weight_t product.
An art service to assist in the distribution of guaranteed unique seeds to all engines within an art ...
bool _configured
Readiness flag.
WeightManager(const std::string name="WeightManager")
Default constructor.
std::map< std::string, Weight_t * > fWeightCalcMap
A set of custom weight calculators.
~WeightManager()
Default destructor.
MCEventWeight Run(art::Event &e, const int inu)
Core function (previous call to Configure is needed)
const std::string & Name() const
Name getter.
Tools and modules for checking out the basics of the Monte Carlo.