10 const std::string& name,
11 const IInterface* parent) :
21 return StatusCode::SUCCESS;
27 ATH_MSG_DEBUG(
"prepareEvent: there are " << nInputEvents <<
" subevents in this event.");
29 return StatusCode::SUCCESS;
39 if (bSubEvents != eSubEvents) {
42 bunchXing, bSubEvents).isSuccess()) {
44 ATH_CHECK(outputCollection.record(std::make_unique<TrackRecordCollection>()));
45 if (!outputCollection.isValid()) {
46 ATH_MSG_ERROR(
"Could not record output TrackRecordCollection " << outputCollection.name() <<
" to store " << outputCollection.store());
47 return StatusCode::FAILURE;
50 for(
const auto& trcit : *oldColl) {
53 ATH_MSG_DEBUG(
"processBunchXing: copied original event TrackRecordCollection" );
57 ATH_MSG_ERROR (
"processBunchXing: TimedTruthList is empty" );
61 ATH_MSG_ERROR (
"processBunchXing: Can not find TimedTruthList" );
65 return StatusCode::SUCCESS;
71 return StatusCode::SUCCESS;
78 return (bunchXing==0);
86 TimedTruthList truthList;
88 if (truthList.begin() != truthList.end()) {
93 ATH_CHECK(outputCollection.record(std::make_unique<TrackRecordCollection>()));
94 if (!outputCollection.isValid()) {
95 ATH_MSG_ERROR(
"Could not record output TrackRecordCollection " << outputCollection.name() <<
" to store " << outputCollection.store());
96 return StatusCode::FAILURE;
99 for (
const auto& trcit : oldColl) {
103 ATH_MSG_DEBUG (
"processAllSubEvents: copied original event TrackRecordCollection" );
106 ATH_MSG_ERROR (
"processAllSubEvents: TimedTruthList is empty" );
110 ATH_MSG_ERROR (
"processAllSubEvents: Can not find TimedTruthList" );
112 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
Helpers for checking error return status codes and reporting errors.
AtlasHitsVector< TrackRecord > TrackRecordCollection
std::list< value_t > type
type of the collection of timed data object