This class is a wrapper around JetVar::Variable inheriting AthAlgTool.
More...
#include <JetHistoVarTool.h>
This class is a wrapper around JetVar::Variable inheriting AthAlgTool.
Its purpose is to allow to define a jet variable in the configuration and to use it from other tools. Client tools include JetHistoAttributeFiller and JetHistoSelectSort
Definition at line 45 of file JetHistoVarTool.h.
◆ StoreGateSvc_t
◆ JetHistoVarTool()
| JetHistoVarTool::JetHistoVarTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 8 of file JetHistoVarTool.cxx.
8 :
10
11{
12 declareInterface<IJetHistoVarTool>(this);
13
14
15}
◆ ~JetHistoVarTool()
| virtual JetHistoVarTool::~JetHistoVarTool |
( |
| ) |
|
|
inlinevirtual |
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ 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>
◆ describe()
| virtual std::string JetHistoVarTool::describe |
( |
| ) |
const |
|
inlinevirtual |
◆ 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 JetHistoVarTool::initialize |
( |
| ) |
|
|
virtual |
Definition at line 17 of file JetHistoVarTool.cxx.
17 {
18
21
24 return StatusCode::FAILURE;
25 }
27 return StatusCode::SUCCESS;
28
29}
static std::unique_ptr< Variable > create(const std::string &name, const std::string &type="float", int index=-1)
create and return a new Variable of a given name & type.
◆ 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 & IJetHistoVarTool::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ 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.
◆ 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
◆ value()
| float JetHistoVarTool::value |
( |
const xAOD::Jet & | | ) |
const |
|
virtual |
◆ variable()
◆ m_detStore
◆ m_evtStore
◆ m_index
| Gaudi::Property<int> JetHistoVarTool::m_index {this,"Index", -1} |
|
private |
◆ m_name
| Gaudi::Property<std::string> JetHistoVarTool::m_name {this,"Name", ""} |
|
private |
◆ m_scale
| Gaudi::Property<float> JetHistoVarTool::m_scale {this,"Scale", 1.} |
|
private |
◆ m_type
| Gaudi::Property<std::string> JetHistoVarTool::m_type {this,"Type", "float"} |
|
private |
◆ m_v
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: