#include <AugmentationToolLeadingJets.h>
|
| virtual StatusCode | initialize () override final |
| virtual StatusCode | addBranches (const EventContext &ctx) const override final |
◆ addBranches()
| StatusCode DerivationFramework::AugmentationToolLeadingJets::addBranches |
( |
const EventContext & | ctx | ) |
const |
|
finaloverridevirtual |
Definition at line 24 of file AugmentationToolLeadingJets.cxx.
25 {
26
27 SG::WriteDecorHandle<xAOD::JetContainer, bool> decorator (
m_decorationKey, ctx);
28
29
30
33 for (
unsigned int i =0 ;
i <
jets->size() ;
i++){
34 auto jet = (*jets)[
i] ;
35 if (fabs(jet->eta()) < 2.5){
38 } else {
39 decorator(*jet) = 0;
40 }
41 }
42 return StatusCode::SUCCESS;
43 }
◆ initialize()
| StatusCode DerivationFramework::AugmentationToolLeadingJets::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 16 of file AugmentationToolLeadingJets.cxx.
17 {
21 return StatusCode::SUCCESS;
22 }
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ m_decorationKey
◆ m_jetKey
The documentation for this class was generated from the following files: