ATLAS Offline Software
Public Types | Public Member Functions | List of all members
IHepMCWeightSvc Class Referenceabstract

IService to read/write HepMC's WeightContainer key names from/to IOVMetaDataContainers author: will buttinger , NLAA. More...

#include <IHepMCWeightSvc.h>

Inheritance diagram for IHepMCWeightSvc:
Collaboration diagram for IHepMCWeightSvc:

Public Types

using WeightMap = std::map< std::string, std::size_t >
 

Public Member Functions

 DeclareInterfaceID (IHepMCWeightSvc, 1, 0)
 
virtual StatusCode setWeightNames (const WeightMap &weightNames, const EventContext &ctx=Gaudi::Hive::currentContext())=0
 If no weight names have been set yet, record them to metadata. More...
 
virtual WeightMap weightNames (const EventContext &ctx=Gaudi::Hive::currentContext())=0
 Return the current weight names. More...
 
virtual std::vector< std::string > weightNameVec (const EventContext &ctx=Gaudi::Hive::currentContext())=0
 Return the current weight names. More...
 

Detailed Description

IService to read/write HepMC's WeightContainer key names from/to IOVMetaDataContainers author: will buttinger , NLAA.

Definition at line 17 of file IHepMCWeightSvc.h.

Member Typedef Documentation

◆ WeightMap

using IHepMCWeightSvc::WeightMap = std::map<std::string, std::size_t>

Definition at line 22 of file IHepMCWeightSvc.h.

Member Function Documentation

◆ DeclareInterfaceID()

IHepMCWeightSvc::DeclareInterfaceID ( IHepMCWeightSvc  ,
,
 
)

◆ setWeightNames()

virtual StatusCode IHepMCWeightSvc::setWeightNames ( const WeightMap weightNames,
const EventContext &  ctx = Gaudi::Hive::currentContext() 
)
pure virtual

If no weight names have been set yet, record them to metadata.

◆ weightNames()

virtual WeightMap IHepMCWeightSvc::weightNames ( const EventContext &  ctx = Gaudi::Hive::currentContext())
pure virtual

Return the current weight names.

◆ weightNameVec()

virtual std::vector<std::string> IHepMCWeightSvc::weightNameVec ( const EventContext &  ctx = Gaudi::Hive::currentContext())
pure virtual

Return the current weight names.


The documentation for this class was generated from the following file: