Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /jana2/src/examples/misc/DstExample/DstExampleProcessor.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 
0006 #ifndef _DstExampleProcessor_h_
0007 #define _DstExampleProcessor_h_
0008 
0009 #include <JANA/JEventProcessor.h>
0010 
0011 class DstExampleProcessor : public JEventProcessor {
0012 
0013     // Shared state (e.g. histograms, TTrees, TFiles) live
0014     std::mutex m_mutex;
0015     
0016 public:
0017 
0018     DstExampleProcessor();
0019     virtual ~DstExampleProcessor() = default;
0020 
0021     void Init() override;
0022     void ProcessSequential(const JEvent&) override;
0023     void Finish() override;
0024 
0025 };
0026 
0027 
0028 #endif // _DstExampleProcessor_h_
0029