#include <LVL1JetElementRetriever.h>
|
| static const InterfaceID & | interfaceID () |
| | Return the interface identifier.
|
Definition at line 17 of file LVL1JetElementRetriever.h.
◆ StoreGateSvc_t
◆ LVL1JetElementRetriever()
| JiveXML::LVL1JetElementRetriever::LVL1JetElementRetriever |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Standard Constructor.
Definition at line 17 of file LVL1JetElementRetriever.cxx.
17 :
20 {
21
22 declareInterface<IDataRetriever>(this);
23
25 "Storegate key for Level-1 Jet Elements");
26 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
std::string m_sgKey
The storegate key for the JetElements.
const std::string m_typeName
The data type that is generated by this retriever.
◆ dataTypeName()
| virtual std::string JiveXML::LVL1JetElementRetriever::dataTypeName |
( |
| ) |
const |
|
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
◆ 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 & JiveXML::IDataRetriever::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
Return the interface identifier.
Definition at line 40 of file IDataRetriever.h.
static const InterfaceID IID_IDataRetriever("JiveXML::IDataRetriever", 3, 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.
◆ 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()
◆ retrieve()
| StatusCode JiveXML::LVL1JetElementRetriever::retrieve |
( |
ToolHandle< IFormatTool > & | FormatTool | ) |
|
|
virtual |
Retrieve all the data.
Implements JiveXML::IDataRetriever.
Definition at line 30 of file LVL1JetElementRetriever.cxx.
30 {
31
32
33
34 typedef DataVector<LVL1::JetElement> t_JECollection ;
35 const t_JECollection* JEVector;
36
38 if (
msgLvl(MSG::DEBUG))
msg(MSG::DEBUG) <<
"No Level-1 Jet Elements found in SG at "
40 return StatusCode::SUCCESS;
41 }
42 int noJE = JEVector->size();
43
44 if (
msgLvl(MSG::DEBUG))
msg(MSG::DEBUG) <<
" Retrieving Level-1 Jet Elements with size " << noJE <<
endmsg;
45
49
50 t_JECollection::const_iterator
it ;
51
52 for( it = JEVector->begin(); it < JEVector->
end(); ++
it ){
56 }
57
60 myDataMap["energy"] = std::move(energy);
61 myDataMap[
"phi"] = std::move(
phi);
62 myDataMap[
"eta"] = std::move(
eta);
63
65
67
70 std::string emptyStr = "";
71 return FormatTool->AddToEvent(
dataTypeName(), emptyStr, &myDataMap);
72 }
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
ServiceHandle< StoreGateSvc > & evtStore()
bool msgLvl(const MSG::Level lvl) const
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
virtual std::string dataTypeName() const
Return the name of the data type.
std::map< std::string, DataVect > DataMap
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
constexpr int nPhi
Default bin number of phi for vertex map.
◆ 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_evtStore
◆ m_sgKey
| std::string JiveXML::LVL1JetElementRetriever::m_sgKey |
|
private |
◆ m_typeName
| const std::string JiveXML::LVL1JetElementRetriever::m_typeName |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: