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 |
|
{ |
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) |
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 |
|
}; |