5#ifndef BARCODEINTERFACES_IBARCODESVC_H
6#define BARCODEINTERFACES_IBARCODESVC_H 1
12#include "GaudiKernel/IInterface.h"
13#include "GaudiKernel/StatusCode.h"
14#include "GaudiKernel/ToolHandle.h"
15#include "GaudiKernel/ServiceHandle.h"
30 virtual StatusCode
resetBarcodes(
int,
int) {
return StatusCode::SUCCESS; };
virtual int newSimulationVertex()=0
Generate a new unique vertex barcode above the simulation offset.
DeclareInterfaceID(IBarcodeSvc, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual int newSecondaryParticle(int parentBC)=0
Generate a new unique barcode for a secondary particle above the simulation offset.
virtual int newGeneratedVertex()=0
Generate a new unique vertex barcode below the simulation offset.
virtual StatusCode resetBarcodes(int, int)
virtual int newGeneratedParticle(int parentBC)=0
Generate a new unique particle barcode below the simulation offset (for particles from pre-defined de...
virtual int secondaryParticleBcOffset() const =0
Return the secondary particle and vertex offsets.
virtual void registerLargestGeneratedParticleBC(int bc)=0
Inform the BarcodeSvc about the largest particle and vertex Barcodes in the event input.
virtual void registerLargestGeneratedVtxBC(int bc)=0
virtual void registerLargestSimulationVtxBC(int bc)=0
virtual StatusCode initializeBarcodes(int, int)
virtual int secondaryVertexBcOffset() const =0
virtual void registerLargestSecondaryParticleBC(int bc)=0