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 __subsys_____pkgname_____class___h
2 #define __subsys_____pkgname_____class___h
3 // -*- C++ -*-
4 //
5 // Package: __pkgname__
6 // Class: __class__
7 //
15 //
16 // Original Author: __author__
17 // Created: __date__
18 // __rcsid__
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  __class__Worker(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 __class__ : public TFWLiteSelector<__class__Worker> {
37 public :
38  __class__();
39  ~__class__();
40  void begin(TList*&);
41  void terminate(TList&);
42 
43 private:
44 
45  __class__(__class__ const&);
47 
48  ClassDef(__class__,2)
49 };
50 #endif
void process(const edm::Event &iEvent)
Definition: TSelector.cc:59
example_track TH1F * h_pt
Definition: TSelector.h:32
__class__()
Definition: Skeleton.cc:31
int iEvent
Definition: GenABIO.cc:243
const __class__ & operator=(const __class__ &rhs)
void postProcess(TList &)
Definition: TSelector.cc:84
virtual ~__class__()
Definition: EDAnalyzer.cc:88
__class__Worker(const TList *, TList &)
Definition: TSelector.cc:47
void terminate(TList &)
Definition: TSelector.cc:107
void begin(TList *&)
Definition: TSelector.cc:101