8 const std::string& name,
9 const IInterface* parent) :
17 return StatusCode::SUCCESS;
22 ATH_MSG_DEBUG(
"prepareEvent: there are " << nInputEvents <<
" subevents in this event.");
25 return StatusCode::SUCCESS;
34 ATH_MSG_VERBOSE(
"Already written out a HijingEventParams for the current signal event.");
35 return StatusCode::SUCCESS;
38 for (; iEvt!=eSubEvents; ++iEvt) {
41 bunchXing, iEvt).isSuccess()) {
54 for(
int n=1;n<7;++n) {
59 ATH_MSG_DEBUG(
"processBunchXing: copied original event HijingEventParams" );
62 ATH_MSG_DEBUG(
"processBunchXing: copied background event HijingEventParams" );
64 return StatusCode::SUCCESS;
68 ATH_MSG_VERBOSE(
"processBunchXing: No HijingEventParams found in the signal eventStore." );
72 return StatusCode::SUCCESS;
79 ATH_MSG_ERROR (
"mergeEvent: No HijingEventParams found in the signal or background eventStores." );
80 return StatusCode::FAILURE;
82 return StatusCode::SUCCESS;
88 return (bunchXing==0);
95 TimedHijingParamsList HijingList;
98 || HijingList.size()==0) {
99 ATH_MSG_INFO (
" Cannot find HijingEventParams from PileUp service " );
100 return StatusCode::SUCCESS;
102 ATH_MSG_DEBUG (
" HijingEventParams found from PileUp service " );
103 for (
const auto& hijingParams: HijingList) {
104 hijing_pars = hijingParams.second;
114 hijing_pars->
get_b(),
118 for(
int n=1;n<7;++n) {
125 ATH_MSG_ERROR(
"processAllSubEvents: No HijingEventParams found in the signal or background eventStores." );
126 return StatusCode::FAILURE;
128 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
float get_psi(int n) const
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
std::list< value_t > type
type of the collection of timed data object