ATLAS Offline Software
JetHistoSelectSort.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 JETMONITORING_JETHISTOSELECTOR_H
8 #define JETMONITORING_JETHISTOSELECTOR_H
9 
11 
14 
17 
18 
19 
20 class JetHistoSelectSort : public AthAlgTool, virtual public IJetHistoFiller {
21 public:
22  JetHistoSelectSort( const std::string& type, const std::string & name ,const IInterface* parent);
23  virtual ~JetHistoSelectSort(){}
24 
25  virtual StatusCode initialize() ;
26  virtual StatusCode processJetContainer(const JetMonitoringAlg& parentAlg, const xAOD::JetContainer & jets, const EventContext& ctx) const;
27 
28 
29 private:
30 
31 
32  ToolHandleArray<IJetHistoFiller> m_jetFillerTools;
33 
34  ToolHandle<IJetSelector> m_selectTool;
35  ToolHandle<IJetEventSelector> m_eventSelTool;
36  Gaudi::Property<bool> m_inverseJetSel {this,"InverseJetSel", false};
37  Gaudi::Property<int> m_selIndex {this,"SelectedIndex", -1};
38  ToolHandle<IJetHistoVarTool> m_sortVar;
39 
40 
41 };
42 #endif
JetHistoSelectSort::m_eventSelTool
ToolHandle< IJetEventSelector > m_eventSelTool
Definition: JetHistoSelectSort.h:35
JetHistoVarTool.h
JetHistoSelectSort::~JetHistoSelectSort
virtual ~JetHistoSelectSort()
Definition: JetHistoSelectSort.h:23
JetHistoSelectSort::JetHistoSelectSort
JetHistoSelectSort(const std::string &type, const std::string &name, const IInterface *parent)
Definition: JetHistoSelectSort.cxx:7
IJetSelector.h
JetHistoSelectSort::m_sortVar
ToolHandle< IJetHistoVarTool > m_sortVar
Definition: JetHistoSelectSort.h:38
JetHistoSelectSort::m_jetFillerTools
ToolHandleArray< IJetHistoFiller > m_jetFillerTools
Definition: JetHistoSelectSort.h:32
IJetEventSelector.h
JetHistoSelectSort
Definition: JetHistoSelectSort.h:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JetHistoSelectSort::initialize
virtual StatusCode initialize()
Definition: JetHistoSelectSort.cxx:24
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JetHistoSelectSort::m_inverseJetSel
Gaudi::Property< bool > m_inverseJetSel
Definition: JetHistoSelectSort.h:36
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
IJetHistoFiller.h
JetMonitoringAlg
Definition: JetMonitoringAlg.h:26
IJetHistoFiller
Definition: IJetHistoFiller.h:24
JetHistoSelectSort::m_selIndex
Gaudi::Property< int > m_selIndex
Definition: JetHistoSelectSort.h:37
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JetHistoSelectSort::m_selectTool
ToolHandle< IJetSelector > m_selectTool
Definition: JetHistoSelectSort.h:34
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
AthAlgTool
Definition: AthAlgTool.h:26
JetHistoSelectSort::processJetContainer
virtual StatusCode processJetContainer(const JetMonitoringAlg &parentAlg, const xAOD::JetContainer &jets, const EventContext &ctx) const
Definition: JetHistoSelectSort.cxx:57