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: __subsys__/__pkgname__
6 // Class: __class__
7 //
15 //
16 // Original Author: __author__
17 // Created: __date__
18 //
19 //
20 #include <TH1.h>
22 
23 //A worker processes the events. When using PROOF there is one Worker per PROOF CPU Node.
25  __class__Worker(const TList*, TList&);
27  void process( const edm::Event& iEvent );
28  void postProcess(TList&);
29  //Place histograms, etc that you want to fill here
30  //TH1F* h_a;
31 @example_track TH1F* h_pt;
32 };
33 
34 //Only one Selector is made per job. It gets all the results from each worker.
35 class __class__ : public TFWLiteSelector<__class__Worker> {
36 public :
37  __class__();
38  ~__class__();
39  void begin(TList*&);
40  void terminate(TList&);
41 
42 private:
43 
44  __class__(__class__ const&);
46 
47  ClassDef(__class__,2)
48 };
49 #endif
void process(const edm::Event &iEvent)
Definition: TSelector.cc:58
example_track TH1F * h_pt
Definition: TSelector.h:31
__class__()
Definition: Skeleton.cc:30
int iEvent
Definition: GenABIO.cc:230
const __class__ & operator=(const __class__ &rhs)
void postProcess(TList &)
Definition: TSelector.cc:83
virtual ~__class__()
Definition: EDAnalyzer.cc:89
__class__Worker(const TList *, TList &)
Definition: TSelector.cc:46
void terminate(TList &)
Definition: TSelector.cc:106
void begin(TList *&)
Definition: TSelector.cc:100