diff --git a/test/k4FWCoreTest/src/components/ExampleFunctionalProducerMultiple.cpp b/test/k4FWCoreTest/src/components/ExampleFunctionalProducerMultiple.cpp index f2dcdba2..b4f4f632 100644 --- a/test/k4FWCoreTest/src/components/ExampleFunctionalProducerMultiple.cpp +++ b/test/k4FWCoreTest/src/components/ExampleFunctionalProducerMultiple.cpp @@ -44,7 +44,7 @@ struct ExampleFunctionalProducerMultiple final : Gaudi::Functional::Producerpush_back(125.); floatVector->push_back(25.); floatVector->push_back(m_event); - Float_t floatVector_dw = DataWrapper>(std::move(floatVector)); + Float_t floatVectorDW = DataWrapper>(std::move(floatVector)); auto particles = std::make_unique(); auto particle = particles->create(); @@ -53,17 +53,17 @@ struct ExampleFunctionalProducerMultiple final : Gaudi::Functional::Producer(std::move(particles)); + Particle_t particleDW = DataWrapper(std::move(particles)); auto simTrackerHits = std::make_unique(); auto hit = simTrackerHits->create(); hit.setPosition({3, 4, 5}); - SimTrackerHit_t simTrackerHit_dw = DataWrapper(std::move(simTrackerHits)); + SimTrackerHit_t simTrackerHitDW = DataWrapper(std::move(simTrackerHits)); auto trackerHits = std::make_unique(); auto trackerHit = trackerHits->create(); trackerHit.setPosition({3, 4, 5}); - TrackerHit_t trackerHit_dw = DataWrapper(std::move(trackerHits)); + TrackerHit_t trackerHitDW = DataWrapper(std::move(trackerHits)); auto tracks = std::make_unique(); auto track = tracks->create(); @@ -81,9 +81,9 @@ struct ExampleFunctionalProducerMultiple final : Gaudi::Functional::Producer(std::move(tracks)); + Track_t trackDW = DataWrapper(std::move(tracks)); - return std::make_tuple(floatVector_dw, particle_dw, simTrackerHit_dw, trackerHit_dw, track_dw); + return std::make_tuple(floatVectorDW, particleDW, simTrackerHitDW, trackerHitDW, trackDW); } private: diff --git a/test/k4FWCoreTest/src/components/ExampleFunctionalTransformerMultiple.cpp b/test/k4FWCoreTest/src/components/ExampleFunctionalTransformerMultiple.cpp index 0edcc08e..bd86e1a9 100644 --- a/test/k4FWCoreTest/src/components/ExampleFunctionalTransformerMultiple.cpp +++ b/test/k4FWCoreTest/src/components/ExampleFunctionalTransformerMultiple.cpp @@ -19,10 +19,10 @@ using BaseClass_t = Gaudi::Functional::Traits::BaseClass_t; // Has to be wrapped in DataWrapper using colltype = DataWrapper; +// As a simple example, we'll write an integer and a collection of MCParticles using Counter_t = DataWrapper>; using Particle_t = DataWrapper; -// As a simple example, we'll write an integer and a collection of MCParticles struct ExampleFunctionalTransformerMultiple final : Gaudi::Functional::MultiTransformer(const colltype&, const colltype&, const colltype&, @@ -63,7 +63,7 @@ struct ExampleFunctionalTransformerMultiple final : Gaudi::Functional::MultiTran for (const auto& p : *particlesColl) { newParticlesColl->push_back(p); } - auto particle_dw = DataWrapper(std::move(newParticlesColl)); + auto particleDW = DataWrapper(std::move(newParticlesColl)); counter->push_back(particlesColl->size()); @@ -76,9 +76,9 @@ struct ExampleFunctionalTransformerMultiple final : Gaudi::Functional::MultiTran auto tracksColl = dynamic_cast(tracks.getData()); counter->push_back(tracksColl->size()); - auto counter_dw = DataWrapper>(std::move(counter)); + auto counterDW = DataWrapper>(std::move(counter)); - return std::make_tuple(counter_dw, particle_dw); + return std::make_tuple(counterDW, particleDW); }