ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/JetCleaningMod.h
Revision: 1.12
Committed: Mon Jun 15 15:00:21 2009 UTC (15 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, Mit_012i, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a, Mit_011, Mit_010a, Mit_010, Mit_009c, Mit_009b
Changes since 1.11: +1 -2 lines
Log Message:
Added proper fwd defs plus split up complilation of MitAna/DataTree LinkDefs.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.12 // $Id: JetCleaningMod.h,v 1.11 2009/04/08 10:12:21 ceballos 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    
17     namespace mithep
18     {
19     class JetCleaningMod : public BaseMod
20     {
21     public:
22     JetCleaningMod(const char *name="JetCleaningMod",
23 loizides 1.3 const char *title="Jet cleaning module");
24    
25 loizides 1.7 const char *GetCleanElectronsName() const { return fCleanElectronsName; }
26 ceballos 1.11 const char *GetCleanMuonsName() const { return fCleanMuonsName; }
27 loizides 1.7 const char *GetCleanJetsName() const { return fCleanJetsName; }
28     const char *GetCleanName() const { return GetCleanJetsName(); }
29     const char *GetCleanPhotonsName() const { return fCleanPhotonsName; }
30 ceballos 1.11 const char *GetCleanTausName() const { return fCleanTausName; }
31     const char *GetGoodJetsName() const { return fGoodJetsName; }
32 loizides 1.7 Double_t GetMinDeltaRToElectron() const { return fMinDeltaRToElectron; }
33 ceballos 1.11 Double_t GetMinDeltaRToMuon() const { return fMinDeltaRToMuon; }
34 loizides 1.7 Double_t GetMinDeltaRToPhoton() const { return fMinDeltaRToPhoton; }
35 ceballos 1.11 Bool_t GetApplyTauRemoval() const { return fApplyTauRemoval; }
36 loizides 1.7 const char *GetOutputName() const { return GetCleanJetsName(); }
37     void SetCleanElectronsName(const char *name) { fCleanElectronsName = name; }
38     void SetCleanJetsName(const char *name) { fCleanJetsName = name; }
39 loizides 1.10 void SetCleanMuonsName(const char *name) { fCleanMuonsName = name; }
40 loizides 1.7 void SetCleanName(const char *name) { SetCleanJetsName(name); }
41     void SetCleanPhotonsName(const char *name) { fCleanPhotonsName = name; }
42 ceballos 1.11 void SetCleanTausName(const char *name) { fCleanTausName = name; }
43 loizides 1.7 void SetGoodJetsName(const char *name) { fGoodJetsName = name; }
44     void SetMinDeltaRToElectron(Double_t dr) { fMinDeltaRToElectron = dr; }
45 loizides 1.10 void SetMinDeltaRToMuon(Double_t dr) { fMinDeltaRToMuon = dr; }
46 loizides 1.7 void SetMinDeltaRToPhoton(Double_t dr) { fMinDeltaRToPhoton = dr; }
47 ceballos 1.11 void SetApplyTauRemoval(Bool_t b) { fApplyTauRemoval = b; }
48 loizides 1.7 void SetOutputName(const char *name) { SetCleanJetsName(name); }
49 sixie 1.4
50 loizides 1.1 protected:
51 loizides 1.6 void Process();
52    
53 sixie 1.4 TString fCleanElectronsName; //name of clean electrons (input)
54 ceballos 1.9 TString fCleanMuonsName; //name of clean muons (input)
55 sixie 1.4 TString fCleanPhotonsName; //name of clean photons (input)
56 ceballos 1.11 TString fCleanTausName; //name of clean taus (input)
57 sixie 1.4 TString fGoodJetsName; //name of good jets (input)
58     TString fCleanJetsName; //name of clean jets (output)
59 loizides 1.5 Double_t fMinDeltaRToElectron; //delta R for separating electrons from jets
60 ceballos 1.9 Double_t fMinDeltaRToMuon; //delta R for separating muons from jets
61 loizides 1.5 Double_t fMinDeltaRToPhoton; //delta R for separating photons from jets
62 ceballos 1.11 Double_t fMinDeltaRToTau; //delta R for separating taus from jets
63     Bool_t fApplyTauRemoval; //apply tau removal?
64 loizides 1.1
65 loizides 1.7 ClassDef(JetCleaningMod, 1) // Jet cleaning module
66 loizides 1.1 };
67     }
68     #endif