Skip to content

Commit

Permalink
refactor: rename ParticlesWithAssociation{New,}
Browse files Browse the repository at this point in the history
Co-authored-by: Wouter Deconinck <[email protected]>
  • Loading branch information
c-dilks and wdconinc authored Aug 30, 2023
1 parent 37e467c commit c4b0f4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/algorithms/pid/ParticlesWithPID.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace eicrecon {

}

ParticlesWithAssociationNew ParticlesWithPID::process(
ParticlesWithAssociation ParticlesWithPID::process(
const edm4hep::MCParticleCollection* mc_particles,
const edm4eic::TrajectoryCollection* trajectories,
std::vector<const edm4eic::CherenkovParticleIDCollection*> cherenkov_pid_collections
Expand All @@ -24,7 +24,7 @@ namespace eicrecon {
// input collection

/// Resulting reconstructed particles
ParticlesWithAssociationNew out_colls;
ParticlesWithAssociation out_colls;
out_colls.parts = std::make_unique<edm4eic::ReconstructedParticleCollection>();
out_colls.assocs = std::make_unique<edm4eic::MCRecoParticleAssociationCollection>();
out_colls.pids = std::make_unique<edm4hep::ParticleIDCollection>();
Expand Down
4 changes: 2 additions & 2 deletions src/algorithms/pid/ParticlesWithPID.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

namespace eicrecon {

struct ParticlesWithAssociationNew {
struct ParticlesWithAssociation {
std::unique_ptr<edm4eic::ReconstructedParticleCollection> parts;
std::unique_ptr<edm4eic::MCRecoParticleAssociationCollection> assocs;
std::unique_ptr<edm4hep::ParticleIDCollection> pids;
Expand All @@ -38,7 +38,7 @@ namespace eicrecon {

void init(std::shared_ptr<spdlog::logger> logger);

ParticlesWithAssociationNew process(
ParticlesWithAssociation process(
const edm4hep::MCParticleCollection* mc_particles,
const edm4eic::TrajectoryCollection* track_params,
std::vector<const edm4eic::CherenkovParticleIDCollection*> cherenkov_pid_collections
Expand Down

0 comments on commit c4b0f4a

Please sign in to comment.