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