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

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

# Line 24 | Line 24 | namespace mithep
24                        const char *title="Merging leptons module");
25        ~MergeLeptonsMod() {}
26  
27 <      const char              *GetElectronsName()           const { return fElName;     }
28 <      const char              *GetMergedName()              const { return fMergedName; }
29 <      const char              *GetMuonsName()               const { return fMuName;     }
30 <      void                     SetElectronsName(const char *n)    { fElName=n;          }
31 <      void                     SetMergedName(const char *n)       { fMergedName=n;      }
32 <      void                     SetMuonsName(const char *n)        { fMuName=n;          }
27 >      const char              *GetElectronsName()           const { return fElName;         }
28 >      const char              *GetMergedName()              const { return fMergedName;     }
29 >      const char              *GetMuonsName()               const { return fMuName;         }
30 >      const char              *GetOutputName()              const { return GetMergedName(); }
31 >      void                     SetElectronsName(const char *n)    { fElName=n;              }
32 >      void                     SetMergedName(const char *n)       { fMergedName=n;          }
33 >      void                     SetMuonsName(const char *n)        { fMuName=n;              }
34 >      void                     SetOutputName(const char *n)       { SetMergedName(n);       }
35  
36      protected:
37        void                     Process();
38  
39 <      TString                  fElName;        //name of electrons collection
40 <      TString                  fMuName;        //name of muons collection
41 <      TString                  fMergedName;    //name of merged collection
42 <      const ElectronCol       *fElIn;          //!pointer to electron collection (in)
43 <      const MuonCol           *fMuIn;          //!pointer to muon collection (in)
44 <      ParticleOArr            *fColOut;        //!pointer to merged collection (out)
39 >      TString                  fElName;        //name of electrons collection (input)
40 >      TString                  fMuName;        //name of muons collection (input)
41 >      TString                  fMergedName;    //name of merged collection (output)
42 >      const ElectronCol       *fElIn;          //!pointer to electron collection
43 >      const MuonCol           *fMuIn;          //!pointer to muon collection
44 >      ParticleOArr            *fColOut;        //!pointer to merged collection
45  
46      ClassDef(MergeLeptonsMod, 1) // Merging leptons module
47    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines