![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "Gaudi/Property.h"
31 const std::string&
name,
32 const IInterface*
parent ) :
54 if (
nullptr == in ||
nullptr ==
out ) {
58 return StatusCode::FAILURE;
63 out->operator=( *in );
65 for (
unsigned int iEvt = 0; iEvt !=
out->size(); ++iEvt ) {
66 const HepMC::GenEvent * outEvt = (*out)[iEvt];
67 if (
nullptr == outEvt ) {
69 (
"Could not launch filtering procedure for GenEvent number ["
70 << iEvt <<
"] from McEventCollection ["
73 <<
" outEvt: " << outEvt);
78 return StatusCode::SUCCESS;
const std::string & key() const
Return the StoreGate ID for the referenced object.
SG::ReadHandleKey< McEventCollection > m_mcEventsReadHandleKey
ReadHandleKey for the input McEventCollection one wants to filter.
::StatusCode StatusCode
StatusCode definition for legacy code.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
#define ATH_MSG_WARNING(x)