21 return StatusCode::FAILURE;
27 return StatusCode::SUCCESS;
37 out <<
"\nTimestamp:" << ctx.eventID().time_stamp() <<
" ns:" << ctx.eventID().time_stamp_ns_offset() << std::endl;
38 for (
unsigned channel=0;channel<2;++channel)
41 return StatusCode::SUCCESS;
46 out <<
"channel " << channel;
#define ATH_CHECK
Evaluate an expression and check for errors.
float GetBeam1IntensityAll(int channel) const
float GetBeam2IntensityAll(int channel) const
float GetBeam2Intensity(int channel) const
float GetBeam2IntensityAllSTD(int channel) const
float GetBeam1IntensitySTD(int channel) const
float GetBeam2IntensitySTD(int channel) const
float GetBeam1Intensity(int channel) const
float GetBeam1IntensityAllSTD(int channel) const
virtual StatusCode initialize()
Initialization run before the event loop.
SG::ReadCondHandleKey< BunchCrossingAverageCondData > m_inputKey
virtual StatusCode execute(const EventContext &ctx)
Function called once per event.
static void printInfo(const BunchCrossingAverageCondData *bccd, unsigned int channel, std::ostream &out)
Function for printing detailed info about a given bunch crossing.
Gaudi::Property< std::string > m_fileName