ATLAS Offline Software
Loading...
Searching...
No Matches
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
20class JetHistoSelectSort : public AthAlgTool, virtual public IJetHistoFiller {
21public:
22 JetHistoSelectSort( const std::string& type, const std::string & name ,const IInterface* parent);
24
25 virtual StatusCode initialize() ;
26 virtual StatusCode processJetContainer(const JetMonitoringAlg& parentAlg, const xAOD::JetContainer & jets, const EventContext& ctx) const;
27
28
29private:
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Interface for tools in charge of filling 1 histo (or several closely related ones)
Gaudi::Property< bool > m_inverseJetSel
virtual StatusCode initialize()
ToolHandle< IJetEventSelector > m_eventSelTool
ToolHandle< IJetSelector > m_selectTool
Gaudi::Property< int > m_selIndex
ToolHandle< IJetHistoVarTool > m_sortVar
JetHistoSelectSort(const std::string &type, const std::string &name, const IInterface *parent)
ToolHandleArray< IJetHistoFiller > m_jetFillerTools
virtual StatusCode processJetContainer(const JetMonitoringAlg &parentAlg, const xAOD::JetContainer &jets, const EventContext &ctx) const
A monitoring algorithm in charge of filling histogram for a JetContainer.
JetContainer_v1 JetContainer
Definition of the current "jet container version".