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
def draw(name, histos, styles=_defaultStyles, legendLabels=[], kwargs)
static const char * kPt
histogram names
HLT enums.