File indexing completed on 2025-07-01 07:56:29
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 class TRACKINGcheckProcessor : public JEventProcessorSequentialRoot {
0016 private:
0017
0018 std::map<std::string, TH1*> hist1D;
0019 std::map<std::string, TH2*> hist2D;
0020
0021 public:
0022 TRACKINGcheckProcessor() { SetTypeName(NAME_OF_THIS); }
0023
0024 void InitWithGlobalRootLock() override;
0025 void ProcessSequential(const std::shared_ptr<const JEvent>& event) override;
0026 void FinishWithGlobalRootLock() override;
0027 };