File indexing completed on 2024-04-06 12:13:11
0001 #ifndef ThingsTSelector_h
0002 #define ThingsTSelector_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "TH1.h"
0012 #include "FWCore/TFWLiteSelector/interface/TFWLiteSelectorBasic.h"
0013 #include "FWCore/Utilities/interface/propagate_const.h"
0014
0015 namespace tfwliteselectortest {
0016 class ThingsTSelector : public TFWLiteSelectorBasic {
0017 public:
0018 ThingsTSelector() : h_a(nullptr), h_refA(nullptr) {}
0019 void begin(TList*&) override;
0020 void preProcessing(const TList*, TList&) override;
0021 void process(const edm::Event&) override;
0022 void postProcessing(TList&) override;
0023 void terminate(TList&) override;
0024
0025 private:
0026
0027 edm::propagate_const<TH1F*> h_a;
0028 edm::propagate_const<TH1F*> h_refA;
0029
0030 ThingsTSelector(ThingsTSelector const&);
0031 ThingsTSelector operator=(ThingsTSelector const&);
0032
0033 ClassDefOverride(ThingsTSelector, 2)
0034 };
0035 }
0036 #endif