Public Member Functions | |
WeightToolBase (const std::string &name) | |
Create a proper constructor for Athena. | |
virtual | ~WeightToolBase () |
Default destructor. | |
virtual StatusCode | initialize () override |
Usual initialize method of the framework. | |
virtual StatusCode | finalize () override |
Usual finalize method of the framework. | |
virtual double | getWeight () const override=0 |
returns: the value that was calculated from the usual Athena storegate | |
Protected Member Functions | |
bool | addDecoration (const xAOD::EventInfo *evtInfo, float weight) const |
Protected Attributes | |
std::string | m_prefixWeightDecoration |
std::string | m_weightName |
WeightToolBase::WeightToolBase | ( | const std::string & | name | ) |
Create a proper constructor for Athena.
The default constructor with the instance name of the tool class