ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/JetCleaningMod.h
(Generate patch)

Comparing UserCode/MitPhysics/Mods/interface/JetCleaningMod.h (file contents):
Revision 1.9 by ceballos, Thu Apr 2 12:40:16 2009 UTC vs.
Revision 1.12 by loizides, Mon Jun 15 15:00:21 2009 UTC

# Line 13 | Line 13
13   #define MITPHYSICS_MODS_JETCLEANINGMOD_H
14  
15   #include "MitAna/TreeMod/interface/BaseMod.h"
16 #include "MitAna/DataTree/interface/Collections.h"
16  
17   namespace mithep
18   {
# Line 24 | Line 23 | namespace mithep
23                       const char *title="Jet cleaning module");
24  
25        const char        *GetCleanElectronsName()  const { return fCleanElectronsName;  }
26 <      const char        *GetCleanMuonsName()      const { return fCleanMuonsName;  }
26 >      const char        *GetCleanMuonsName()      const { return fCleanMuonsName;      }
27        const char        *GetCleanJetsName()       const { return fCleanJetsName;       }
28        const char        *GetCleanName()           const { return GetCleanJetsName();   }
29        const char        *GetCleanPhotonsName()    const { return fCleanPhotonsName;    }
30 <      const char        *GetGoodJetsName()        const { return fGoodJetsName;        }  
30 >      const char        *GetCleanTausName()       const { return fCleanTausName;       }
31 >      const char        *GetGoodJetsName()        const { return fGoodJetsName;        }
32        Double_t           GetMinDeltaRToElectron() const { return fMinDeltaRToElectron; }
33 <      Double_t           GetMinDeltaRToMuon()     const { return fMinDeltaRToMuon; }
33 >      Double_t           GetMinDeltaRToMuon()     const { return fMinDeltaRToMuon;     }
34        Double_t           GetMinDeltaRToPhoton()   const { return fMinDeltaRToPhoton;   }
35 +      Bool_t             GetApplyTauRemoval()     const { return fApplyTauRemoval;     }
36        const char        *GetOutputName()          const { return GetCleanJetsName();   }
37        void               SetCleanElectronsName(const char *name) { fCleanElectronsName  = name; }
37      void               SetCleanMuonsName(const char *name)     { fCleanMuonsName  = name; }
38        void               SetCleanJetsName(const char *name)      { fCleanJetsName       = name; }
39 +      void               SetCleanMuonsName(const char *name)     { fCleanMuonsName      = name; }
40        void               SetCleanName(const char *name)          { SetCleanJetsName(name);      }
41        void               SetCleanPhotonsName(const char *name)   { fCleanPhotonsName    = name; }
42 +      void               SetCleanTausName(const char *name)      { fCleanTausName       = name; }
43        void               SetGoodJetsName(const char *name)       { fGoodJetsName        = name; }  
44        void               SetMinDeltaRToElectron(Double_t dr)     { fMinDeltaRToElectron = dr;   }
45 <      void               SetMinDeltaRToMuon(Double_t dr)         { fMinDeltaRToMuon = dr;   }
45 >      void               SetMinDeltaRToMuon(Double_t dr)         { fMinDeltaRToMuon     = dr;   }
46        void               SetMinDeltaRToPhoton(Double_t dr)       { fMinDeltaRToPhoton   = dr;   }
47 +      void               SetApplyTauRemoval(Bool_t b)            { fApplyTauRemoval     = b;    }
48        void               SetOutputName(const char *name)         { SetCleanJetsName(name);      }
49  
50      protected:
# Line 50 | Line 53 | namespace mithep
53        TString            fCleanElectronsName;   //name of clean electrons (input)
54        TString            fCleanMuonsName;       //name of clean muons (input)
55        TString            fCleanPhotonsName;     //name of clean photons   (input)
56 +      TString            fCleanTausName;        //name of clean taus   (input)
57        TString            fGoodJetsName;         //name of good jets       (input)
58        TString            fCleanJetsName;        //name of clean jets      (output)
59        Double_t           fMinDeltaRToElectron;  //delta R for separating electrons from jets
60        Double_t           fMinDeltaRToMuon;      //delta R for separating muons from jets
61        Double_t           fMinDeltaRToPhoton;    //delta R for separating photons from jets
62 +      Double_t           fMinDeltaRToTau;       //delta R for separating taus from jets
63 +      Bool_t             fApplyTauRemoval;      //apply tau removal?
64    
65      ClassDef(JetCleaningMod, 1) // Jet cleaning module
66    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines