|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef BARCODESERVICES_VALIDATIONBARCODESVC_H
6 #define BARCODESERVICES_VALIDATIONBARCODESVC_H 1
12 #include "GaudiKernel/IIncidentListener.h"
13 #include "GaudiKernel/ServiceHandle.h"
46 virtual void handle(
const Incident& inc)
override;
95 #endif //> !BARCODESERVICES_VALIDATIONBARCODESVC_H
virtual void registerLargestSimulationVtxBC(int) override
virtual int secondaryVertexBcOffset() const override
Return the secondary vertex offset.
virtual int newSimulationVertex() override
Generate a new unique vertex barcode, based on the parent particle barcode and the physics process co...
ServiceHandle< IIncidentSvc > m_incidentSvc
IncidentSvc to catch begin of event and end of envent.
virtual int secondaryParticleBcOffset() const override
Return the secondary particle and vertex offsets.
virtual void registerLargestGeneratedVtxBC(int) override
ValidationBarcodeSvc(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
int m_firstVertex
barcode information used for GenVertices
::StatusCode StatusCode
StatusCode definition for legacy code.
int m_firstSecondary
barcode information used for secondary GenParticles
virtual int newGeneratedVertex() override
Generate a new unique vertex barcode below the simulation offset.
int m_barcodeGenerationOffset
not sure why this is needed...
virtual void registerLargestGeneratedParticleBC(int) override
Inform the BarcodeSvc about the largest particle and vertex Barcodes in the event input.
constexpr int UNDEFINED_ID
virtual StatusCode initialize() override
Athena algorithm's interface methods.
virtual int newSecondaryParticle(int parentBC=HepMC::UNDEFINED_ID) override
Generate a new unique barcode for a secondary particle, based on the parent particle barcode.
virtual StatusCode finalize() override
framework methods
virtual ~ValidationBarcodeSvc()
Destructor.
int m_particleGenerationIncrement
barcode offset for each generation of updated particles
virtual int newGeneratedParticle(int parentBC=HepMC::UNDEFINED_ID) override
Generate a new unique particle barcode below the simulation offset (for particles from pre-defined de...
virtual void handle(const Incident &inc) override
Incident to reset the barcodes at the beginning of the event.
virtual void registerLargestSecondaryParticleBC(int) override