CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/PhysicsTools/ParallelAnalysis/interface/TrackAnalysisAlgorithm.h

Go to the documentation of this file.
00001 #ifndef ParallelAnalysis_TrackAnalysisAlgorithm_h
00002 #define ParallelAnalysis_TrackAnalysisAlgorithm_h
00003 /* class examples::TrackAnalysisAlgorithm
00004  *
00005  * Algorithm structure siutable for both TSelector running
00006  * and Framework processing
00007  *
00008  * \author Luca Lista, INFN
00009  *
00010  * \version $Revision: 1.2 $
00011  */
00012 
00013 class TH1F;
00014 class TList;
00015 class TCanvas;
00016 namespace edm { class Event; }
00017 
00018 namespace examples {
00019 
00020   struct TrackAnalysisAlgorithm {
00022     TrackAnalysisAlgorithm( const TList *, TList& );
00024     void process( const edm::Event&  );
00026     void postProcess( TList & );
00028     static void terminate( TList & );
00029   private:
00031     static void draw( const TList &, TCanvas &, const char * );
00033     TH1F * h_pt, * h_eta;
00035     static const char * kPt, * kEta;
00036   };
00037 
00038 }
00039 
00040 #endif