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