Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:39

0001 
0002 // Copyright 2020, Jefferson Science Associates, LLC.
0003 // Subject to the terms in the LICENSE file found in the top-level directory.
0004 
0005 #ifndef _TutorialProcessor_h_
0006 #define _TutorialProcessor_h_
0007 
0008 #include <JANA/JEventProcessor.h>
0009 
0010 class TutorialProcessor : public JEventProcessor {
0011 
0012     /// Shared state (e.g. histograms, TTrees, TFiles) live here
0013     double m_heatmap[100][100];
0014     
0015 public:
0016 
0017     TutorialProcessor();
0018     virtual ~TutorialProcessor() = default;
0019 
0020     void Init() override;
0021     void Process(const std::shared_ptr<const JEvent>& event) override;
0022     void Finish() override;
0023 
0024 };
0025 
0026 
0027 #endif // _TutorialProcessor_h_
0028