File indexing completed on 2025-01-18 09:55:43
0001
0002
0003
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
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 };