Skip to content

Commit

Permalink
using edm4hep contants header
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt committed Feb 29, 2024
1 parent d513511 commit 36415fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions k4Gen/src/components/GenEventFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class IEventProcessor;
#include "k4FWCore/MetaDataHandle.h"

// Datamodel
namespace edm4hep {
class MCParticleCollection;
}
#include "edm4hep/MCParticleCollection.h"
#include "edm4hep/Constants.h"


/** @class GenEventFilter Generation/src/components/GenEventFilter.h GenEventFilter.h
*
Expand Down Expand Up @@ -42,7 +42,7 @@ class GenEventFilter : public Gaudi::Algorithm {
"particles", Gaudi::DataHandle::Reader, this};
/// Writes out filter statistics.
MetaDataHandle<std::vector<int>> m_evtFilterStats{
"EventFilterStats", Gaudi::DataHandle::Writer};
edm4hep::EventFilterStats, Gaudi::DataHandle::Writer};

/// Rule to filter the events with.
Gaudi::Property<std::string> m_filterRuleStr{
Expand Down

0 comments on commit 36415fc

Please sign in to comment.