ATLAS Offline Software
JetSorter.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef JETREC_JETSORTER_H
8 #define JETREC_JETSORTER_H
9 
10 #include <string>
11 
12 #include "AsgTools/AsgTool.h"
13 
14 
16 
17 
18 
19 class JetSorter
20  : public asg::AsgTool ,
21  virtual public IJetModifier {
22 
24 public:
25 
26  JetSorter(const std::string& t);
27 
28 
29  virtual StatusCode modify(xAOD::JetContainer& jets) const ;
30 
31 protected:
32  std::string m_sortType;
33 
34 };
35 
36 #endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
JetSorter::modify
virtual StatusCode modify(xAOD::JetContainer &jets) const
Method to modify a jet collection.
Definition: JetSorter.cxx:24
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
IJetModifier.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JetSorter::m_sortType
std::string m_sortType
Definition: JetSorter.h:32
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JetSorter::JetSorter
JetSorter(const std::string &t)
Definition: JetSorter.cxx:17
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
JetSorter
Definition: JetSorter.h:21
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
AsgTool.h
IJetModifier
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
Definition: IJetModifier.h:20