25 |
|
const char *title="Muon identification module"); |
26 |
|
~MuonIDMod() {} |
27 |
|
|
28 |
+ |
const char *GetMuonBranchName(const char *name) const { return fMuonBranchName; } |
29 |
+ |
const char *GetCleanMuonsName(const char *name) const { return fCleanMuonsName; } |
30 |
+ |
const char *GetMuonIDType(const char *type) const { return fMuonIDType; } |
31 |
+ |
const char *GetMuonIsoType(const char *type) const { return fMuonIsoType; } |
32 |
+ |
const char *GetMuonClassType(const char *type) const { return fMuonClassType; } |
33 |
+ |
Double_t GetTrackIsolationCut(Double_t cut) const { return fTrackIsolationCut; } |
34 |
+ |
Double_t GetCaloIsolationCut(Double_t cut) const { return fCaloIsolationCut; } |
35 |
+ |
Double_t GetCombIsolationCut(Double_t cut) const { return fCombIsolationCut; } |
36 |
+ |
Double_t GetMuonPtMin(Double_t pt) const { return fMuonPtMin; } |
37 |
|
void SetMuonBranchName(const char *name) { fMuonBranchName = name; } |
38 |
|
void SetCleanMuonsName(const char *name) { fCleanMuonsName = name; } |
39 |
|
void SetMuonIDType(const char *type) { fMuonIDType = type; } |
40 |
+ |
void SetMuonIsoType(const char *type) { fMuonIsoType = type; } |
41 |
+ |
void SetMuonClassType(const char *type) { fMuonClassType = type; } |
42 |
|
void SetTrackIsolationCut(Double_t cut) { fTrackIsolationCut = cut; } |
43 |
|
void SetCaloIsolationCut(Double_t cut) { fCaloIsolationCut = cut; } |
44 |
|
void SetCombIsolationCut(Double_t cut) { fCombIsolationCut = cut; } |
45 |
< |
void SetMuonPtMin(Double_t pt) { fMuonPtMin = pt; } |
45 |
> |
void SetMuonPtMin(Double_t pt) { fMuonPtMin = pt; } |
46 |
|
|
47 |
|
enum EMuIdType { |
48 |
|
kIdUndef = 0, //not defined |
78 |
|
Double_t fMuonPtMin; //min muon pt |
79 |
|
MuonCol *fMuons; //!muon branch |
80 |
|
MuonTools *fMuonTools; //!muon tool |
81 |
< |
EMuIdType fMuIDType; //! |
82 |
< |
EMuIsoType fMuIsoType; //! |
83 |
< |
EMuClassType fMuClassType; //! |
81 |
> |
EMuIdType fMuIDType; //!muon id type (imposed) |
82 |
> |
EMuIsoType fMuIsoType; //!muon iso type (imposed) |
83 |
> |
EMuClassType fMuClassType; //!muon class type (imposed) |
84 |
|
|
85 |
< |
void Process(); |
86 |
< |
void SlaveBegin(); |
85 |
> |
void Process(); |
86 |
> |
void SlaveBegin(); |
87 |
|
|
88 |
|
ClassDef(MuonIDMod,1) // Muon identification module |
89 |
|
}; |