ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/JetIDMod.h
Revision: 1.14
Committed: Tue Nov 3 08:36:56 2009 UTC (15 years, 6 months ago) by ceballos
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, 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
Changes since 1.13: +18 -15 lines
Log Message:
new Eem cut

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 ceballos 1.14 // $Id: JetIDMod.h,v 1.13 2009/06/15 15:00:21 loizides Exp $
3 loizides 1.1 //
4     // JetIDMod
5     //
6 loizides 1.4 // This module applies jet identification criteria and exports a pointer to a collection
7     // of "good jet" according to the specified identification scheme.
8 loizides 1.1 //
9     // Authors: S.Xie
10     //--------------------------------------------------------------------------------------------------
11    
12 loizides 1.3 #ifndef MITPHYSICS_MODS_JETIDMOD_H
13     #define MITPHYSICS_MODS_JETIDMOD_H
14 loizides 1.1
15     #include "MitAna/TreeMod/interface/BaseMod.h"
16    
17     namespace mithep
18     {
19     class JetIDMod : public BaseMod
20     {
21     public:
22     JetIDMod(const char *name="JetIDMod",
23 loizides 1.11 const char *title="Jet identification module");
24 loizides 1.4
25 ceballos 1.14 const char *GetInputName() const { return fJetsName; }
26     const char *GetGoodName() const { return GetGoodJetsName(); }
27     const char *GetGoodJetsName() const { return fGoodJetsName; }
28     const char *GetOutputName() const { return GetGoodJetsName(); }
29     Double_t GetPtCut() const { return fJetPtCut; }
30     Bool_t GetUseCorrection() const { return fUseJetCorrection; }
31     Double_t GetEtaMaxCut() const { return fJetEtaMaxCut; }
32     Double_t GetJetEEMFractionMinCut() const { return fJetEEMFractionMinCut;}
33     void SetGoodJetsName(const char *name) { fGoodJetsName = name; }
34     void SetGoodName(const char *name) { SetGoodJetsName(name); }
35     void SetInputName(const char *name) { fJetsName = name; }
36     void SetOutputName(const char *name) { SetGoodJetsName(name); }
37     void SetPtCut(Double_t cut) { fJetPtCut = cut; }
38     void SetUseCorrection(Bool_t b) { fUseJetCorrection = b; }
39     void SetEtaMaxCut(Double_t cut) { fJetEtaMaxCut = cut; }
40     void SetJetEEMFractionMinCut(Double_t cut){ fJetEEMFractionMinCut = cut;}
41 sixie 1.2
42 loizides 1.1 protected:
43 loizides 1.6 void Process();
44    
45 loizides 1.11 TString fJetsName; //name of jet collection (input)
46 loizides 1.7 TString fGoodJetsName; //name of good jets collection (output)
47 loizides 1.4 Bool_t fUseJetCorrection; //=true then use corrected energy
48 ceballos 1.8 Double_t fJetPtCut; //jet pt cut
49 ceballos 1.12 Double_t fJetEtaMaxCut; //jet eta max cut
50 ceballos 1.14 Double_t fJetEEMFractionMinCut; //jet Eem fraction min cut
51 loizides 1.4
52 loizides 1.7 ClassDef(JetIDMod, 1) // Jet identification module
53 loizides 1.1 };
54     }
55     #endif