ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TileRawDataReadingAlg Class Reference

Class for Tile raw data reading from BS. More...

#include <TileRawDataReadingAlg.h>

Inheritance diagram for TileRawDataReadingAlg:
Collaboration diagram for TileRawDataReadingAlg:

Public Member Functions

StatusCode initialize () override
 
StatusCode execute (const EventContext &ctx) const override
 
 AthReentrantAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor with parameters: More...
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
virtual bool filterPassed (const EventContext &ctx) const
 
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

template<class GetRobOperation , class FillCollOperation >
StatusCode readDigits (const SG::WriteHandleKey< TileDigitsContainer > &digitsKey, const EventContext &ctx, const TileHid2RESrcID *hid2re, GetRobOperation getRobFromFragID, FillCollOperation fillCollection, unsigned int offsetID=0) const
 
template<class GetRobOperation , class FillCollOperation >
StatusCode readRawChannels (const SG::WriteHandleKey< TileRawChannelContainer > &rawChannelsKey, const EventContext &ctx, const TileHid2RESrcID *hid2re, GetRobOperation getRobFromFragID, FillCollOperation fillCollection, TileFragHash::TYPE type=TileFragHash::OptFilterDsp) const
 
StatusCode readBeamElements (const SG::WriteHandleKey< TileBeamElemContainer > &beamElementsKey, const EventContext &ctx, const TileHid2RESrcID *hid2re) const
 
StatusCode readLaserObject (const SG::WriteHandleKey< TileLaserObject > &laserObjectKey, const EventContext &ctx, const TileHid2RESrcID *hid2re) const
 
StatusCode readMuonReceiver (const SG::WriteHandleKey< TileMuonReceiverContainer > &muRcvKey, const EventContext &ctx) const
 
StatusCode readL2 (const SG::WriteHandleKey< TileL2Container > &l2Key, const EventContext &ctx) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::WriteHandleKey< TileDigitsContainerm_digitsContainerKey
 
SG::WriteHandleKey< TileDigitsContainerm_flxDigitsContainerKey
 
SG::WriteHandleKey< TileDigitsContainerm_muRcvDigitsContainerKey
 
SG::WriteHandleKey< TileRawChannelContainerm_rawChannelContainerKey
 
SG::WriteHandleKey< TileRawChannelContainerm_muRcvRawChannelContainerKey
 
SG::WriteHandleKey< TileBeamElemContainerm_beamElemContainerKey
 
SG::WriteHandleKey< TileLaserObjectm_laserObjectKey
 
SG::WriteHandleKey< TileMuonReceiverContainerm_muonReceiverContainerKey
 
SG::WriteHandleKey< TileL2Containerm_l2ContainerKey
 
SG::ReadCondHandleKey< TileHid2RESrcIDm_hid2RESrcIDKey
 
ServiceHandle< IROBDataProviderSvcm_robSvc
 Name of ROB data provider service. More...
 
ToolHandle< TileROD_Decoderm_decoder
 
ServiceHandle< TileCablingSvcm_cablingSvc
 
bool m_doDigits {false}
 
bool m_doMuRcvDigits {false}
 
bool m_doFlxDigits {false}
 
bool m_doRawChannels {false}
 
bool m_doMuRcvRawChannels {false}
 
bool m_doBeamElements {false}
 
bool m_doLaserObject {false}
 
bool m_doMuonReceiver {false}
 
bool m_doL2 {false}
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Class for Tile raw data reading from BS.

Definition at line 30 of file TileRawDataReadingAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Member Function Documentation

◆ AthReentrantAlgorithm()

AthReentrantAlgorithm::AthReentrantAlgorithm

Constructor with parameters:

Definition at line 90 of file AthReentrantAlgorithm.cxx.

22  :
24 {
25 
26  // Set up to run AthAlgorithmDHUpdate in sysInitialize before
27  // merging depedency lists. This extends the output dependency
28  // list with any symlinks implied by inheritance relations.
29  m_updateDataHandles =
30  std::make_unique<AthenaBaseComps::AthAlgorithmDHUpdate>
32  std::move (m_updateDataHandles));
33 }

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

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

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( ) const
inlineinherited

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode TileRawDataReadingAlg::execute ( const EventContext &  ctx) const
override

Definition at line 70 of file TileRawDataReadingAlg.cxx.

70  {
71 
73  ATH_CHECK(hid2re.isValid());
74 
75  if (m_doDigits) {
78  [] (const TileROD_Decoder* decoder, const ROBDataProviderSvc::ROBF* rob, TileDigitsCollection& digitsCollection) {
79  decoder->fillCollection(rob, digitsCollection);
80  }));
81  }
82 
83  if (m_doRawChannels) {
86  [] (const TileROD_Decoder* decoder, const ROBDataProviderSvc::ROBF* rob,
87  TileRawChannelCollection& rawChannelCollection, TileRawChannelContainer* container) {
88  decoder->fillCollection(rob, rawChannelCollection, container);
89  }));
90  }
91 
92  if (m_doMuonReceiver) {
94  }
95 
96  if (m_doMuRcvDigits) {
100  }
101 
102  if (m_doMuRcvRawChannels) {
105  [] (const TileROD_Decoder* decoder, const ROBDataProviderSvc::ROBF* rob,
106  TileRawChannelCollection& rawChannelCollection, TileRawChannelContainer*) {
107  decoder->fillCollection_TileMuRcv_RawChannel(rob, rawChannelCollection);
108  }, TileFragHash::MF));
109  }
110 
111  if (m_doBeamElements) {
113  }
114 
115  if (m_doLaserObject) {
117  }
118 
119  if (m_doFlxDigits) {
121  std::mem_fn(&TileHid2RESrcID::getRobFromFragID),
124  }
125 
126  if (m_doL2) {
128  }
129 
130  return StatusCode::SUCCESS;
131 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 79 of file AthReentrantAlgorithm.cxx.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ initialize()

StatusCode TileRawDataReadingAlg::initialize ( )
override

Definition at line 20 of file TileRawDataReadingAlg.cxx.

20  {
21 
24 
27 
30 
33 
36 
39 
42 
45 
46  m_doL2 = !m_l2ContainerKey.empty();
47  ATH_CHECK(m_l2ContainerKey.initialize(m_doL2));
48 
49 
50  ATH_MSG_DEBUG("Initialize Tile raw data reading: "
51  << ((m_doDigits) ? m_digitsContainerKey.key() + " " : "")
52  << ((m_doMuRcvDigits) ? m_muRcvDigitsContainerKey.key() + " " : "")
53  << ((m_doFlxDigits) ? m_flxDigitsContainerKey.key() + " " : "")
54  << ((m_doRawChannels) ? m_rawChannelContainerKey.key() + " " : "")
56  << ((m_doBeamElements) ? m_beamElemContainerKey.key() + " " : "")
57  << ((m_doLaserObject) ? m_laserObjectKey.key() + " " : "")
58  << ((m_doMuonReceiver) ? m_muonReceiverContainerKey.key() + " " : "")
59  << ((m_doL2) ? m_l2ContainerKey.key() + " " : ""));
60 
62 
63  ATH_CHECK(m_robSvc.retrieve());
64  ATH_CHECK(m_cablingSvc.retrieve());
65  ATH_CHECK(m_decoder.retrieve());
66 
67  return StatusCode::SUCCESS;
68 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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.

◆ isClonable()

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ msg() [1/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::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< Gaudi::Algorithm > >::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.

◆ readBeamElements()

StatusCode TileRawDataReadingAlg::readBeamElements ( const SG::WriteHandleKey< TileBeamElemContainer > &  beamElementsKey,
const EventContext &  ctx,
const TileHid2RESrcID hid2re 
) const
private

Definition at line 257 of file TileRawDataReadingAlg.cxx.

258  {
259 
260  std::vector<uint32_t> robid{0};
261  std::vector<const ROBDataProviderSvc::ROBF*> robf;
262 
263  auto beamElementsContainer = std::make_unique<TileMutableBeamElemContainer>(true);
264  ATH_CHECK( beamElementsContainer->status() );
265 
266  // Iterate over all collections in a container and fill them
267  for (IdentifierHash hash : beamElementsContainer->GetAllCurrentHashes()) {
268  TileBeamElemCollection* beamElementsCollection = beamElementsContainer->indexFindPtr(hash);
269  TileBeamElemCollection::ID collID = beamElementsCollection->identify();
270 
271  // Find ROB
272  uint32_t newrob = hid2re->getRobFromFragID(collID);
273  if (newrob != robid[0]) {
274  robid[0] = newrob;
275  robf.clear();
276  m_robSvc->getROBData(robid, robf);
277  }
278 
279  // Unpack ROB data
280  if (robf.size() > 0 ) {
281  m_decoder->fillCollection(robf[0], *beamElementsCollection);
282  }
283  }
284 
285  ATH_MSG_DEBUG( "Creating beam elements container: " << beamElementsKey );
286 
287  SG::WriteHandle<TileBeamElemContainer> beamElementsCnt(beamElementsKey, ctx);
288  ATH_CHECK( beamElementsCnt.record(std::move(beamElementsContainer)) );
289 
290  return StatusCode::SUCCESS;
291 }

◆ readDigits()

template<class GetRobOperation , class FillCollOperation >
StatusCode TileRawDataReadingAlg::readDigits ( const SG::WriteHandleKey< TileDigitsContainer > &  digitsKey,
const EventContext &  ctx,
const TileHid2RESrcID hid2re,
GetRobOperation  getRobFromFragID,
FillCollOperation  fillCollection,
unsigned int  offsetID = 0 
) const
private

Definition at line 135 of file TileRawDataReadingAlg.cxx.

138  {
139 
140  uint32_t newrob = 0x0;
141  std::vector<uint32_t> robid{0};
142  std::vector<const ROBDataProviderSvc::ROBF*> robf;
143  auto digitsContainer = std::make_unique<TileMutableDigitsContainer>(true, TileFragHash::Digitizer);
144  ATH_CHECK( digitsContainer->status() );
145 
146  // Iterate over all collections in a container and fill them
147  for (IdentifierHash hash : digitsContainer->GetAllCurrentHashes()) {
148  TileDigitsCollection* digitsCollection = digitsContainer->indexFindPtr (hash);
149  TileDigitsCollection::ID collID = digitsCollection->identify();
150 
151  // Find ROB
152  newrob = getRobFromFragID(hid2re, collID + offsetID);
153  if (newrob != robid[0]) {
154  robid[0] = newrob;
155  robf.clear();
156  m_robSvc->getROBData(robid, robf);
157  }
158 
159  if (robf.size() > 0 ) {
160  fillCollection(&*m_decoder, robf[0], *digitsCollection);
161  } else {
163  digitsCollection->setFragBCID(0xDEAD | (status << 16));
164  ATH_MSG_DEBUG( "Status [" << digitsKey.key() << "] for " << "drawer 0x" << MSG::hex
165  << collID << " in Digi frag is 0x" << status << MSG::dec);
166  }
167  }
168 
169  ATH_MSG_DEBUG( "Creating digits container: " << digitsKey.key() );
170 
172  ATH_CHECK( digitsCnt.record(std::move(digitsContainer)) );
173 
174  return StatusCode::SUCCESS;
175 }

◆ readL2()

StatusCode TileRawDataReadingAlg::readL2 ( const SG::WriteHandleKey< TileL2Container > &  l2Key,
const EventContext &  ctx 
) const
private

Definition at line 343 of file TileRawDataReadingAlg.cxx.

344  {
345 
346  const RawEvent* re = m_robSvc->getEvent();
347  if (!re) {
348  ATH_MSG_ERROR( "Could not get raw event from ByteStreamInputSvc" );
349  return StatusCode::FAILURE;
350  }
351 
352  auto l2Container = std::make_unique<TileL2Container>();
353  l2Container->reserve(256);
354  for(int i = 0; i < 256; ++i) {
355  int collId = m_decoder->hashFunc()->identifier(i);
356  l2Container->push_back (std::make_unique<TileL2>(collId));
357  }
358 
359  if (!m_decoder->convert(re, l2Container.get()).isSuccess()) {
360  ATH_MSG_WARNING( "Conversion tool returned an error. TileL2Container might be empty." );
361  }
362 
363  SG::WriteHandle<TileL2Container> l2Cnt(l2Key, ctx);
364  ATH_CHECK( l2Cnt.record(std::move(l2Container)) );
365 
366  return StatusCode::SUCCESS;
367 }

◆ readLaserObject()

StatusCode TileRawDataReadingAlg::readLaserObject ( const SG::WriteHandleKey< TileLaserObject > &  laserObjectKey,
const EventContext &  ctx,
const TileHid2RESrcID hid2re 
) const
private

Definition at line 294 of file TileRawDataReadingAlg.cxx.

295  {
296 
297  std::vector<uint32_t> robid{0};
298  std::vector<const ROBDataProviderSvc::ROBF*> robf;
299 
300  auto laserObject = std::make_unique<TileLaserObject>() ;
301  m_decoder->setLaserVersion(*laserObject);
302 
303  robid[0] = hid2re->getRobFromFragID(LASER_OBJ_FRAG);
304  m_robSvc->getROBData(robid, robf);
305 
306  if (robf.size() > 0 ) {
307  m_decoder->fillTileLaserObj(robf[0], *laserObject);
308  } else {
309  ATH_MSG_DEBUG( " No LASTROD fragment in BS, TileLaserObject will be empty." );
310  }
311 
312  ATH_MSG_DEBUG( "Creating laser object: " << laserObjectKey );
313 
314  SG::WriteHandle<TileLaserObject> laserObj(laserObjectKey, ctx);
315  ATH_CHECK( laserObj.record(std::move(laserObject)) );
316 
317  return StatusCode::SUCCESS;
318 }

◆ readMuonReceiver()

StatusCode TileRawDataReadingAlg::readMuonReceiver ( const SG::WriteHandleKey< TileMuonReceiverContainer > &  muRcvKey,
const EventContext &  ctx 
) const
private

Definition at line 321 of file TileRawDataReadingAlg.cxx.

322  {
323 
324  const RawEvent* re = m_robSvc->getEvent();
325  if (!re) {
326  ATH_MSG_ERROR( "Could not get raw event from ByteStreamInputSvc" );
327  return StatusCode::FAILURE;
328  }
329 
330  auto muonReceiverContainer = std::make_unique<TileMuonReceiverContainer>();
331 
332  if (!m_decoder->convertTMDBDecision(re, muonReceiverContainer.get()).isSuccess()) {
333  ATH_MSG_WARNING( "Conversion tool returned an error. TileMuonReceiverContainer might be empty." );
334  }
335 
336  SG::WriteHandle<TileMuonReceiverContainer> muRcvCnt(muRcvKey, ctx);
337  ATH_CHECK( muRcvCnt.record(std::move(muonReceiverContainer)) );
338 
339  return StatusCode::SUCCESS;
340 }

◆ readRawChannels()

template<class GetRobOperation , class FillCollOperation >
StatusCode TileRawDataReadingAlg::readRawChannels ( const SG::WriteHandleKey< TileRawChannelContainer > &  rawChannelsKey,
const EventContext &  ctx,
const TileHid2RESrcID hid2re,
GetRobOperation  getRobFromFragID,
FillCollOperation  fillCollection,
TileFragHash::TYPE  type = TileFragHash::OptFilterDsp 
) const
private

Definition at line 178 of file TileRawDataReadingAlg.cxx.

181  {
182 
183 
184  uint32_t newrob = 0x0;
185  std::vector<uint32_t> robid{0};
186  std::vector<const ROBDataProviderSvc::ROBF*> robf;
187  std::unordered_map<uint32_t, int> bsflags;
188  uint32_t flags;
189 
190  auto rawChannelContainer = std::make_unique<TileMutableRawChannelContainer>(true, type);
191  ATH_CHECK( rawChannelContainer->status() );
192 
193  // Iterate over all collections in a container and fill them
194  for (IdentifierHash hash : rawChannelContainer->GetAllCurrentHashes()) {
195  TileRawChannelCollection* rawChannelCollection = rawChannelContainer->indexFindPtr (hash);
196  TileRawChannelCollection::ID collID = rawChannelCollection->identify();
197 
198  // Find ROB
199  newrob = getRobFromFragID(hid2re, collID);
200  if (newrob != robid[0]) {
201  robid[0] = newrob;
202  robf.clear();
203  m_robSvc->getROBData(robid, robf);
204  }
205 
206  // Unpack ROB data
207  if (robf.size() > 0 ) {
208  fillCollection(&*m_decoder, robf[0], *rawChannelCollection, &*rawChannelContainer);
209 
210  flags = rawChannelContainer->get_bsflags();
211  auto result = bsflags.insert(std::pair<uint32_t, int>(flags, 1));
212  if (result.second == false) {
213  result.first->second++;
214  }
215  } else {
216  ATH_MSG_DEBUG( "ROB [" << rawChannelsKey.key() << "] for " << "drawer 0x" << MSG::hex << collID << MSG::dec << " not found in BS" );
218  rawChannelCollection->setFragGlobalCRC(status);
219  ATH_MSG_DEBUG( "Status [" << rawChannelsKey.key() << "] for " << "drawer 0x" << MSG::hex << collID << " is 0x" << status << MSG::dec);
220  }
221  }
222 
223  if (bsflags.size() > 1) {
224  int n = 0;
225  for (const auto & elem : bsflags) {
226  if (elem.second > n) {
227  n = elem.second;
228  flags = elem.first;
229  }
230  }
231 
232  if (flags != rawChannelContainer->get_bsflags()) {
233 
234  uint32_t unit = ((flags & 0xC0000000) >> 30);
235  if ((flags & 0x30000000) < 0x30000000) {
236  unit += TileRawChannelUnit::OnlineOffset; // Online units in real data
237  }
238 
239  ATH_MSG_DEBUG( "Changing units [" << rawChannelsKey.key() << "] for " << "RawChannelContainer from "
240  << rawChannelContainer->get_unit() << " to " << unit << MSG::hex
241  << " and BS flags from 0x" << rawChannelContainer->get_bsflags() << " to 0x" << flags << MSG::dec);
242 
244  rawChannelContainer->set_bsflags(flags);
245  }
246  }
247 
248  ATH_MSG_DEBUG( "Creating raw channel container: " << rawChannelsKey );
249 
250  SG::WriteHandle<TileRawChannelContainer> rawChannelsCnt(rawChannelsKey, ctx);
251  ATH_CHECK( rawChannelsCnt.record(std::move(rawChannelContainer)) );
252 
253  return StatusCode::SUCCESS;
254 }

◆ 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< Gaudi::Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 67 of file AthReentrantAlgorithm.cxx.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_beamElemContainerKey

SG::WriteHandleKey<TileBeamElemContainer> TileRawDataReadingAlg::m_beamElemContainerKey
private
Initial value:
{this,
"TileBeamElemContainer", "", "Output Tile beam elements container key"}

Definition at line 78 of file TileRawDataReadingAlg.h.

◆ m_cablingSvc

ServiceHandle<TileCablingSvc> TileRawDataReadingAlg::m_cablingSvc
private
Initial value:
{ this,
"TileCablingSvc", "TileCablingSvc", "The Tile cabling service"}

Definition at line 105 of file TileRawDataReadingAlg.h.

◆ m_decoder

ToolHandle<TileROD_Decoder> TileRawDataReadingAlg::m_decoder
private
Initial value:
{this,
"TileROD_Decoder", "TileROD_Decoder", "Tile ROD decoder"}

Definition at line 99 of file TileRawDataReadingAlg.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_digitsContainerKey

SG::WriteHandleKey<TileDigitsContainer> TileRawDataReadingAlg::m_digitsContainerKey
private
Initial value:
{this,
"TileDigitsContainer", "", "Output Tile digits container key"}

Definition at line 63 of file TileRawDataReadingAlg.h.

◆ m_doBeamElements

bool TileRawDataReadingAlg::m_doBeamElements {false}
private

Definition at line 114 of file TileRawDataReadingAlg.h.

◆ m_doDigits

bool TileRawDataReadingAlg::m_doDigits {false}
private

Definition at line 109 of file TileRawDataReadingAlg.h.

◆ m_doFlxDigits

bool TileRawDataReadingAlg::m_doFlxDigits {false}
private

Definition at line 111 of file TileRawDataReadingAlg.h.

◆ m_doL2

bool TileRawDataReadingAlg::m_doL2 {false}
private

Definition at line 117 of file TileRawDataReadingAlg.h.

◆ m_doLaserObject

bool TileRawDataReadingAlg::m_doLaserObject {false}
private

Definition at line 115 of file TileRawDataReadingAlg.h.

◆ m_doMuonReceiver

bool TileRawDataReadingAlg::m_doMuonReceiver {false}
private

Definition at line 116 of file TileRawDataReadingAlg.h.

◆ m_doMuRcvDigits

bool TileRawDataReadingAlg::m_doMuRcvDigits {false}
private

Definition at line 110 of file TileRawDataReadingAlg.h.

◆ m_doMuRcvRawChannels

bool TileRawDataReadingAlg::m_doMuRcvRawChannels {false}
private

Definition at line 113 of file TileRawDataReadingAlg.h.

◆ m_doRawChannels

bool TileRawDataReadingAlg::m_doRawChannels {false}
private

Definition at line 112 of file TileRawDataReadingAlg.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_flxDigitsContainerKey

SG::WriteHandleKey<TileDigitsContainer> TileRawDataReadingAlg::m_flxDigitsContainerKey
private
Initial value:
{this,
"TileDigitsFlxContainer", "", "Output Tile FELIX digits container key"}

Definition at line 66 of file TileRawDataReadingAlg.h.

◆ m_hid2RESrcIDKey

SG::ReadCondHandleKey<TileHid2RESrcID> TileRawDataReadingAlg::m_hid2RESrcIDKey
private
Initial value:
{this,
"TileHid2RESrcID", "TileHid2RESrcID", "TileHid2RESrcID key"}

Definition at line 90 of file TileRawDataReadingAlg.h.

◆ m_l2ContainerKey

SG::WriteHandleKey<TileL2Container> TileRawDataReadingAlg::m_l2ContainerKey
private
Initial value:
{this,
"TileL2Container", "", "Output Tile L2 container key"}

Definition at line 87 of file TileRawDataReadingAlg.h.

◆ m_laserObjectKey

SG::WriteHandleKey<TileLaserObject> TileRawDataReadingAlg::m_laserObjectKey
private
Initial value:
{this,
"TileLaserObject", "", "Output Tile object key"}

Definition at line 81 of file TileRawDataReadingAlg.h.

◆ m_muonReceiverContainerKey

SG::WriteHandleKey<TileMuonReceiverContainer> TileRawDataReadingAlg::m_muonReceiverContainerKey
private
Initial value:
{this,
"TileMuonReceiverContainer", "", "Output Tile muon receiver container key"}

Definition at line 84 of file TileRawDataReadingAlg.h.

◆ m_muRcvDigitsContainerKey

SG::WriteHandleKey<TileDigitsContainer> TileRawDataReadingAlg::m_muRcvDigitsContainerKey
private
Initial value:
{this,
"MuRcvDigitsContainer", "", "Output Tile TMDB digits container key"}

Definition at line 69 of file TileRawDataReadingAlg.h.

◆ m_muRcvRawChannelContainerKey

SG::WriteHandleKey<TileRawChannelContainer> TileRawDataReadingAlg::m_muRcvRawChannelContainerKey
private
Initial value:
{this,
"MuRcvRawChannelContainer", "", "Output Tile TMDB raw channels container key"}

Definition at line 75 of file TileRawDataReadingAlg.h.

◆ m_rawChannelContainerKey

SG::WriteHandleKey<TileRawChannelContainer> TileRawDataReadingAlg::m_rawChannelContainerKey
private
Initial value:
{this,
"TileRawChannelContainer", "", "Output Tile raw channels container key"}

Definition at line 72 of file TileRawDataReadingAlg.h.

◆ m_robSvc

ServiceHandle<IROBDataProviderSvc> TileRawDataReadingAlg::m_robSvc
private
Initial value:
{this,
"ROBDataProviderSvc", "ROBDataProviderSvc", "The ROB data provider service"}

Name of ROB data provider service.

Definition at line 96 of file TileRawDataReadingAlg.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
TileRawChannelContainer
Definition: TileRawChannelContainer.h:13
TileROD_Decoder
Decodes the different TileCal ROD subfragment types in bytestream data and fills TileDigitsContainer,...
Definition: TileROD_Decoder.h:119
get_generator_info.result
result
Definition: get_generator_info.py:21
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
TileROD_Decoder::fillCollection_TileMuRcv_Digi
void fillCollection_TileMuRcv_Digi(const ROBData *rob, TileDigitsCollection &v) const
Definition: TileROD_Decoder.cxx:4398
TileDigitsCollection::ID
MyBase::ID ID
Definition: TileDigitsCollection.h:23
TileRawDataReadingAlg::readDigits
StatusCode readDigits(const SG::WriteHandleKey< TileDigitsContainer > &digitsKey, const EventContext &ctx, const TileHid2RESrcID *hid2re, GetRobOperation getRobFromFragID, FillCollOperation fillCollection, unsigned int offsetID=0) const
Definition: TileRawDataReadingAlg.cxx:135
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
TileBeamElemCollection
Definition: TileBeamElemCollection.h:12
python.LArCondContChannels.decoder
decoder
def channelSelection(self, channelList, groupType): if groupType == self.SingleGroup: pass elif group...
Definition: LArCondContChannels.py:618
TileRawDataReadingAlg::m_doRawChannels
bool m_doRawChannels
Definition: TileRawDataReadingAlg.h:112
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
AthenaPoolTestRead.flags
flags
Definition: AthenaPoolTestRead.py:8
TileHid2RESrcID::getRobFromFragID
uint32_t getRobFromFragID(int frag_id) const
make a ROB SrcID for a fragment ID
Definition: TileHid2RESrcID.cxx:457
TileRawDataReadingAlg::m_beamElemContainerKey
SG::WriteHandleKey< TileBeamElemContainer > m_beamElemContainerKey
Definition: TileRawDataReadingAlg.h:78
TileRawChannelCollection::setFragGlobalCRC
void setFragGlobalCRC(uint32_t globalcrc)
Various set methods.
Definition: TileRawChannelCollection.h:81
TileRawDataReadingAlg::m_doFlxDigits
bool m_doFlxDigits
Definition: TileRawDataReadingAlg.h:111
AthCommonDataStore::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 > renounce(T &h)
Definition: AthCommonDataStore.h:380
TileHid2RESrcID::getRobFromTileMuRcvFragID
uint32_t getRobFromTileMuRcvFragID(int frag_id) const
Definition: TileHid2RESrcID.cxx:579
RawEvent
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
Definition: RawEvent.h:37
TileRawDataReadingAlg::m_doMuRcvRawChannels
bool m_doMuRcvRawChannels
Definition: TileRawDataReadingAlg.h:113
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
TileROD_Decoder::fillCollection_FELIX_Digi
void fillCollection_FELIX_Digi(const ROBData *rob, TileDigitsCollection &v) const
Definition: TileROD_Decoder.cxx:4528
TileRawDataReadingAlg::m_l2ContainerKey
SG::WriteHandleKey< TileL2Container > m_l2ContainerKey
Definition: TileRawDataReadingAlg.h:87
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
TileFragHash::Digitizer
@ Digitizer
Definition: TileFragHash.h:33
SG::VarHandleKey::empty
bool empty() const
Test if the key is blank.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:150
TileRawDataReadingAlg::m_digitsContainerKey
SG::WriteHandleKey< TileDigitsContainer > m_digitsContainerKey
Definition: TileRawDataReadingAlg.h:63
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
TileRawDataReadingAlg::m_laserObjectKey
SG::WriteHandleKey< TileLaserObject > m_laserObjectKey
Definition: TileRawDataReadingAlg.h:81
TileBeamElemCollection::ID
MyBase::ID ID
Definition: TileBeamElemCollection.h:17
TileRawDataReadingAlg::m_doDigits
bool m_doDigits
Definition: TileRawDataReadingAlg.h:109
TileRawDataReadingAlg::readLaserObject
StatusCode readLaserObject(const SG::WriteHandleKey< TileLaserObject > &laserObjectKey, const EventContext &ctx, const TileHid2RESrcID *hid2re) const
Definition: TileRawDataReadingAlg.cxx:294
LArDigits2NtupleDumper.digitsKey
digitsKey
Definition: LArDigits2NtupleDumper.py:76
TileRawDataReadingAlg::m_doLaserObject
bool m_doLaserObject
Definition: TileRawDataReadingAlg.h:115
TileRawChannelCollection::ID
MyBase::ID ID
Definition: TileRawChannelCollection.h:17
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
TileRawDataReadingAlg::m_doMuRcvDigits
bool m_doMuRcvDigits
Definition: TileRawDataReadingAlg.h:110
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
eformat::ROBFragment
Definition: L1CaloBsDecoderUtil.h:12
lumiFormat.i
int i
Definition: lumiFormat.py:92
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
TileRawChannelUnit::OnlineOffset
@ OnlineOffset
Definition: TileRawChannelUnit.h:25
TileRawDataReadingAlg::readBeamElements
StatusCode readBeamElements(const SG::WriteHandleKey< TileBeamElemContainer > &beamElementsKey, const EventContext &ctx, const TileHid2RESrcID *hid2re) const
Definition: TileRawDataReadingAlg.cxx:257
TileROD_Decoder::CRC_ERR
@ CRC_ERR
Definition: TileROD_Decoder.h:226
TileRawDataReadingAlg::m_rawChannelContainerKey
SG::WriteHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition: TileRawDataReadingAlg.h:72
TileRawDataReadingAlg::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Definition: TileRawDataReadingAlg.h:105
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
TileRawDataReadingAlg::m_flxDigitsContainerKey
SG::WriteHandleKey< TileDigitsContainer > m_flxDigitsContainerKey
Definition: TileRawDataReadingAlg.h:66
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
TileRawChannelUnit::UNIT
UNIT
Definition: TileRawChannelUnit.h:16
TileRawDataReadingAlg::m_doL2
bool m_doL2
Definition: TileRawDataReadingAlg.h:117
TileROD_Decoder::NO_ROB
@ NO_ROB
Definition: TileROD_Decoder.h:226
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
TileRawDataReadingAlg::m_doBeamElements
bool m_doBeamElements
Definition: TileRawDataReadingAlg.h:114
TileRawDataCollection::identify
ID identify() const
Definition: TileRawDataCollection.h:71
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
TileRawDataReadingAlg::m_muonReceiverContainerKey
SG::WriteHandleKey< TileMuonReceiverContainer > m_muonReceiverContainerKey
Definition: TileRawDataReadingAlg.h:84
TileDigitsCollection
Definition: TileDigitsCollection.h:18
TileRawDataReadingAlg::m_muRcvRawChannelContainerKey
SG::WriteHandleKey< TileRawChannelContainer > m_muRcvRawChannelContainerKey
Definition: TileRawDataReadingAlg.h:75
TileCalibUtils::FELIX_FRAGID_OFFSET
static const unsigned int FELIX_FRAGID_OFFSET
Offset for frag ID used for FELIX in frag ID to ROB ID map.
Definition: TileCalibUtils.h:157
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
LASER_OBJ_FRAG
#define LASER_OBJ_FRAG
Definition: TileTBFrag.h:49
TileFragHash::MF
@ MF
Definition: TileFragHash.h:35
TileRawDataReadingAlg::m_robSvc
ServiceHandle< IROBDataProviderSvc > m_robSvc
Name of ROB data provider service.
Definition: TileRawDataReadingAlg.h:96
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
TileRawChannelCollection
Definition: TileRawChannelCollection.h:12
TileRawDataReadingAlg::readRawChannels
StatusCode readRawChannels(const SG::WriteHandleKey< TileRawChannelContainer > &rawChannelsKey, const EventContext &ctx, const TileHid2RESrcID *hid2re, GetRobOperation getRobFromFragID, FillCollOperation fillCollection, TileFragHash::TYPE type=TileFragHash::OptFilterDsp) const
Definition: TileRawDataReadingAlg.cxx:178
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
TileDigitsCollection::setFragBCID
void setFragBCID(uint32_t bcid)
Set BCID.
Definition: TileDigitsCollection.h:113
TileRawDataReadingAlg::m_doMuonReceiver
bool m_doMuonReceiver
Definition: TileRawDataReadingAlg.h:116
a
TList * a
Definition: liststreamerinfos.cxx:10
h
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
unit
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
Definition: AmgMatrixBasePlugin.h:20
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileRawDataReadingAlg::readL2
StatusCode readL2(const SG::WriteHandleKey< TileL2Container > &l2Key, const EventContext &ctx) const
Definition: TileRawDataReadingAlg.cxx:343
re
const boost::regex re(r_e)
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
TileRawDataReadingAlg::m_muRcvDigitsContainerKey
SG::WriteHandleKey< TileDigitsContainer > m_muRcvDigitsContainerKey
Definition: TileRawDataReadingAlg.h:69
TileRawDataReadingAlg::m_decoder
ToolHandle< TileROD_Decoder > m_decoder
Definition: TileRawDataReadingAlg.h:99
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
merge.status
status
Definition: merge.py:17
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
TileAANtupleConfig.rawChannelContainer
rawChannelContainer
Definition: TileAANtupleConfig.py:120
TileRawDataReadingAlg::readMuonReceiver
StatusCode readMuonReceiver(const SG::WriteHandleKey< TileMuonReceiverContainer > &muRcvKey, const EventContext &ctx) const
Definition: TileRawDataReadingAlg.cxx:321
IdentifierHash
Definition: IdentifierHash.h:38
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
TileRawDataReadingAlg::m_hid2RESrcIDKey
SG::ReadCondHandleKey< TileHid2RESrcID > m_hid2RESrcIDKey
Definition: TileRawDataReadingAlg.h:90
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >