![]() |
ATLAS Offline Software
|
Service holding generator metadata for event generation. More...
#include <GeneratorInfoSvc.h>
Public Member Functions | |
| GeneratorInfoSvc (const std::string &name, ISvcLocator *svcLoc) | |
| Standard service constructor. | |
| virtual StatusCode | initialize () override |
| Initialize the service. | |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Attributes | |
| StringArrayProperty | m_generators {this, "Generators", {}, "List of generators run", "OrderedSet<std::string>"} |
| List of generators that were run. | |
| StringProperty | m_tune {this, "Tune", "", "Tune used"} |
| Generator tune used for event generation. | |
Service holding generator metadata for event generation.
This service stores metadata related to Monte Carlo event generation, such as the list of generators used and the generator tune.
Historically, this information was stored in the global object created from EvgenConfig.py, which is no longer available in the ComponentAccumulator-based configuration. GeneratorInfoSvc replaces that functionality.
Definition at line 24 of file GeneratorInfoSvc.h.
| GeneratorInfoSvc::GeneratorInfoSvc | ( | const std::string & | name, |
| ISvcLocator * | svcLoc ) |
Standard service constructor.
| name | Name of the service |
| svcLoc | Pointer to the service locator |
Definition at line 5 of file GeneratorInfoSvc.cxx.
|
overridevirtual |
Initialize the service.
Called by the framework during initialization.
Definition at line 10 of file GeneratorInfoSvc.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
protected |
List of generators that were run.
This property is typically populated by base generator configuration fragments e.g. Pythia8Config.py.
Definition at line 47 of file GeneratorInfoSvc.h.
|
protected |
Generator tune used for event generation.
Definition at line 51 of file GeneratorInfoSvc.h.