ATLAS Offline Software
Loading...
Searching...
No Matches
ISF::IInputConverter Class Referenceabstract

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

#include <IInputConverter.h>

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

Public Member Functions

virtual ~IInputConverter ()
 Virtual destructor.
 DeclareInterfaceID (ISF::IInputConverter, 1, 0)
 Tell Gaudi which InterfaceID we have.
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.
virtual StatusCode convertHepMCToG4Event (McEventCollection &inputGenEvents, G4Event &outputG4Event, McEventCollection &shadowGenEvents) const =0
 Convert selected particles from the given McEventCollection into G4PrimaryParticles and push them into the given G4Event.
virtual StatusCode convertHepMCToG4EventLegacy (McEventCollection &inputGenEvents, G4Event &outputG4Event) const =0
 Convert selected particles from the given McEventCollection into G4PrimaryParticles and push them into the given G4Event.
virtual void ISF_to_G4Event (G4Event &event, 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.

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 ( 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 ( 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 ,
1 ,
0  )

Tell Gaudi which InterfaceID we have.

◆ ISF_to_G4Event()

virtual void ISF::IInputConverter::ISF_to_G4Event ( G4Event & event,
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: