ATLAS Offline Software
Public Member Functions | List of all members
ISF::IInputConverter Class Referenceabstract

#include <IInputConverter.h>

Inheritance diagram for ISF::IInputConverter:
Collaboration diagram for ISF::IInputConverter:

Public Member Functions

virtual ~IInputConverter ()
 Virtual destructor. More...
 
 DeclareInterfaceID (ISF::IInputConverter, 1, 0)
 Tell Gaudi which InterfaceID we have. More...
 
virtual StatusCode convert (McEventCollection &inputGenEvents, ISFParticleContainer &simParticles) const =0
 Convert selected particles from the given McEventCollection into ISFParticles and push them into the given ISFParticleContainer. More...
 
virtual StatusCode convertHepMCToG4Event (const EventContext &ctx, McEventCollection &inputGenEvents, G4Event *&outputG4Event, McEventCollection &shadowGenEvents) const =0
 Convert selected particles from the given McEventCollection into G4PrimaryParticles and push them into the given G4Event. More...
 
virtual StatusCode convertHepMCToG4EventLegacy (const EventContext &ctx, McEventCollection &inputGenEvents, G4Event *&outputG4Event) const =0
 Convert selected particles from the given McEventCollection into G4PrimaryParticles and push them into the given G4Event. More...
 
virtual G4Event * ISF_to_G4Event (const EventContext &ctx, const std::vector< ISF::ISFParticle * > &isp, HepMC::GenEvent *genEvent, HepMC::GenEvent *shadowGenEvent=nullptr, bool useHepMC=false) const =0
 Converts vector of ISF::ISFParticles to G4Event. More...
 

Detailed Description

Interface to Athena service that converts an input McEventCollection into a container of ISFParticles.

Author
Elmar.Ritsch -at- cern.ch

Definition at line 39 of file IInputConverter.h.

Constructor & Destructor Documentation

◆ ~IInputConverter()

virtual ISF::IInputConverter::~IInputConverter ( )
inlinevirtual

Virtual destructor.

Definition at line 43 of file IInputConverter.h.

43 {}

Member Function Documentation

◆ convert()

virtual StatusCode ISF::IInputConverter::convert ( McEventCollection inputGenEvents,
ISFParticleContainer simParticles 
) const
pure virtual

Convert selected particles from the given McEventCollection into ISFParticles and push them into the given ISFParticleContainer.

◆ convertHepMCToG4Event()

virtual StatusCode ISF::IInputConverter::convertHepMCToG4Event ( const EventContext &  ctx,
McEventCollection inputGenEvents,
G4Event *&  outputG4Event,
McEventCollection shadowGenEvents 
) const
pure virtual

Convert selected particles from the given McEventCollection into G4PrimaryParticles and push them into the given G4Event.

◆ convertHepMCToG4EventLegacy()

virtual StatusCode ISF::IInputConverter::convertHepMCToG4EventLegacy ( const EventContext &  ctx,
McEventCollection inputGenEvents,
G4Event *&  outputG4Event 
) const
pure virtual

Convert selected particles from the given McEventCollection into G4PrimaryParticles and push them into the given G4Event.

◆ DeclareInterfaceID()

ISF::IInputConverter::DeclareInterfaceID ( ISF::IInputConverter  ,
,
 
)

Tell Gaudi which InterfaceID we have.

◆ ISF_to_G4Event()

virtual G4Event* ISF::IInputConverter::ISF_to_G4Event ( const EventContext &  ctx,
const std::vector< ISF::ISFParticle * > &  isp,
HepMC::GenEvent *  genEvent,
HepMC::GenEvent *  shadowGenEvent = nullptr,
bool  useHepMC = false 
) const
pure virtual

Converts vector of ISF::ISFParticles to G4Event.


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