1 |
loizides |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
sixie |
1.4 |
// $Id: JetCleaningMod.h,v 1.3 2008/11/28 09:13:50 loizides Exp $
|
3 |
loizides |
1.1 |
//
|
4 |
|
|
// JetCleaningMod
|
5 |
|
|
//
|
6 |
loizides |
1.3 |
// This Module performs cleaning of jets, ie it removes jets which point
|
7 |
|
|
// in the same direction as a clean isolated electrons.
|
8 |
loizides |
1.1 |
//
|
9 |
|
|
// Authors: S.Xie
|
10 |
|
|
//--------------------------------------------------------------------------------------------------
|
11 |
|
|
|
12 |
loizides |
1.2 |
#ifndef MITPHYSICS_MODS_JETCLEANINGMOD_H
|
13 |
|
|
#define MITPHYSICS_MODS_JETCLEANINGMOD_H
|
14 |
loizides |
1.1 |
|
15 |
|
|
#include "MitAna/TreeMod/interface/BaseMod.h"
|
16 |
|
|
#include "MitAna/DataTree/interface/Collections.h"
|
17 |
|
|
|
18 |
|
|
namespace mithep
|
19 |
|
|
{
|
20 |
|
|
class JetCleaningMod : public BaseMod
|
21 |
|
|
{
|
22 |
|
|
public:
|
23 |
|
|
JetCleaningMod(const char *name="JetCleaningMod",
|
24 |
loizides |
1.3 |
const char *title="Jet cleaning module");
|
25 |
loizides |
1.1 |
~JetCleaningMod() {}
|
26 |
loizides |
1.3 |
|
27 |
sixie |
1.4 |
void SetCleanElectronsName(const char *name) { fCleanElectronsName = name; }
|
28 |
|
|
void SetCleanPhotonsName(const char *name) { fCleanPhotonsName = name; }
|
29 |
|
|
void SetGoodJetsName(const char *name) { fGoodJetsName = name; }
|
30 |
|
|
void SetCleanJetsName(const char *name) { fCleanJetsName = name; }
|
31 |
|
|
void SetMinDeltaRToElectron(const Double_t x) { fMinDeltaRToElectron = x; }
|
32 |
|
|
void SetMinDeltaRToPhoton(const Double_t x) { fMinDeltaRToPhoton = x; }
|
33 |
|
|
|
34 |
loizides |
1.1 |
protected:
|
35 |
sixie |
1.4 |
TString fCleanElectronsName; //name of clean electrons (input)
|
36 |
|
|
TString fCleanPhotonsName; //name of clean photons (input)
|
37 |
|
|
TString fGoodJetsName; //name of good jets (input)
|
38 |
|
|
TString fCleanJetsName; //name of clean jets (output)
|
39 |
|
|
Double_t fMinDeltaRToElectron; //delta R threshold for separating electrons from jets
|
40 |
|
|
Double_t fMinDeltaRToPhoton; //delta R threshold for separating photons from jets
|
41 |
loizides |
1.1 |
|
42 |
|
|
void Process();
|
43 |
|
|
|
44 |
loizides |
1.3 |
ClassDef(JetCleaningMod,1) // Jet cleaning module
|
45 |
loizides |
1.1 |
};
|
46 |
|
|
}
|
47 |
|
|
#endif
|