14 |
|
fJetBranchName(Names::gkCaloJetBrn), |
15 |
|
fGoodJetsName(ModNames::gkGoodJetsName), |
16 |
|
fUseJetCorrection(kTRUE), |
17 |
< |
fJetEtCut(20.0), |
17 |
> |
fJetPtCut(20.0), |
18 |
|
fJets(0) |
19 |
|
{ |
20 |
|
// Constructor. |
37 |
|
if (jet->AbsEta() > 5.0) |
38 |
|
continue; |
39 |
|
|
40 |
< |
Double_t jetet = jet->Et(); |
40 |
> |
Double_t jetpt = jet->Pt(); |
41 |
|
if (fUseJetCorrection) |
42 |
< |
jetet *= jet->L2RelativeCorrectionScale() * jet->L3AbsoluteCorrectionScale(); |
42 |
> |
jetpt *= jet->L2RelativeCorrectionScale() * jet->L3AbsoluteCorrectionScale(); |
43 |
|
|
44 |
< |
if (jetet < fJetEtCut) |
44 |
> |
if (jetpt < fJetPtCut) |
45 |
|
continue; |
46 |
|
|
47 |
|
// add good jet to collection |