CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
tselector.h
Go to the documentation of this file.
1 #ifndef skelsubsys_tselname_tselname_h
2 #define tselname_h
3 // -*- C++ -*-
4 //
5 // Package: tselname
6 // Class: tselname
7 //
15 //
16 // Original Author: John Doe
17 // Created: day-mon-xx
18 // RCS(Id)
19 //
20 //
21 #include <TH1.h>
23 
24 //A worker processes the events. When using PROOF there is one Worker per PROOF CPU Node.
26  tselnameWorker(const TList*, TList&);
28  void process( const edm::Event& iEvent );
29  void postProcess(TList&);
30  //Place histograms, etc that you want to fill here
31  //TH1F* h_a;
32 @example_track TH1F* h_pt;
33 };
34 
35 //Only one Selector is made per job. It gets all the results from each worker.
36 class tselname : public TFWLiteSelector<tselnameWorker> {
37 public :
38  tselname();
39  ~tselname();
40  void begin(TList*&);
41  void terminate(TList&);
42 
43 private:
44 
45  tselname(tselname const&);
46  tselname operator=(tselname const&);
47 
48  ClassDef(tselname,2)
49 };
50 #endif
example_track TH1F * h_pt
Definition: tselector.h:32
tselname operator=(tselname const &)
int iEvent
Definition: GenABIO.cc:243
tselname()
Definition: tselector.cc:92
void process(const edm::Event &iEvent)
Definition: tselector.cc:59
tselnameWorker(const TList *, TList &)
Definition: tselector.cc:47
void begin(TList *&)
Definition: tselector.cc:101
~tselname()
Definition: tselector.cc:96
void terminate(TList &)
Definition: tselector.cc:107
void postProcess(TList &)
Definition: tselector.cc:84