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