45 |
|
// ===> 1.2 Segment compatability + 0.8 calo compatability > 1.2 |
46 |
|
}; |
47 |
|
|
48 |
< |
Bool_t Init(const char *mutemp, const char *pitemp); |
49 |
< |
Bool_t IsGood(const mithep::Muon *iMuon, ESelType iSel) const; |
50 |
< |
Double_t GetCaloCompatability(const mithep::Muon *iMuon, |
48 |
> |
enum EMuonEffectiveAreaType { |
49 |
> |
kMuChargedIso03, |
50 |
> |
kMuNeutralIso03, |
51 |
> |
kMuChargedIso04, |
52 |
> |
kMuNeutralIso04, |
53 |
> |
kMuHadEnergy, |
54 |
> |
kMuHoEnergy, |
55 |
> |
kMuEmEnergy, |
56 |
> |
kMuHadS9Energy, |
57 |
> |
kMuHoS9Energy, |
58 |
> |
kMuEmS9Energy |
59 |
> |
}; |
60 |
> |
|
61 |
> |
Bool_t Init(const char *mutemp, const char *pitemp); |
62 |
> |
Bool_t IsGood(const mithep::Muon *iMuon, ESelType iSel) const; |
63 |
> |
Double_t GetCaloCompatability(const mithep::Muon *iMuon, |
64 |
|
Bool_t iEMSpecial, Bool_t iCorrectedHCAL) const; |
65 |
< |
Double_t GetSegmentCompatability(const mithep::Muon *iMuon) const; |
66 |
< |
static Bool_t PassD0Cut(const Muon *mu, const VertexCol *vertices, Double_t fD0Cut, Int_t nVertex = 0); |
67 |
< |
static Bool_t PassD0Cut(const Muon *mu, const BeamSpotCol *beamspots, Double_t fD0Cut); |
68 |
< |
static Bool_t PassDZCut(const Muon *mu, const VertexCol *vertices, Double_t fDZCut, Int_t nVertex = 0); |
69 |
< |
static Bool_t PassSoftMuonCut(const Muon *mu, const VertexCol *vertices, const Double_t fDZCut = 0.2, |
65 |
> |
Double_t GetSegmentCompatability(const mithep::Muon *iMuon) const; |
66 |
> |
static Bool_t PassD0Cut(const Muon *mu, const VertexCol *vertices, Double_t fD0Cut, Int_t nVertex = 0); |
67 |
> |
static Bool_t PassD0Cut(const Muon *mu, const BeamSpotCol *beamspots, Double_t fD0Cut); |
68 |
> |
static Bool_t PassDZCut(const Muon *mu, const VertexCol *vertices, Double_t fDZCut, Int_t nVertex = 0); |
69 |
> |
static Bool_t PassSoftMuonCut(const Muon *mu, const VertexCol *vertices, const Double_t fDZCut = 0.2, |
70 |
|
const Bool_t applyIso = kTRUE); |
71 |
+ |
static Double_t MuonEffectiveArea(EMuonEffectiveAreaType type, Double_t Eta); |
72 |
|
|
73 |
|
protected: |
74 |
|
void DeleteHistos(); |