68 std::vector<art::Ptr<brb::ToF>> tofs;
73 std::vector<art::Ptr<brb::BeamlineDigit>> cherenkovs;
79 std::vector<art::Ptr<brb::WCTrack>> wcs;
83 bool hasToF = tofs.size() > 0;
84 bool hasWC = wcs.size() > 0;
85 bool hasCherenkov = cherenkovs.size() > 0;
GoodBeamlineEventFilter(fhicl::ParameterSet const &p)
bool filter(art::Event &e)
DEFINE_ART_MODULE(TestTMapFile)
art::InputTag fToFRecoLabel
Encapsulation of reconstructed digitizer 'hits'. Used for ToF PMTs and SiPMs, and Cherenkov and Muon ...
art::InputTag fWCRecoLabel
T get(std::string const &key) const
Encapsulation of reconstructed Time-of-Flight (ToF) information. Part of beamline reconstruction for ...
Encapsulation of reconstructed Wire Chamber track. Part of beamline reconstruction for NOvA test beam...
art::InputTag fCherenkovRecoLabel
void reconfigure(const fhicl::ParameterSet &p)
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
Encapsulation of reconstructed PID information from detectors in the beamline (ToF, WCs, Cherenkov). Part of beamline reconstruction for NOvA test beam.