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.6 by loizides, Wed Dec 10 11:44:33 2008 UTC vs.
Revision 1.9 by ceballos, Thu Apr 2 12:40:16 2009 UTC

# Line 22 | Line 22 | namespace mithep
22      public:
23        JetCleaningMod(const char *name="JetCleaningMod",
24                       const char *title="Jet cleaning module");
25      ~JetCleaningMod() {}
25  
26 <      void               SetCleanElectronsName(const char *name)  { fCleanElectronsName = name; }
27 <      void               SetCleanPhotonsName(const char *name)    { fCleanPhotonsName = name; }
28 <      void               SetGoodJetsName(const char *name)        { fGoodJetsName       = name; }  
29 <      void               SetCleanJetsName(const char *name)       { fCleanJetsName      = name; }
30 <      void               SetMinDeltaRToElectron(const Double_t x) { fMinDeltaRToElectron   = x; }
31 <      void               SetMinDeltaRToPhoton(const Double_t x)   { fMinDeltaRToPhoton   = x;   }
26 >      const char        *GetCleanElectronsName()  const { return fCleanElectronsName;  }
27 >      const char        *GetCleanMuonsName()      const { return fCleanMuonsName;  }
28 >      const char        *GetCleanJetsName()       const { return fCleanJetsName;       }
29 >      const char        *GetCleanName()           const { return GetCleanJetsName();   }
30 >      const char        *GetCleanPhotonsName()    const { return fCleanPhotonsName;    }
31 >      const char        *GetGoodJetsName()        const { return fGoodJetsName;        }  
32 >      Double_t           GetMinDeltaRToElectron() const { return fMinDeltaRToElectron; }
33 >      Double_t           GetMinDeltaRToMuon()     const { return fMinDeltaRToMuon; }
34 >      Double_t           GetMinDeltaRToPhoton()   const { return fMinDeltaRToPhoton;   }
35 >      const char        *GetOutputName()          const { return GetCleanJetsName();   }
36 >      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               SetCleanName(const char *name)          { SetCleanJetsName(name);      }
40 >      void               SetCleanPhotonsName(const char *name)   { fCleanPhotonsName    = name; }
41 >      void               SetGoodJetsName(const char *name)       { fGoodJetsName        = name; }  
42 >      void               SetMinDeltaRToElectron(Double_t dr)     { fMinDeltaRToElectron = dr;   }
43 >      void               SetMinDeltaRToMuon(Double_t dr)         { fMinDeltaRToMuon = dr;   }
44 >      void               SetMinDeltaRToPhoton(Double_t dr)       { fMinDeltaRToPhoton   = dr;   }
45 >      void               SetOutputName(const char *name)         { SetCleanJetsName(name);      }
46  
47      protected:
48        void               Process();
49  
50        TString            fCleanElectronsName;   //name of clean electrons (input)
51 +      TString            fCleanMuonsName;       //name of clean muons (input)
52        TString            fCleanPhotonsName;     //name of clean photons   (input)
53        TString            fGoodJetsName;         //name of good jets       (input)
54        TString            fCleanJetsName;        //name of clean jets      (output)
55        Double_t           fMinDeltaRToElectron;  //delta R for separating electrons from jets
56 +      Double_t           fMinDeltaRToMuon;      //delta R for separating muons from jets
57        Double_t           fMinDeltaRToPhoton;    //delta R for separating photons from jets
58    
59 <    ClassDef(JetCleaningMod,1) // Jet cleaning module
59 >    ClassDef(JetCleaningMod, 1) // Jet cleaning module
60    };
61   }
62   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines