7#ifndef PILEUPTOOLS_IBEAMINTENSITY_H
8#define PILEUPTOOLS_IBEAMINTENSITY_H
15#include "GaudiKernel/IService.h"
31 virtual void selectT0(
const EventContext& ctx) =0;
virtual unsigned int getCurrentT0BunchCrossing() const =0
return the bunch crossing selected to be the current t0 bunch crossing
DeclareInterfaceID(IBeamIntensity, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual void selectT0(const EventContext &ctx)=0
randomly select in which bunch the current t0 is wrto the beam intensity distribution.
virtual unsigned int getBeamPatternLength() const =0
return the length of the beam pattern
virtual float largestElementInPattern() const =0
the largest element in the beam intensity pattern.
virtual float normFactor(int bunchXing) const =0
a scale factor (average value 1.0) for the beam intensity at a given xing.