21 return StatusCode::FAILURE;
27 return StatusCode::SUCCESS;
33 const EventContext& ctx = Gaudi::Hive::currentContext();
38 out <<
"\nTimestamp:" << ctx.eventID().time_stamp() <<
" ns:" << ctx.eventID().time_stamp_ns_offset() << std::endl;
39 for (
unsigned channel=0;channel<2;++channel)
42 return StatusCode::SUCCESS;
47 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.
virtual StatusCode execute()
Function called once per event.
SG::ReadCondHandleKey< BunchCrossingAverageCondData > m_inputKey
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