#include <JetHistoSelectSort.h>
Definition at line 20 of file JetHistoSelectSort.h.
◆ StoreGateSvc_t
◆ JetHistoSelectSort()
| JetHistoSelectSort::JetHistoSelectSort |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 7 of file JetHistoSelectSort.cxx.
7 :
13
14{
15 declareInterface<IJetHistoFiller>(this);
16
21}
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ToolHandle< IJetEventSelector > m_eventSelTool
ToolHandle< IJetSelector > m_selectTool
ToolHandle< IJetHistoVarTool > m_sortVar
ToolHandleArray< IJetHistoFiller > m_jetFillerTools
◆ ~JetHistoSelectSort()
| virtual JetHistoSelectSort::~JetHistoSelectSort |
( |
| ) |
|
|
inlinevirtual |
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ initialize()
| StatusCode JetHistoSelectSort::initialize |
( |
| ) |
|
|
virtual |
Definition at line 24 of file JetHistoSelectSort.cxx.
24 {
26
28
32 }
33
34
38 }
41 }
42
46 }
47
51 }
52
53 return StatusCode::SUCCESS;
54}
#define ATH_CHECK
Evaluate an expression and check for errors.
Gaudi::Property< bool > m_inverseJetSel
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
| const InterfaceID & IJetHistoFiller::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
Definition at line 28 of file IJetHistoFiller.h.
static const InterfaceID IID_IJetHistoFiller("IJetHistoFiller", 1, 0)
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ processJetContainer()
Implements IJetHistoFiller.
Definition at line 57 of file JetHistoSelectSort.cxx.
57 {
58
59
60
61 std::list<const xAOD::Jet*> tmpList;
62
63
67 }
68
71 }else {
72 for(
const xAOD::Jet* jet : jets ) tmpList.push_back(jet);
73 }
74
75
79 tmpList.remove_if(
sel );
80 }
81 else {
83 tmpList.remove_if(
sel );
84 }
85 }
86
90 }
91
92
94 for(
const xAOD::Jet* jet : tmpList ) tmpCont.push_back(jet);
96
98 ATH_CHECK(
t->processJetContainer(parentAlg, *filteredCont, ctx));
99 }
100
101
102 return StatusCode::SUCCESS;
103}
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
Gaudi::Property< int > m_selIndex
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_detStore
◆ m_eventSelTool
◆ m_evtStore
◆ m_inverseJetSel
| Gaudi::Property<bool> JetHistoSelectSort::m_inverseJetSel {this,"InverseJetSel", false} |
|
private |
◆ m_jetFillerTools
◆ m_selectTool
◆ m_selIndex
| Gaudi::Property<int> JetHistoSelectSort::m_selIndex {this,"SelectedIndex", -1} |
|
private |
◆ m_sortVar
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: