# | Line 26 | Line 26 | JetIDMod::JetIDMod(const char *name, con | |
---|---|---|
26 | fVertices(0) | |
27 | { | |
28 | // Constructor. | |
29 | + | fJetIDMVA = new JetIDMVA(); |
30 | + | fJetIDMVA->Initialize(JetIDMVA::kLoose); |
31 | } | |
32 | ||
33 | //------------------------------------------------------------------------------------------------- | |
# | Line 82 | Line 84 | void JetIDMod::Process() | |
84 | if(passBetaCut == kFALSE) | |
85 | continue; | |
86 | ||
87 | + | if(fJetIDMVA->pass(pfJet,fVertices->At(0),fVertices)) continue; |
88 | + | |
89 | // add good jet to collection | |
90 | GoodJets->Add(jet); | |
91 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |