CMS 3D CMS Logo

TrackAnalysisAlgorithm.h
Go to the documentation of this file.
1 #ifndef ParallelAnalysis_TrackAnalysisAlgorithm_h
2 #define ParallelAnalysis_TrackAnalysisAlgorithm_h
3 /* class examples::TrackAnalysisAlgorithm
4  *
5  * Algorithm structure siutable for both TSelector running
6  * and Framework processing
7  *
8  * \author Luca Lista, INFN
9  *
10  */
11 
13 class TH1F;
14 class TList;
15 class TCanvas;
16 namespace edm { class Event; }
17 
18 namespace examples {
19 
22  TrackAnalysisAlgorithm( const TList *, TList& );
24  void process( const edm::Event& );
26  void postProcess( TList & );
28  static void terminate( TList & );
29  private:
31  static void draw( const TList &, TCanvas &, const char * );
33  TH1F * h_pt, * h_eta;
35  static const char * kPt, * kEta;
36  };
37 
38 }
39 
40 #endif
static const char * kPt
histogram names
def draw(name, histos, styles, legendLabels=[], xtitle=None, ytitle=None, drawOpt="HIST", legendDx=0, legendDy=0, legendDw=0, legendDh=0, xmin=None, ymin=0, xmax=None, ymax=None, xlog=False, ylog=False, xgrid=True, ygrid=True, ratio=False, ratioYmin=0.5, ratioYmax=1.5, ratioYTitle=plotting._ratioYTitle)
HLT enums.