ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/PhotonCleaningMod.h
Revision: 1.2
Committed: Thu Dec 4 13:53:33 2008 UTC (16 years, 5 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.1: +10 -11 lines
Log Message:
Updated to use const ptr to col

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: PhotonCleaningMod.h,v 1.1 2008/11/29 18:43:42 sixie 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 TString fCleanElectronsName; //name of clean electrons (input)
34 TString fGoodPhotonsName; //name of good jets (input)
35 TString fCleanPhotonsName; //name of clean jets (output)
36 Double_t fMinDeltaRToElectron; //delta R threshold for separating electrons/photons
37
38 void Process();
39
40 ClassDef(PhotonCleaningMod,1) // Photon cleaning module
41 };
42 }
43 #endif