ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/JetCleaningMod.h
Revision: 1.3
Committed: Fri Nov 28 09:13:50 2008 UTC (16 years, 5 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.2: +12 -22 lines
Log Message:
Finished refurbishing

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: JetCleaningMod.h,v 1.2 2008/11/27 16:30:26 loizides Exp $
3 //
4 // JetCleaningMod
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_JETCLEANINGMOD_H
13 #define MITPHYSICS_MODS_JETCLEANINGMOD_H
14
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 const char *title="Jet cleaning module");
25 ~JetCleaningMod() {}
26
27 void SetCleanElectronsName(const char *name) { fCleanElectronsName = name; }
28 void SetGoodJetsName(const char *name) { fGoodJetsName = name; }
29 void SetCleanJetsName(const char *name) { fCleanJetsName = name; }
30
31 protected:
32 TString fCleanElectronsName; //name of clean electrons (input)
33 TString fGoodJetsName; //name of good jets (input)
34 TString fCleanJetsName; //name of clean jets (output)
35
36 void Process();
37
38 ClassDef(JetCleaningMod,1) // Jet cleaning module
39 };
40 }
41 #endif