36 return StatusCode::SUCCESS;
43 if (!eventInfo.isValid()){
46 return StatusCode::FAILURE;
48 auto ei = eventInfo.cptr();
66 dec_BCIDType(*ei) = bunchCrossingTool->bcType(ei->bcid());
68 dec_BCIDTypeMinus12(*ei) = bunchCrossingTool->bcType(ei->bcid()-12);
72 dec_BCIDTypeMinus12(*ei) = -1;
73 dec_BCIDGapBeforeTrainMinus12(*ei) = 0;
74 dec_BCIDGapAfterTrainMinus12(*ei) = 0;
77 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_WARNING(x)
Handle class for adding a decoration to an object.
@ BunchCrossings
Distance in units of 25 nanoseconds.
Handle class for adding a decoration to an object.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())