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 {
17  class Event;
18 }
19 
20 namespace examples {
21 
24  TrackAnalysisAlgorithm(const TList *, TList &);
26  void process(const edm::Event &);
28  void postProcess(TList &);
30  static void terminate(TList &);
31 
32  private:
34  static void draw(const TList &, TCanvas &, const char *);
36  TH1F *h_pt, *h_eta;
38  static const char *kPt, *kEta;
39  };
40 
41 } // namespace examples
42 
43 #endif
def draw(name, histos, styles=_defaultStyles, legendLabels=[], kwargs)
static const char * kPt
histogram names
HLT enums.