Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
fdplacido committed Jun 1, 2022
1 parent 4d61762 commit 6883abd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion k4MarlinWrapper/k4MarlinWrapper/converters/EDM4hep2Lcio.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "k4MarlinWrapper/converters/IEDMConverter.h"
#include "k4MarlinWrapper/util/k4MarlinWrapperUtil.h"


class EDM4hep2LcioTool : public GaudiTool, virtual public IEDMConverter {
public:
EDM4hep2LcioTool(const std::string& type, const std::string& name, const IInterface* parent);
Expand Down
5 changes: 2 additions & 3 deletions k4MarlinWrapper/src/components/EDM4hep2Lcio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void EDM4hep2LcioTool::convertTracks(vec_pair<lcio::TrackImpl*, edm4hep::Track>&
const std::string& e4h_coll_name, const std::string& lcio_coll_name,
lcio::LCEventImpl* lcio_event) {
DataHandle<edm4hep::TrackCollection> tracks_handle{e4h_coll_name, Gaudi::DataHandle::Reader, this};
const auto* tracks_coll = tracks_handle.get();
const auto* tracks_coll = tracks_handle.get();

auto* conv_tracks = convTracks(tracks_coll, tracks_vec, trackerhits_vec);

Expand Down Expand Up @@ -186,7 +186,7 @@ void EDM4hep2LcioTool::convertMCParticles(vec_pair<lcio::MCParticleImpl*, edm4he
DataHandle<edm4hep::MCParticleCollection> mcparticle_handle{e4h_coll_name, Gaudi::DataHandle::Reader, this};
const auto mcparticle_coll = mcparticle_handle.get();

auto* conv_mcparticles = convMCParticles(mcparticle_coll,mc_particles_vec);
auto* conv_mcparticles = convMCParticles(mcparticle_coll, mc_particles_vec);

// Add all reconstructed particles to event
lcio_event->addCollection(conv_mcparticles, lcio_coll_name);
Expand Down Expand Up @@ -267,7 +267,6 @@ void EDM4hep2LcioTool::convertAdd(const std::string& e4h_coll_name, const std::s
}
}


// Parse property parameters and convert the indicated collections.
// Use the collection names in the parameters to read and write them
StatusCode EDM4hep2LcioTool::convertCollections(lcio::LCEventImpl* lcio_event) {
Expand Down

0 comments on commit 6883abd

Please sign in to comment.