1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: HwwEvtPreSelMod.h,v 1.1 2008/10/06 15:40:13 sixie Exp $
|
3 |
//
|
4 |
// HwwEvtSelMod
|
5 |
//
|
6 |
// A Module for Preselection of H->WW events
|
7 |
// Apply very loose cuts in order to reduce the number of
|
8 |
// irrelevent events that we have to process
|
9 |
//
|
10 |
// Authors: Si Xie
|
11 |
//--------------------------------------------------------------------------------------------------
|
12 |
|
13 |
#ifndef MITANA_PHYSICSMOD_HWWEVTPRESELMOD_H
|
14 |
#define MITANA_PHYSICSMOD_HWWEVTPRESELMOD_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 HwwEvtPreSelMod : public BaseMod
|
25 |
{
|
26 |
public:
|
27 |
HwwEvtPreSelMod(const char *name="HwwEvtPreSelMod",
|
28 |
const char *title="Example analysis module with all branches");
|
29 |
~HwwEvtPreSelMod() {}
|
30 |
|
31 |
void SetPrintDebug(bool b) { fPrintDebug = b; }
|
32 |
|
33 |
protected:
|
34 |
bool fPrintDebug;
|
35 |
TString fMuonName; //name of muon collection
|
36 |
TString fElectronName; //name of electron collection
|
37 |
MuonCol *fMuons; //!Muon branch
|
38 |
ElectronCol *fElectrons; //!Electron branch
|
39 |
TH1D *fHWWPreSelection;
|
40 |
|
41 |
int fNEventsProcessed;
|
42 |
int fNEventsPassed;
|
43 |
|
44 |
void Begin();
|
45 |
void Process();
|
46 |
void SlaveBegin();
|
47 |
void SlaveTerminate();
|
48 |
void Terminate();
|
49 |
|
50 |
ClassDef(HwwEvtPreSelMod,1) // TAM example analysis module
|
51 |
};
|
52 |
}
|
53 |
#endif
|