Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-09-28 07:03:01

0001 
0002 //
0003 // Template for this file generated with eicmkplugin.py
0004 //
0005 
0006 #include <JANA/JEvent.h>
0007 #include <JANA/JEventProcessorSequentialRoot.h>
0008 #include <JANA/Utils/JTypeInfo.h>
0009 #include <TH1.h>
0010 #include <TH2.h>
0011 #include <map>
0012 #include <memory>
0013 #include <string>
0014 
0015 
0016 class TRACKINGcheckProcessor: public JEventProcessorSequentialRoot {
0017 private:
0018 
0019     // Containers for histograms
0020     std::map<std::string, TH1*> hist1D;
0021     std::map<std::string, TH2*> hist2D;
0022 
0023 public:
0024     TRACKINGcheckProcessor() { SetTypeName(NAME_OF_THIS); }
0025 
0026     void InitWithGlobalRootLock() override;
0027     void ProcessSequential(const std::shared_ptr<const JEvent>& event) override;
0028     void FinishWithGlobalRootLock() override;
0029 };