ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1BS::RodHeaderByteStreamTool Class Reference

Tool to perform ROB fragments to ROD Header conversions. More...

#include <RodHeaderByteStreamTool.h>

Inheritance diagram for LVL1BS::RodHeaderByteStreamTool:
Collaboration diagram for LVL1BS::RodHeaderByteStreamTool:

Public Member Functions

 RodHeaderByteStreamTool (const std::string &type, const std::string &name, const IInterface *parent)
virtual ~RodHeaderByteStreamTool ()
virtual StatusCode initialize () override
virtual StatusCode finalize () override
StatusCode convert (const EventContext &ctx, const std::string &name, DataVector< LVL1::RODHeader > *rhCollection) const
 Convert ROB fragments to RODHeaders.
StatusCode convert (const IROBDataProviderSvc::VROBFRAG &robFrags, DataVector< LVL1::RODHeader > *rhCollection) const
const std::vector< uint32_t > & sourceIDs (const std::string &sgKey) const
 Return reference to vector with all possible Source Identifiers.
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Static Public Member Functions

static const InterfaceID & interfaceID ()
 AlgTool InterfaceID.

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
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)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef DataVector< LVL1::RODHeaderRodHeaderCollection
typedef IROBDataProviderSvc::VROBFRAG::const_iterator ROBIterator
typedef OFFLINE_FRAGMENTS_NAMESPACE::PointerType ROBPointer
typedef OFFLINE_FRAGMENTS_NAMESPACE::PointerType RODPointer
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

std::vector< uint32_t > makeAllRobIds () const
 Fill vector with ROB IDs for given sub-detector.
std::vector< uint32_t > makeRobIds (int numCrates, int crateOffset, const std::vector< int > &slinks, int daqOrRoi, eformat::SubDetector subdet, const std::vector< uint32_t > &prop) const
bool isAppended (const std::string &sgKey, const std::string &flag) const
 Return true if StoreGate key ends in given string.
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ServiceHandle< IROBDataProviderSvcm_robDataProvider
 Service for reading bytestream.
ToolHandle< LVL1BS::L1CaloErrorByteStreamToolm_errorTool
 Error collection tool.
std::vector< uint32_t > m_sourceIDsProp
 ROB source IDs.
std::vector< uint32_t > m_sourceIDsPPProp
std::vector< uint32_t > m_sourceIDsCPProp
std::vector< uint32_t > m_sourceIDsJEPProp
std::vector< uint32_t > m_sourceIDsCPRoIProp
std::vector< uint32_t > m_sourceIDsJEPRoIProp
std::vector< uint32_t > m_sourceIDsCPRoIBProp
std::vector< uint32_t > m_sourceIDsJEPRoIBProp
const L1CaloSrcIdMap m_srcIdMap
 Source ID converter.
bool m_useSWROD = false
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Tool to perform ROB fragments to ROD Header conversions.

Based on ROD document version 1_09h.

Author
Peter Faulkner

Definition at line 43 of file RodHeaderByteStreamTool.h.

Member Typedef Documentation

◆ ROBIterator

typedef IROBDataProviderSvc::VROBFRAG::const_iterator LVL1BS::RodHeaderByteStreamTool::ROBIterator
private

Definition at line 69 of file RodHeaderByteStreamTool.h.

◆ ROBPointer

◆ RodHeaderCollection

◆ RODPointer

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ RodHeaderByteStreamTool()

LVL1BS::RodHeaderByteStreamTool::RodHeaderByteStreamTool ( const std::string & type,
const std::string & name,
const IInterface * parent )

Definition at line 46 of file RodHeaderByteStreamTool.cxx.

49 : AthAlgTool(type, name, parent),
50 m_robDataProvider("ROBDataProviderSvc", name),
51 m_errorTool("LVL1BS::L1CaloErrorByteStreamTool/L1CaloErrorByteStreamTool")
52{
53 declareInterface<RodHeaderByteStreamTool>(this);
54
55 declareProperty("UseSWROD",m_useSWROD = false, "Use SWROD readout instead of legacy (which was removed in 2024)");
56
57 declareProperty("ErrorTool", m_errorTool,
58 "Tool to collect errors for monitoring");
59 declareProperty("ROBSourceIDs", m_sourceIDsProp,
60 "ROB fragment source identifiers - All except RoIB");
61 declareProperty("ROBSourceIDsPP", m_sourceIDsPPProp,
62 "ROB fragment source identifiers - PP only");
63 declareProperty("ROBSourceIDsCP", m_sourceIDsCPProp,
64 "ROB fragment source identifiers - CP DAQ only");
65 declareProperty("ROBSourceIDsJEP", m_sourceIDsJEPProp,
66 "ROB fragment source identifiers - JEP DAQ only");
67 declareProperty("ROBSourceIDsCPRoI", m_sourceIDsCPRoIProp,
68 "ROB fragment source identifiers - CP RoI only");
69 declareProperty("ROBSourceIDsJEPRoI", m_sourceIDsJEPRoIProp,
70 "ROB fragment source identifiers - JEP RoI only");
71 declareProperty("ROBSourceIDsCPRoIB", m_sourceIDsCPRoIBProp,
72 "ROB fragment source identifiers - CP RoIB only");
73 declareProperty("ROBSourceIDsJEPRoIB", m_sourceIDsJEPRoIBProp,
74 "ROB fragment source identifiers - JEP RoIB only");
75}
AthAlgTool()
Default constructor:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ToolHandle< LVL1BS::L1CaloErrorByteStreamTool > m_errorTool
Error collection tool.
std::vector< uint32_t > m_sourceIDsJEPProp
std::vector< uint32_t > m_sourceIDsCPRoIBProp
std::vector< uint32_t > m_sourceIDsPPProp
std::vector< uint32_t > m_sourceIDsCPRoIProp
std::vector< uint32_t > m_sourceIDsJEPRoIProp
std::vector< uint32_t > m_sourceIDsProp
ROB source IDs.
std::vector< uint32_t > m_sourceIDsCPProp
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service for reading bytestream.
std::vector< uint32_t > m_sourceIDsJEPRoIBProp

◆ ~RodHeaderByteStreamTool()

LVL1BS::RodHeaderByteStreamTool::~RodHeaderByteStreamTool ( )
virtual

Definition at line 79 of file RodHeaderByteStreamTool.cxx.

80{
81}

Member Function Documentation

◆ convert() [1/2]

StatusCode LVL1BS::RodHeaderByteStreamTool::convert ( const EventContext & ctx,
const std::string & name,
DataVector< LVL1::RODHeader > * rhCollection ) const

Convert ROB fragments to RODHeaders.

Definition at line 107 of file RodHeaderByteStreamTool.cxx.

111{
112 const std::vector<uint32_t>& vID(sourceIDs(sgKey));
113 // // get ROB fragments
115 m_robDataProvider->getROBData(ctx, vID, robFrags, "RodHeaderByteStreamTool");
116 ATH_MSG_DEBUG("Number of ROB fragments:" << robFrags.size());
117 return convert(robFrags, rhCollection);
118}
#define ATH_MSG_DEBUG(x)
std::vector< const ROBF * > VROBFRAG
StatusCode convert(const EventContext &ctx, const std::string &name, DataVector< LVL1::RODHeader > *rhCollection) const
Convert ROB fragments to RODHeaders.
const std::vector< uint32_t > & sourceIDs(const std::string &sgKey) const
Return reference to vector with all possible Source Identifiers.

◆ convert() [2/2]

StatusCode LVL1BS::RodHeaderByteStreamTool::convert ( const IROBDataProviderSvc::VROBFRAG & robFrags,
DataVector< LVL1::RODHeader > * rhCollection ) const

Definition at line 120 of file RodHeaderByteStreamTool.cxx.

123{
124 const bool debug = msgLvl(MSG::DEBUG);
125 if (debug) msg(MSG::DEBUG);
126
127 // Loop over ROB fragments
128
129 int robCount = 0;
130 std::set<uint32_t> dupCheck;
131 ROBIterator rob = robFrags.begin();
132 ROBIterator robEnd = robFrags.end();
133 for (; rob != robEnd; ++rob) {
134
135 if (debug) {
136 ++robCount;
137 msg() << "Treating ROB fragment " << robCount << endmsg;
138 }
139
140 // Skip fragments with ROB status errors
141
142 uint32_t robid = (*rob)->source_id();
143 if ((*rob)->nstatus() > 0) {
144 ROBPointer robData;
145 (*rob)->status(robData);
146 if (*robData != 0) {
147 m_errorTool->robError(robid, *robData);
148 if (debug) msg() << "ROB status error - skipping fragment" << endmsg;
149 continue;
150 }
151 }
152
153 // Skip duplicate fragments
154
155 if (!dupCheck.insert(robid).second) {
157 if (debug) msg() << "Skipping duplicate ROB fragment" << endmsg;
158 continue;
159 }
160
161 // Unpack ROD header info
162
163 const uint32_t version = (*rob)->rod_version();
164 const uint32_t sourceId = (*rob)->rod_source_id();
165 const uint32_t run = (*rob)->rod_run_no();
166 const uint32_t lvl1Id = (*rob)->rod_lvl1_id();
167 const uint32_t bcId = (*rob)->rod_bc_id();
168 const uint32_t trigType = (*rob)->rod_lvl1_trigger_type();
169 const uint32_t detType = (*rob)->rod_detev_type();
170 const uint32_t nData = (*rob)->rod_ndata();
171
172 // Unpack status words
173
174 std::vector<uint32_t> statusWords;
175 unsigned int nstatus = (*rob)->rod_nstatus();
176 if (nstatus <= 2) {
178 RODPointer statusEnd;
179 (*rob)->rod_status(status);
180 statusEnd = status + nstatus;
181 for (; status != statusEnd; ++status) statusWords.push_back(*status);
182 } else { // Likely corruption
184 continue;
185 }
186
187 // Save
188
189 rhCollection->push_back(new LVL1::RODHeader(version, sourceId, run, lvl1Id,
190 bcId, trigType, detType, statusWords, nData));
191 if (debug) {
192 msg() << MSG::hex
193 << "ROD Header version/sourceId/run/lvl1Id/bcId/trigType/detType/nData: "
194 << version << "/" << sourceId << "/" << run << "/" << lvl1Id << "/"
195 << bcId << "/" << trigType << "/" << detType << "/" << nData
196 << endmsg << "ROD Status Words:";
197 std::vector<uint32_t>::const_iterator pos = statusWords.begin();
198 std::vector<uint32_t>::const_iterator pose = statusWords.end();
199 for (; pos != pose; ++pos) msg() << " " << *pos;
200 msg() << MSG::dec << endmsg;
201 }
202 }
203
204 return StatusCode::SUCCESS;
205}
#define endmsg
const bool debug
uint16_t bcId(uint32_t data)
bool msgLvl(const MSG::Level lvl) const
MsgStream & msg() const
value_type push_back(value_type pElem)
Add an element to the end of the collection.
IROBDataProviderSvc::VROBFRAG::const_iterator ROBIterator
OFFLINE_FRAGMENTS_NAMESPACE::PointerType RODPointer
OFFLINE_FRAGMENTS_NAMESPACE::PointerType ROBPointer
status
Definition merge.py:16
setEventNumber uint32_t
int run(int argc, char *argv[])

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

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

◆ finalize()

StatusCode LVL1BS::RodHeaderByteStreamTool::finalize ( )
overridevirtual

Definition at line 99 of file RodHeaderByteStreamTool.cxx.

100{
101 return StatusCode::SUCCESS;
102}

◆ initialize()

StatusCode LVL1BS::RodHeaderByteStreamTool::initialize ( )
overridevirtual

Definition at line 86 of file RodHeaderByteStreamTool.cxx.

87{
88 ATH_MSG_INFO( "Initializing " << name() );
89
90 m_srcIdMap.useSWROD(m_useSWROD);
91
92 ATH_CHECK( m_errorTool.retrieve() );
93
94 return StatusCode::SUCCESS;
95}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
const L1CaloSrcIdMap m_srcIdMap
Source ID converter.

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

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 & LVL1BS::RodHeaderByteStreamTool::interfaceID ( )
static

AlgTool InterfaceID.

Definition at line 39 of file RodHeaderByteStreamTool.cxx.

40{
42}
static const InterfaceID IID_IRodHeaderByteStreamTool("RodHeaderByteStreamTool", 1, 1)

◆ isAppended()

bool LVL1BS::RodHeaderByteStreamTool::isAppended ( const std::string & sgKey,
const std::string & flag ) const
private

Return true if StoreGate key ends in given string.

Definition at line 321 of file RodHeaderByteStreamTool.cxx.

323{
324
325 return ::hasEnding(sgKey, flag) || ::hasEnding(sgKey, flag + "Aux.");
326}

◆ makeAllRobIds()

std::vector< uint32_t > LVL1BS::RodHeaderByteStreamTool::makeAllRobIds ( ) const
private

Fill vector with ROB IDs for given sub-detector.

Definition at line 275 of file RodHeaderByteStreamTool.cxx.

276{
277 std::vector<uint32_t> robIds;
278
279 auto append = [&robIds] (const std::vector<uint32_t>& v)
280 { robIds.insert (robIds.end(), v.begin(), v.end()); };
281
282 append (sourceIDs ("PP"));
283 append (sourceIDs ("CP"));
284 append (sourceIDs ("CPRoI"));
285 append (sourceIDs ("JEP"));
286 append (sourceIDs ("JEPRoI"));
287
288 // Don't include RoIBs (LVL2) in complete set
289 return robIds;
290}

◆ makeRobIds()

std::vector< uint32_t > LVL1BS::RodHeaderByteStreamTool::makeRobIds ( int numCrates,
int crateOffset,
const std::vector< int > & slinks,
int daqOrRoi,
eformat::SubDetector subdet,
const std::vector< uint32_t > & prop ) const
private

Definition at line 293 of file RodHeaderByteStreamTool.cxx.

299{
300 std::vector<uint32_t> robs;
301
302 if (!prop.empty()) {
303 robs = prop;
304 }
305 else {
306 for (int crate = 0; crate < numCrates; ++crate) {
307 const int numSlinks = slinks.size();
308 for (int i = 0; i < numSlinks; ++i) {
309 const uint32_t rodId = m_srcIdMap.getRodID(crate + crateOffset,
310 slinks[i], daqOrRoi, subdet);
311 const uint32_t robId = m_srcIdMap.getRobID(rodId);
312 robs.push_back (robId);
313 }
314 }
315 }
316 return robs;
317}

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

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()

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 > AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
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()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ sourceIDs()

const std::vector< uint32_t > & LVL1BS::RodHeaderByteStreamTool::sourceIDs ( const std::string & sgKey) const

Return reference to vector with all possible Source Identifiers.

Definition at line 209 of file RodHeaderByteStreamTool.cxx.

211{
212 if (isAppended(sgKey, "PP")) {
213 static const std::vector<int> slinksPP { 0, 1, 2, 3 };
214 static const std::vector<uint32_t> sourceIDsPP =
215 makeRobIds(8, 0, slinksPP, 0, eformat::TDAQ_CALO_PREPROC,
217 return sourceIDsPP;
218 }
219
220 if (isAppended(sgKey, "CP")) {
221 static const std::vector<int> slinksCP { 0, 2 };
222 static const std::vector<uint32_t> sourceIDsCP =
223 makeRobIds(4, 8, slinksCP, 0, eformat::TDAQ_CALO_CLUSTER_PROC_DAQ,
225 return sourceIDsCP;
226 }
227
228 if (isAppended(sgKey, "CPRoI")) {
229 static const std::vector<int> slinksCPRoI { 0 };
230 static const std::vector<uint32_t> sourceIDsCPRoI =
231 makeRobIds(4, 8, slinksCPRoI, 1, eformat::TDAQ_CALO_CLUSTER_PROC_ROI,
233 return sourceIDsCPRoI;
234 }
235
236 if (isAppended(sgKey, "JEP")) {
237 static const std::vector<int> slinksJEP { 0, 1, 2, 3 };
238 static const std::vector<uint32_t> sourceIDsJEP =
239 makeRobIds(2, 12, slinksJEP, 0, eformat::TDAQ_CALO_JET_PROC_DAQ,
241 return sourceIDsJEP;
242 }
243
244 if (isAppended(sgKey, "JEPRoI")) {
245 static const std::vector<int> slinksJEPRoI { 0 };
246 static const std::vector<uint32_t> sourceIDsJEPRoI =
247 makeRobIds(2, 12, slinksJEPRoI, 1, eformat::TDAQ_CALO_JET_PROC_ROI,
249 return sourceIDsJEPRoI;
250 }
251
252 if (isAppended(sgKey, "CPRoIB")) {
253 static const std::vector<int> slinksCPRoIB { 2 };
254 static const std::vector<uint32_t> sourceIDsCPRoIB =
255 makeRobIds(4, 8, slinksCPRoIB, 1, eformat::TDAQ_CALO_CLUSTER_PROC_ROI,
257 return sourceIDsCPRoIB;
258 }
259
260 if (isAppended(sgKey, "JEPRoIB")) {
261 static const std::vector<int> slinksJEPRoIB { 2 };
262 static const std::vector<uint32_t> sourceIDsJEPRoIB =
263 makeRobIds(2, 12, slinksJEPRoIB, 1, eformat::TDAQ_CALO_JET_PROC_ROI,
265 return sourceIDsJEPRoIB;
266 }
267
268 // all
269 static const std::vector<uint32_t> sourceIDs = makeAllRobIds();
270 return sourceIDs;
271}
std::vector< uint32_t > makeAllRobIds() const
Fill vector with ROB IDs for given sub-detector.
std::vector< uint32_t > makeRobIds(int numCrates, int crateOffset, const std::vector< int > &slinks, int daqOrRoi, eformat::SubDetector subdet, const std::vector< uint32_t > &prop) const
bool isAppended(const std::string &sgKey, const std::string &flag) const
Return true if StoreGate key ends in given string.

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

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 in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_errorTool

ToolHandle<LVL1BS::L1CaloErrorByteStreamTool> LVL1BS::RodHeaderByteStreamTool::m_errorTool
private

Error collection tool.

Definition at line 87 of file RodHeaderByteStreamTool.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_robDataProvider

ServiceHandle<IROBDataProviderSvc> LVL1BS::RodHeaderByteStreamTool::m_robDataProvider
private

Service for reading bytestream.

Definition at line 85 of file RodHeaderByteStreamTool.h.

◆ m_sourceIDsCPProp

std::vector<uint32_t> LVL1BS::RodHeaderByteStreamTool::m_sourceIDsCPProp
private

Definition at line 92 of file RodHeaderByteStreamTool.h.

◆ m_sourceIDsCPRoIBProp

std::vector<uint32_t> LVL1BS::RodHeaderByteStreamTool::m_sourceIDsCPRoIBProp
private

Definition at line 96 of file RodHeaderByteStreamTool.h.

◆ m_sourceIDsCPRoIProp

std::vector<uint32_t> LVL1BS::RodHeaderByteStreamTool::m_sourceIDsCPRoIProp
private

Definition at line 94 of file RodHeaderByteStreamTool.h.

◆ m_sourceIDsJEPProp

std::vector<uint32_t> LVL1BS::RodHeaderByteStreamTool::m_sourceIDsJEPProp
private

Definition at line 93 of file RodHeaderByteStreamTool.h.

◆ m_sourceIDsJEPRoIBProp

std::vector<uint32_t> LVL1BS::RodHeaderByteStreamTool::m_sourceIDsJEPRoIBProp
private

Definition at line 97 of file RodHeaderByteStreamTool.h.

◆ m_sourceIDsJEPRoIProp

std::vector<uint32_t> LVL1BS::RodHeaderByteStreamTool::m_sourceIDsJEPRoIProp
private

Definition at line 95 of file RodHeaderByteStreamTool.h.

◆ m_sourceIDsPPProp

std::vector<uint32_t> LVL1BS::RodHeaderByteStreamTool::m_sourceIDsPPProp
private

Definition at line 91 of file RodHeaderByteStreamTool.h.

◆ m_sourceIDsProp

std::vector<uint32_t> LVL1BS::RodHeaderByteStreamTool::m_sourceIDsProp
private

ROB source IDs.

Definition at line 90 of file RodHeaderByteStreamTool.h.

◆ m_srcIdMap

const L1CaloSrcIdMap LVL1BS::RodHeaderByteStreamTool::m_srcIdMap
private

Source ID converter.

Definition at line 99 of file RodHeaderByteStreamTool.h.

◆ m_useSWROD

bool LVL1BS::RodHeaderByteStreamTool::m_useSWROD = false
private

Definition at line 101 of file RodHeaderByteStreamTool.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: