Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-04 08:56:34

0001 // Copyright 2024, Jefferson Science Associates, LLC.
0002 // Subject to the terms in the LICENSE file found in the top-level directory.
0003 
0004 #pragma once
0005 
0006 #include "JANA/Utils/JEventLevel.h"
0007 #include <JANA/Topology/JArrow.h>
0008 
0009 class JEventProcessor;
0010 class JEvent;
0011 
0012 
0013 class JTapArrow : public JArrow {
0014 public:
0015     enum PortIndex {EVENT_IN=0, EVENT_OUT=1};
0016 
0017 private:
0018     std::vector<JEventProcessor*> m_procs;
0019 
0020 public:
0021     JTapArrow(std::string name, JEventLevel level=JEventLevel::PhysicsEvent);
0022 
0023     void AddProcessor(JEventProcessor* proc);
0024 
0025     void Fire(JEvent* event, OutputData& outputs, size_t& output_count, JArrow::FireResult& status) final;
0026     void Initialize() final;
0027     void Finalize() final;
0028 };
0029