#include <CfAthAlgTool.h>
Definition at line 35 of file CfAthAlgTool.h.
◆ NameIdMap_t
◆ StoreGateSvc_t
◆ CfAthAlgTool()
| DerivationFramework::CfAthAlgTool::CfAthAlgTool |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
Definition at line 67 of file CfAthAlgTool.cxx.
69 :
74
76
77
79
80
81 std::string fstr("ToolSvc.");
83 if (ind != std::string::npos)
m_ctbasename.erase(ind, fstr.length());
84
85 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ ~CfAthAlgTool()
| DerivationFramework::CfAthAlgTool::~CfAthAlgTool |
( |
| ) |
|
|
virtual |
◆ addEvent()
| bool DerivationFramework::CfAthAlgTool::addEvent |
( |
const std::string & | name, |
|
|
double | weight = 1. ) const |
|
virtual |
Definition at line 104 of file CfAthAlgTool.cxx.
104 {
105
107 if ( id > 0 ) {
109 }
110 return (id > 0);
111 }
uint32_t CutIdentifier
InstanceIdentifier is a unique identifer used for every AthFilterAlgorithm instance.
◆ addToCounter()
| bool DerivationFramework::CfAthAlgTool::addToCounter |
( |
const std::string & | name, |
|
|
uint64_t | counts = 1, |
|
|
double | weight = 1. ) const |
|
virtual |
Definition at line 115 of file CfAthAlgTool.cxx.
116 {
117
119 if ( id > 0 ) {
122 }
123 }
124 return (id > 0);
125 }
◆ 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
◆ getCounter()
| CutIdentifier DerivationFramework::CfAthAlgTool::getCounter |
( |
const std::string & | name | ) |
const |
|
protected |
Definition at line 128 of file CfAthAlgTool.cxx.
128 {
129
131 if ( id < 1 ) {
134 throw std::runtime_error("cutFlowSvc()->registerFilter is no longer supported. code an alternative here");
135
137 } else {
138 throw std::runtime_error("cutFlowSvc()->registerCut is no longer supported. code an alternative here");
139
140 }
142 }
144 }
◆ getCounterIdByName()
| CutIdentifier DerivationFramework::CfAthAlgTool::getCounterIdByName |
( |
const std::string & | name | ) |
const |
|
protected |
◆ getCounterNameById()
| std::string DerivationFramework::CfAthAlgTool::getCounterNameById |
( |
CutIdentifier | id | ) |
const |
|
protected |
Definition at line 147 of file CfAthAlgTool.cxx.
147 {
148
149 std::string
res =
"__NOT_FOUND__";
150
151 for (NameIdMap_t::iterator it =
m_mctn.begin(); it !=
m_mctn.end(); ++it) {
152 if (
it->second ==
id ) {
154 break;
155 }
156 }
158 }
std::pair< std::vector< unsigned int >, bool > res
◆ 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.
◆ 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()
| StatusCode DerivationFramework::CfAthAlgTool::sysInitialize |
( |
| ) |
|
|
overridevirtual |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented from AthCommonDataStore< AthCommonMsg< AlgTool > >.
Definition at line 94 of file CfAthAlgTool.cxx.
94 {
95
96
98
99
101 }
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode sysInitialize() override
◆ 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_bid
◆ m_bidisset
| bool DerivationFramework::CfAthAlgTool::m_bidisset |
|
mutableprivate |
◆ m_ctbasename
| std::string DerivationFramework::CfAthAlgTool::m_ctbasename |
|
private |
◆ m_cutFlowSvc
◆ m_detStore
◆ m_evtStore
◆ m_mctn
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: