7#ifndef PILEUPTOOLS_IBEAMINTENSITY_H
8#define PILEUPTOOLS_IBEAMINTENSITY_H
16#include "GaudiKernel/IService.h"
29 virtual void selectT0(
unsigned int run,
unsigned long long event) =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 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 void selectT0(unsigned int run, unsigned long long event)=0
randomly select in which bunch the current t0 is wrto the beam intensity distribution.
virtual float normFactor(int bunchXing) const =0
a scale factor (average value 1.0) for the beam intensity at a given xing.