00001 #ifndef ThingsTSelector2_h 00002 #define ThingsTSelector2_h 00003 00012 #include <TH1.h> 00013 #include "FWCore/TFWLiteSelector/interface/TFWLiteSelector.h" 00014 00015 namespace tfwliteselectortest { 00016 struct ThingsWorker { 00017 ThingsWorker(const TList*, TList&); 00018 void process( const edm::Event& iEvent ); 00019 void postProcess(TList&); 00020 TH1F* h_a; 00021 TH1F* h_refA; 00022 }; 00023 00024 class ThingsTSelector2 : public TFWLiteSelector<ThingsWorker> { 00025 public : 00026 ThingsTSelector2() {} 00027 void begin(TList*&); 00028 void terminate(TList&); 00029 00030 private: 00031 00032 ThingsTSelector2(ThingsTSelector2 const&); 00033 ThingsTSelector2 operator=(ThingsTSelector2 const&); 00034 00035 ClassDef(ThingsTSelector2,2) 00036 }; 00037 } 00038 #endif