ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/SelMods/interface/ZXEvtSelMod.h
Revision: 1.1
Committed: Tue Oct 14 06:13:53 2008 UTC (16 years, 6 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Log Message:
Start of MitPhysics

File Contents

# Content
1 //-----------------------------------------------------------------------------
2 // $Id: ZXEvtSelMod.h,v 1.1 2008/10/06 16:59:52 ceballos Exp $
3 //
4 // ZXEvtSelMod
5 //
6 // A Module for Selecting WZ/ZZ-> >=3 leptons
7 // and produces some distributions
8 //
9 //
10 // Authors: ceballos
11 //-----------------------------------------------------------------------------
12
13 #ifndef HWWMODS_ZXEvtSelMod_H
14 #define HWWMODS_ZXEvtSelMod_H
15
16 #include "MitAna/TreeMod/interface/BaseMod.h"
17 #include "MitAna/DataTree/interface/Collections.h"
18
19 class TH1D;
20 class TH2D;
21
22 namespace mithep
23 {
24 class ZXEvtSelMod : public BaseMod
25 {
26 public:
27 ZXEvtSelMod(const char *name="ZXEvtSelMod",
28 const char *title="Example analysis module with all branches");
29 ~ZXEvtSelMod() {}
30 void SetPrintDebug(bool b) { fPrintDebug = b; }
31 void SetCleanJetsName (TString s) { fCleanJetsName = s;}
32 void SetMCLeptonsName(TString s) { fMCLeptonsName = s;}
33
34 protected:
35 bool fPrintDebug; // Debug info
36 TString fMetName; // name of met collection
37 TString fCleanJetsName; // name of clean central jets collection
38 TString fMCLeptonsName ; // new lepton coll
39 MetCol *fMet; // Missing Et
40
41 TH1D *hDZXSel[1];
42 TH1D *hDWZSel[400];
43 TH1D *hDZZSel[300];
44
45 int fNEventsProcessed;
46
47 void Begin();
48 void Process();
49 void SlaveBegin();
50 void SlaveTerminate();
51 void Terminate();
52
53 ClassDef(ZXEvtSelMod,1) // TAM example analysis module
54 };
55 }
56 #endif