CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/FWCore/TFWLiteSelectorTest/src/ThingsTSelector2.h

Go to the documentation of this file.
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