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