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

Comparing UserCode/MitPhysics/Mods/interface/PhotonCleaningMod.h (file contents):
Revision 1.3 by loizides, Wed Dec 10 11:44:33 2008 UTC vs.
Revision 1.4 by loizides, Wed Dec 10 17:28:22 2008 UTC

# Line 24 | Line 24 | namespace mithep
24                       const char *title="Photon cleaning module");
25        ~PhotonCleaningMod() {}
26  
27 <      void             SetCleanElectronsName(const char *name)    { fCleanElectronsName    = name; }
28 <      void             SetGoodPhotonsName(const char *name)       { fGoodPhotonsName       = name; }
29 <      void             SetCleanPhotonsName(const char *name)      { fCleanPhotonsName      = name; }
30 <      void             SetMinDeltaRToElectron(const Double_t x)   { fMinDeltaRToElectron   = x;    }
27 >      const char      *GetCleanElectronsName()   const { return fCleanElectronsName;   }
28 >      const char      *GetCleanName()            const { return GetCleanPhotonsName(); }
29 >      const char      *GetCleanPhotonsName()     const { return fCleanPhotonsName;     }
30 >      const char      *GetGoodPhotonsName()      const { return fGoodPhotonsName;      }
31 >      Double_t         GetMinDeltaRToElectron()  const { return fMinDeltaRToElectron;  }
32 >      const char      *GetOutputName()           const { return GetCleanPhotonsName(); }
33 >      void             SetCleanElectronsName(const char *name)  { fCleanElectronsName    = name; }
34 >      void             SetCleanName(const char *name)           { SetCleanPhotonsName(name);     }
35 >      void             SetCleanPhotonsName(const char *name)    { fCleanPhotonsName      = name; }
36 >      void             SetGoodPhotonsName(const char *name)     { fGoodPhotonsName       = name; }
37 >      void             SetMinDeltaRToElectron(Double_t dr)      { fMinDeltaRToElectron   = dr;   }
38 >      void             SetOutputName(const char *name)          { SetCleanPhotonsName(name);     }
39  
40      protected:
41        void             Process();
# Line 37 | Line 45 | namespace mithep
45        TString          fCleanPhotonsName;     //name of clean jets (output)
46        Double_t         fMinDeltaRToElectron;  //delta R threshold for separating electrons/photons
47    
48 <    ClassDef(PhotonCleaningMod,1) // Photon cleaning module
48 >    ClassDef(PhotonCleaningMod, 1) // Photon cleaning module
49    };
50   }
51   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines