2 #include "art/Framework/Core/EDFilter.h"
3 #include "art/Framework/Core/ModuleMacros.h"
4 #include "art/Framework/Principal/Event.h"
5 #include "fhiclcpp/ParameterSet.h"
6 #include "art/Framework/Principal/Handle.h"
7 #include "canvas/Persistency/Common/Ptr.h"
8 #include "canvas/Persistency/Common/PtrVector.h"
9 #include "art/Framework/Services/Registry/ServiceHandle.h"
10 #include "art_root_io/TFileService.h"
11 #include "messagefacility/MessageLogger/MessageLogger.h"
33 virtual bool filter(art::Event&
e)
override;
39 art::ServiceHandle<art::TFileService>
tfs;
52 art::Handle<std::vector<sbnd::comm::MuonTrack> > muonTrackListHandle;
53 std::vector<art::Ptr<sbnd::comm::MuonTrack> > muontrklist;
54 if (evt.getByLabel(
"MuonTrackProducer", muonTrackListHandle)) {
55 art::fill_ptr_vector(muontrklist, muonTrackListHandle);
56 ncts = muontrklist.size();
MuonTrackFilter(fhicl::ParameterSet const &p)
art::ServiceHandle< art::TFileService > tfs
virtual bool filter(art::Event &e) override
Declaration of signal hit object.
void reconfigure(fhicl::ParameterSet const &p)
virtual ~MuonTrackFilter()
Encapsulate the geometry of a wire.
Encapsulate the construction of a single detector plane.
art framework interface to geometry description