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.2 by loizides, Wed Dec 10 17:28:22 2008 UTC vs.
Revision 1.5 by mdecross, Wed Aug 14 20:22:24 2013 UTC

# Line 13 | Line 13
13   #define MITPHYSICS_MODS_MERGELEPTONSMOD_H
14  
15   #include "MitAna/TreeMod/interface/BaseMod.h"
16 < #include "MitAna/DataTree/interface/Collections.h"
16 > #include "MitAna/DataTree/interface/ElectronFwd.h"
17 > #include "MitAna/DataTree/interface/MuonFwd.h"
18 > #include "MitAna/DataTree/interface/ParticleFwd.h"
19 > #include "TH1D.h"
20  
21   namespace mithep
22   {
# Line 22 | Line 25 | namespace mithep
25      public:
26        MergeLeptonsMod(const char *name="MergeLeptonsMod",
27                        const char *title="Merging leptons module");
25      ~MergeLeptonsMod() {}
28  
29        const char              *GetElectronsName()           const { return fElName;         }
30        const char              *GetMergedName()              const { return fMergedName;     }
# Line 34 | Line 36 | namespace mithep
36        void                     SetOutputName(const char *n)       { SetMergedName(n);       }
37  
38      protected:
39 +      void                     BeginRun();
40        void                     Process();
41 +      void                     SlaveBegin();
42 +      void                     SlaveTerminate();
43  
44        TString                  fElName;        //name of electrons collection (input)
45        TString                  fMuName;        //name of muons collection (input)
# Line 42 | Line 47 | namespace mithep
47        const ElectronCol       *fElIn;          //!pointer to electron collection
48        const MuonCol           *fMuIn;          //!pointer to muon collection
49        ParticleOArr            *fColOut;        //!pointer to merged collection
50 +      TH1D*                    fRecoWMuons;
51 +      TH1D*                    fRecoWElectrons;
52  
53      ClassDef(MergeLeptonsMod, 1) // Merging leptons module
54    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines