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

#include <MuCalStreamerTool.h>

Inheritance diagram for TrigL2MuonSA::MuCalStreamerTool:
Collaboration diagram for TrigL2MuonSA::MuCalStreamerTool:

Public Member Functions

 MuCalStreamerTool (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual StatusCode initialize () override
 
std::string instanceName () const
 
void setInstanceName (const std::string &name)
 
void setBufferName (const std::string &buffName)
 
std::vector< int > * getLocalBuffer ()
 
int getLocalBufferSize () const
 
StatusCode openStream (int calBufferSize)
 
StatusCode closeStream ()
 
bool isStreamOpen ()
 
StatusCode createRoiFragment (const xAOD::MuonRoI *roi, TrigL2MuonSA::TrackPattern &trackPattern, TrigL2MuonSA::MdtHits &mdtHits, TrigL2MuonSA::RpcHits &rpcHits, TrigL2MuonSA::TgcHits &tgcHits, bool doDataScouting, bool &updateTriggerElement, 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 sysInitialize () override
 Perform system initialization for an algorithm. 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

StatusCode createMdtFragment (TrigL2MuonSA::MdtHits &mdtHits, LVL2_MUON_CALIBRATION::MdtCalibFragment &mdtFragment, float phi) const
 
StatusCode createRpcFragment (const xAOD::MuonRoI *roi, LVL2_MUON_CALIBRATION::RpcCalibFragment &rpcFragment, const EventContext &ctx) const
 
StatusCode createTgcFragment (std::vector< uint32_t > &tgcRobIdList, LVL2_MUON_CALIBRATION::TgcCalibFragment &tgcFragment) 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

Gaudi::Property< bool > m_writeToFile { this, "WriteToFile", false, "" }
 
SG::ReadHandleKey< TgcRdoContainerm_tgcRdoKey {this, "TgcRdoContainer", "TGCRDO", "Tgc RDO Input"}
 
SG::ReadHandleKey< xAOD::EventInfom_eventInfoKey { this, "EventInfoKey", "EventInfo", "" }
 
SG::ReadHandleKey< RpcPadContainerm_rpcPadKey {this, "RpcPadContainerKey", "RPCPAD", "RpcPad container fro MuCalStreamerTool"}
 
std::string m_calBufferName
 
std::string m_algInstanceName
 
std::ofstream m_outputFile
 
ToolHandle< IRegSelToolm_regSel_MDT {this, "RegSel_MDT", "RegSelTool/RegSelTool_MDT", "MDT Region Selector Tool"}
 
ToolHandle< IRegSelToolm_regSel_TGC {this, "RegSel_TGC", "RegSelTool/RegSelTool_TGC", "TGC Region Selector Tool"}
 
SG::ReadCondHandleKey< RpcCablingCondDatam_readKey {this, "ReadKey", "RpcCablingCondData", "Key of RpcCablingCondData"}
 
int m_localBufferSize = 0
 
std::vector< int > m_localBuffer
 
TrigL2MuonSA::MuCalCircClientm_circ = nullptr
 
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

Definition at line 54 of file MuCalStreamerTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ MuCalStreamerTool()

TrigL2MuonSA::MuCalStreamerTool::MuCalStreamerTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 20 of file MuCalStreamerTool.cxx.

22  :
24 {
25 }

Member Function Documentation

◆ closeStream()

StatusCode TrigL2MuonSA::MuCalStreamerTool::closeStream ( )

Definition at line 85 of file MuCalStreamerTool.cxx.

86 {
87 
88  std::string name = m_calBufferName+"_"+m_algInstanceName;
89  ATH_MSG_DEBUG("I'm going to close the stream "<<name);
90 
91  if (m_circ)
92  {
93  delete m_circ;
94  m_circ = nullptr;
95  }
96 
97  return StatusCode::SUCCESS;
98 
99 }

◆ createMdtFragment()

StatusCode TrigL2MuonSA::MuCalStreamerTool::createMdtFragment ( TrigL2MuonSA::MdtHits mdtHits,
LVL2_MUON_CALIBRATION::MdtCalibFragment &  mdtFragment,
float  phi 
) const
private

Definition at line 241 of file MuCalStreamerTool.cxx.

244  {
245 
246  TrigL2MuonSA::MdtHits::const_iterator it = mdtHits.begin();
247  for ( ; it != mdtHits.end() ; ++it ) {
248 
249  int stationName = (*it).name;
250  int stationEta = (*it).StationEta;
251  int stationPhi = (*it).StationPhi;
252  int multilayer = (*it).Multilayer;
253  int layer = (*it).TubeLayer;
254  int tube = (*it).Tube;
255 
256  uint32_t ID = LVL2_MUON_CALIBRATION::MdtIdIntoWord(stationName,
257  stationEta,stationPhi,multilayer,layer,tube);
258 
259  uint16_t leadingCoarseTime = (*it).LeadingCoarseTime;
260  uint16_t leadingFineTime = (*it).LeadingFineTime;
261  uint16_t trailingCoarseTime = (*it).TrailingCoarseTime;
262  uint16_t trailingFineTime = (*it).TrailingFineTime;
263  uint16_t adc = (*it).Adc;
264 
265  LVL2_MUON_CALIBRATION::MdtCalibData mdt(ID,leadingCoarseTime,leadingFineTime,
266  trailingCoarseTime,trailingFineTime,adc
267  ,trackPhi);
268 
269  ATH_MSG_DEBUG("Dumping MDT Hit");
270  ATH_MSG_DEBUG(mdt);
271 
272  mdtFragment << mdt;
273  }
274 
275  return StatusCode::SUCCESS;
276  }

◆ createRoiFragment()

StatusCode TrigL2MuonSA::MuCalStreamerTool::createRoiFragment ( const xAOD::MuonRoI roi,
TrigL2MuonSA::TrackPattern trackPattern,
TrigL2MuonSA::MdtHits mdtHits,
TrigL2MuonSA::RpcHits rpcHits,
TrigL2MuonSA::TgcHits tgcHits,
bool  doDataScouting,
bool &  updateTriggerElement,
const EventContext &  ctx 
) const

Definition at line 111 of file MuCalStreamerTool.cxx.

119  {
120 
121  // create the fragment
122  // ( dummy input for now )
123 
124  ATH_MSG_DEBUG("Data scouting is set to"<<doDataScouting);
125 
126  // skip the event if it's a noise burst
127  unsigned int totalHits = mdtHits.size()+rpcHits.size()+tgcHits.size();
128  if ( totalHits > 500 ) {
129  ATH_MSG_DEBUG("Too many hits: skip the RoI");
130  updateTriggerElement=false;
131  return StatusCode::SUCCESS;
132  }
133 
134  // init roi pointer
135  if ( !inputroi ) {
136  ATH_MSG_ERROR("Roi not initialized");
137  return StatusCode::FAILURE;
138  }
139 
140  // pointer to the muon roi
141  const xAOD::MuonRoI* roi {inputroi};
142 
143 
144  // retrieve the event and trigger info
146  uint32_t runId = ctx.eventID().run_number();
147  uint32_t lvl1Id = eventInfo->extendedLevel1ID();
148 
149 
150  // get track parameters
151  float eta = (float) track.etaVtx;
152  float phi = (float) track.phiVtx;
153  float pt = (float) track.pt;
154 
155  uint32_t mrods[4] = {0, 0, 0, 0};
156  // prepare the header information
157  std::vector<uint32_t> robIdList_MDT;
158  double etaMin = roi->eta()-0.05;
159  double etaMax = roi->eta()+0.05;
160  double phi_roi = roi->phi();
161  double phiMin = roi->phi()-0.05;
162  double phiMax = roi->phi()+0.05;
163  if( phi_roi < 0 ) phi_roi += 2*M_PI;
164  if( phiMin < 0 ) phiMin += 2*M_PI;
165  if( phiMax < 0 ) phiMax += 2*M_PI;
166 
167  TrigRoiDescriptor roiDescr( roi->eta(), etaMin, etaMax, phi_roi, phiMin, phiMax );
168 
169  const IRoiDescriptor* iroi = (IRoiDescriptor*) &roiDescr;
170  m_regSel_MDT->ROBIDList(*iroi,robIdList_MDT);
171 
172  // dump the list of robs for debugging
173  ATH_MSG_DEBUG("Size of the MDT rob list: " << robIdList_MDT.size());
174  int isize = robIdList_MDT.size()<5 ? robIdList_MDT.size() : 4;
175  for (int ii = 0 ; ii<isize ; ++ii ) {
176  ATH_MSG_DEBUG("robId: 0x" << std::hex << robIdList_MDT.at(ii) << std::dec);
177  mrods[ii] = robIdList_MDT.at(ii);
178  }
179 
180  // get the list of TGC robs
181  std::vector<uint32_t> robIdList_TGC;
182  m_regSel_TGC->ROBIDList(*iroi,robIdList_TGC);
183  ATH_MSG_DEBUG("Size of the TGC rob list: " << robIdList_TGC.size());
184 
185 
186  LVL2_MUON_CALIBRATION::CalibEvent event(1,runId,lvl1Id,1,1,mrods,name().c_str(),eta,phi,pt);
187  LVL2_MUON_CALIBRATION::MdtCalibFragment mdtFragment;
188 
189  // create the MDT fragment
190  if ( mdtHits.size()>0 ) {
191  ATH_CHECK( createMdtFragment(mdtHits,mdtFragment,phi) );
192 
193  // add the mdt fragment to the event
194  event << mdtFragment;
195  }
196  else{
197  // do not write the calib stream
198  return StatusCode::SUCCESS;
199  }
200 
201  // create the RPC fragment
202  if ( rpcHits.size() > 0 ) {
203  LVL2_MUON_CALIBRATION::RpcCalibFragment rpcFragment;
204 
205  if ( createRpcFragment(roi, rpcFragment, ctx) != StatusCode::SUCCESS ) {
206  ATH_MSG_WARNING("Could not create the Rpc fragment of the calibration stream");
207  }
208  else {
209  ATH_MSG_DEBUG("Adding the RPC fragment to the calibration stream");
210  event << rpcFragment;
211  }
212  }
213 
214  if ( tgcHits.size() > 0 ) {
215  LVL2_MUON_CALIBRATION::TgcCalibFragment tgcFragment;
216 
217  if ( createTgcFragment(robIdList_TGC,tgcFragment) != StatusCode::SUCCESS ) {
218  ATH_MSG_ERROR("Could not create the Tgc fragment of the calibration stream");
219  }
220  else {
221  ATH_MSG_DEBUG("Adding the TGC fragment to the calibration stream");
222  event << tgcFragment;
223  }
224  }
225 
226 
227 
228  ATH_MSG_DEBUG("Dumping the event stream");
230  if (m_circ)
231  {
233  }
234 
235  return StatusCode::SUCCESS;
236  }

◆ createRpcFragment()

StatusCode TrigL2MuonSA::MuCalStreamerTool::createRpcFragment ( const xAOD::MuonRoI roi,
LVL2_MUON_CALIBRATION::RpcCalibFragment &  rpcFragment,
const EventContext &  ctx 
) const
private

Definition at line 283 of file MuCalStreamerTool.cxx.

285 {
286 
287  // exit if it's not in the barrel
288  //if ( roi->sysID() != 0 ) return StatusCode::SUCCESS;
289  if ( roi->getSource() != 0 ) return StatusCode::SUCCESS;
290 
291  // retrieve the padId from the RecMuonRoi
292 
293  // decode roIWord
294  unsigned int side = roi->getHemisphere()==xAOD::MuonRoI::Hemisphere::Positive ? 1 : 0;
295  unsigned int sector = roi->getSectorID();
296  unsigned int roiNumber = roi->getRoI();
297 
298  // retrieve the pad container
300  const RpcPadContainer* rpcPadContainer=rh_rpcPad.cptr();
301 
303  const RpcCablingCondData* readCdo{*readHandle};
304  unsigned int padIdHash;
305  if (readCdo->give_PAD_address( side, sector, roiNumber, padIdHash)) {
306 
307  auto itPad = rpcPadContainer->indexFindPtr(padIdHash);
308  if( itPad==nullptr ) {
309  ATH_MSG_WARNING("Failed to retrieve PAD hash Id " << padIdHash);
310  return StatusCode::FAILURE;
311  }
312  const RpcPad* rpcPad = itPad;
313 
314  uint16_t sector = rpcPad->sector();
315  uint16_t sysId = (sector<32)? 0x66 : 0x65;
316  uint16_t secId = sector%32;
317  uint16_t padId = rpcPad->onlineId();
318  uint16_t status = rpcPad->status();
319  uint16_t error = rpcPad->errorCode();
320 
321  LVL2_MUON_CALIBRATION::RpcCalibFragment frag(sysId,secId,padId,status,error);
322  rpcFragment = frag;
323  RpcPad::const_iterator it3 = rpcPad->begin();
324  for (; it3!=rpcPad->end() ; ++it3) {
325  const RpcCoinMatrix * cma = (*it3);
326 
327  uint16_t cmaId = cma->onlineId();
328  uint16_t fel1Id = cma->fel1Id();
329  uint16_t febcId = cma->febcId();
330  uint16_t crc = cma->crc();
331 
332  LVL2_MUON_CALIBRATION::RpcCalibData matrix(cmaId,fel1Id,febcId,crc);
333 
334  //for each cma for over fired channels
335  RpcCoinMatrix::const_iterator it5 = (*it3)->begin();
336  for (; it5 != (*it3)->end() ; ++it5) {
337  const RpcFiredChannel * fChannel = (*it5);
338 
339  uint16_t bcid = fChannel->bcid();
340  uint16_t time = fChannel->time();
341  uint16_t ijk = fChannel->ijk();
342  uint16_t channel = fChannel->channel();
343  uint16_t ovl = fChannel->ovl();
344  uint16_t thr = fChannel->thr();
345 
346  if(ijk!=7) matrix.getHit(bcid,time,ijk,channel);
347  else matrix.getHit(bcid,time,ijk,ovl,thr);
348 
349  } // loop on the matrix hits
350 
351  rpcFragment << matrix;
352  } // loop on the pad matrices
353 
354  }
355  else {
356  ATH_MSG_WARNING("Can't get the pad address from the RpcCablingCondData");
357  return StatusCode::FAILURE;
358  }
359 
360  return StatusCode::SUCCESS;
361 }

◆ createTgcFragment()

StatusCode TrigL2MuonSA::MuCalStreamerTool::createTgcFragment ( std::vector< uint32_t > &  tgcRobIdList,
LVL2_MUON_CALIBRATION::TgcCalibFragment &  tgcFragment 
) const
private

Definition at line 368 of file MuCalStreamerTool.cxx.

370 {
371 
372 
373  if ( robIdList_TGC.size()<1 ) {
374  ATH_MSG_DEBUG("No TGC Rob found");
375  return StatusCode::SUCCESS;
376  }
377 
378  // system Id = 1 should correspond to the endcap
379  uint16_t systemId = 1;
380  // this is the subdetector Id
381  uint16_t subSystemId = ( (robIdList_TGC.at(0) & 0xff0000) >> 16 );
382  uint16_t rdoId = ( robIdList_TGC.at(0) & 0xff );
383 
384  uint16_t roiNumber = 0;
385 
386  tgcFragment = LVL2_MUON_CALIBRATION::TgcCalibFragment(systemId,subSystemId,rdoId,roiNumber);
387 
388  // retrieve the tgcrdo container
390  if (!rdoRH.isValid()) {
391  ATH_MSG_ERROR( "No TGC RDO container found!" );
392  return StatusCode::FAILURE;
393  }
394  const TgcRdoContainer* tgcRdoContainer = rdoRH.cptr();
395 
396  // now get the list of ROB Ids and from the the subdetector ID ( that corresponds to the
397  // subsystem ID
398 
399 
400  LVL2_MUON_CALIBRATION::TgcCalibData tgc_payload;
401  TgcRdoContainer::const_iterator it = tgcRdoContainer->begin();
402 
403  for ( ; it != tgcRdoContainer->end() ; ++it ) {
404 
405  ATH_MSG_DEBUG("Adding the hits from a new TGC chamber");
406 
407  // loop on the element of the TGC RDO
408  ATH_MSG_DEBUG("Number of hits: " << (*it)->size());
409 
410  TgcRdo::const_iterator itRaw = (*it)->begin();
411  for ( ; itRaw != (*it)->end() ; ++itRaw ) {
412 
413  const TgcRawData* raw = (*itRaw);
414  LVL2_MUON_CALIBRATION::TGC_BYTESTREAM_READOUTHIT roh;
415  LVL2_MUON_CALIBRATION::TGC_BYTESTREAM_READOUTTRIPLETSTRIP tps;
416  LVL2_MUON_CALIBRATION::TGC_BYTESTREAM_READOUTTRACKLET rot;
417  LVL2_MUON_CALIBRATION::TGC_BYTESTREAM_HIPT hpt;
418  LVL2_MUON_CALIBRATION::TGC_BYTESTREAM_SL sl;
419 
420 
421  switch (raw->type()) {
423  {
424  roh.channel = raw->channel()-40;
425  roh.sbId = raw->slbId();
426  roh.sbType = raw->slbType();
427  roh.adj = raw->isAdjacent();
428  roh.ldbId = raw->sswId();
429  roh.bcBitmap = bcBitmap(raw->bcTag());
430  roh.tracklet = raw->tracklet();
431  roh.ok = 1;
432 
433  }
434  break;
437  {
438  tps.phi = raw->position();
439  tps.seg = raw->segment();
440  tps.sbId = raw->slbId();
441  tps.ldbId = raw->sswId();
442  tps.bcBitmap = bcBitmap(raw->bcTag());
444  tps.ok = 1;
445  }
446  else
447  {
448  rot.rphi = raw->position();
449  rot.subm = raw->subMatrix();
450  rot.seg = raw->segment();
451  rot.delta = raw->delta();
452  rot.sbId = raw->slbId();
453  rot.ldbId = raw->sswId();
454  rot.bcBitmap = bcBitmap(raw->bcTag());
455  rot.slbType = raw->slbType();
457  rot.slbType = 4;
458  rot.ok = 1;
459  }
460  break;
462  {
463  hpt.delta = raw->delta();
464  hpt.hitId = raw->hitId();
465  hpt.hipt = raw->isHipt();
466  hpt.cand = raw->index();
467  hpt.chip = raw->chip();
468  hpt.sector = raw->sector();
469  hpt.fwd = raw->isForward();
470  hpt.strip = raw->isStrip();
471  hpt.bcBitmap = bcBitmap(raw->bcTag());
472  }
473  break;
474  case TgcRawData::TYPE_SL:
475  {
476  sl.roi = raw->roi();
477  sl.overlap = raw->isOverlap();
478  sl.threshold = raw->threshold();
479  sl.sign = raw->isMuplus();
480  sl.cand = raw->index();
481  sl.sector = raw->sector();
482  sl.fwd = raw->isForward();
483  sl.bcBitmap = bcBitmap(raw->bcTag());
484  sl.cand2plus = raw->cand3plus();
485  }
486  break;
487  default:
488  {
489  ATH_MSG_ERROR("Invalid TgcRawData type: " << raw->type());
490  return StatusCode::FAILURE;
491  }
492  }
493 
494  tgc_payload.getHit(roh,tps,rot,hpt,sl);
495 
496  }
497  }
498 
499  tgcFragment << tgc_payload;
500 
501  return StatusCode::SUCCESS;
502 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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; }

◆ 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

◆ getLocalBuffer()

std::vector<int>* TrigL2MuonSA::MuCalStreamerTool::getLocalBuffer ( )
inline

Definition at line 70 of file MuCalStreamerTool.h.

70 {return &m_localBuffer;}

◆ getLocalBufferSize()

int TrigL2MuonSA::MuCalStreamerTool::getLocalBufferSize ( ) const
inline

Definition at line 71 of file MuCalStreamerTool.h.

71 {return m_localBuffer.size();}

◆ initialize()

StatusCode TrigL2MuonSA::MuCalStreamerTool::initialize ( )
overridevirtual

Definition at line 30 of file MuCalStreamerTool.cxx.

31 {
32  // locate the region selector
33  ATH_CHECK( m_regSel_MDT.retrieve() );
34  ATH_CHECK( m_regSel_TGC.retrieve() );
35 
36 
37  m_localBuffer.clear();
38 
40 
45 
46  return StatusCode::SUCCESS;
47 
48 }

◆ 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.

◆ instanceName()

std::string TrigL2MuonSA::MuCalStreamerTool::instanceName ( ) const
inline

Definition at line 64 of file MuCalStreamerTool.h.

64 {return m_algInstanceName;}

◆ isStreamOpen()

bool TrigL2MuonSA::MuCalStreamerTool::isStreamOpen ( )

Definition at line 105 of file MuCalStreamerTool.cxx.

105 {return m_circ!=nullptr;}

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::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< AlgTool >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

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

◆ openStream()

StatusCode TrigL2MuonSA::MuCalStreamerTool::openStream ( int  calBufferSize)

Definition at line 54 of file MuCalStreamerTool.cxx.

55 {
56 
57  std::string name = m_calBufferName;
58  name += "_"+m_algInstanceName;
59 
60  if ( m_circ == nullptr ) {
61  try
62  {
63  m_circ = new TrigL2MuonSA::MuCalCircClient (0, name, calBufferSize);
64  }
65 
67  {
68  ATH_MSG_WARNING("Could not open muon calibration buffer: name="
69  << name << " buffer size=" << calBufferSize);
70  }
71 
72  ATH_MSG_INFO("Opening muon calibration stream. Buffer name: "
73  << name << " buffer size: " << calBufferSize);
74  }
75 
76  return StatusCode::SUCCESS;
77 }

◆ 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();
383  PBASE::renounce (h);
384  }

◆ 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  {
365  handlesArray.renounce();
366  }

◆ setBufferName()

void TrigL2MuonSA::MuCalStreamerTool::setBufferName ( const std::string &  buffName)
inline

Definition at line 68 of file MuCalStreamerTool.h.

68 {m_calBufferName=buffName;}

◆ setInstanceName()

void TrigL2MuonSA::MuCalStreamerTool::setInstanceName ( const std::string &  name)
inline

Definition at line 65 of file MuCalStreamerTool.h.

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

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

Member Data Documentation

◆ m_algInstanceName

std::string TrigL2MuonSA::MuCalStreamerTool::m_algInstanceName
private

Definition at line 105 of file MuCalStreamerTool.h.

◆ m_calBufferName

std::string TrigL2MuonSA::MuCalStreamerTool::m_calBufferName
private

Definition at line 104 of file MuCalStreamerTool.h.

◆ m_circ

TrigL2MuonSA::MuCalCircClient* TrigL2MuonSA::MuCalStreamerTool::m_circ = nullptr
private

Definition at line 144 of file MuCalStreamerTool.h.

◆ 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_eventInfoKey

SG::ReadHandleKey<xAOD::EventInfo> TrigL2MuonSA::MuCalStreamerTool::m_eventInfoKey { this, "EventInfoKey", "EventInfo", "" }
private

Definition at line 99 of file MuCalStreamerTool.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_localBuffer

std::vector<int> TrigL2MuonSA::MuCalStreamerTool::m_localBuffer
private

Definition at line 125 of file MuCalStreamerTool.h.

◆ m_localBufferSize

int TrigL2MuonSA::MuCalStreamerTool::m_localBufferSize = 0
private

Definition at line 124 of file MuCalStreamerTool.h.

◆ m_outputFile

std::ofstream TrigL2MuonSA::MuCalStreamerTool::m_outputFile
private

Definition at line 108 of file MuCalStreamerTool.h.

◆ m_readKey

SG::ReadCondHandleKey<RpcCablingCondData> TrigL2MuonSA::MuCalStreamerTool::m_readKey {this, "ReadKey", "RpcCablingCondData", "Key of RpcCablingCondData"}
private

Definition at line 119 of file MuCalStreamerTool.h.

◆ m_regSel_MDT

ToolHandle<IRegSelTool> TrigL2MuonSA::MuCalStreamerTool::m_regSel_MDT {this, "RegSel_MDT", "RegSelTool/RegSelTool_MDT", "MDT Region Selector Tool"}
private

Definition at line 114 of file MuCalStreamerTool.h.

◆ m_regSel_TGC

ToolHandle<IRegSelTool> TrigL2MuonSA::MuCalStreamerTool::m_regSel_TGC {this, "RegSel_TGC", "RegSelTool/RegSelTool_TGC", "TGC Region Selector Tool"}
private

Definition at line 115 of file MuCalStreamerTool.h.

◆ m_rpcPadKey

SG::ReadHandleKey<RpcPadContainer> TrigL2MuonSA::MuCalStreamerTool::m_rpcPadKey {this, "RpcPadContainerKey", "RPCPAD", "RpcPad container fro MuCalStreamerTool"}
private

Definition at line 100 of file MuCalStreamerTool.h.

◆ m_tgcRdoKey

SG::ReadHandleKey<TgcRdoContainer> TrigL2MuonSA::MuCalStreamerTool::m_tgcRdoKey {this, "TgcRdoContainer", "TGCRDO", "Tgc RDO Input"}
private

Definition at line 98 of file MuCalStreamerTool.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.

◆ m_writeToFile

Gaudi::Property< bool > TrigL2MuonSA::MuCalStreamerTool::m_writeToFile { this, "WriteToFile", false, "" }
private

Definition at line 97 of file MuCalStreamerTool.h.


The documentation for this class was generated from the following files:
RpcFiredChannel::ijk
ubit16 ijk() const
Definition: RpcFiredChannel.h:56
RpcFiredChannel::time
ubit16 time() const
Definition: RpcFiredChannel.h:54
Muon::nsw::STGTPSegments::moduleIDBits::stationPhi
constexpr uint8_t stationPhi
station Phi 1 to 8
Definition: NSWSTGTPDecodeBitmaps.h:129
TrigL2MuonSA::MuCalCircClient
Definition: MuCalCircClient.h:28
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
RpcFiredChannel::ovl
ubit16 ovl() const
Definition: RpcFiredChannel.h:61
RpcFiredChannel::thr
ubit16 thr() const
Definition: RpcFiredChannel.h:65
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
RpcCoinMatrix::crc
ubit16 crc() const
Definition: RpcCoinMatrix.h:69
TgcRawData::cand3plus
bool cand3plus() const
Definition: TgcRawData.h:357
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
ID
std::vector< Identifier > ID
Definition: CalibHitIDCheck.h:24
TgcRawData::isMuplus
bool isMuplus() const
Definition: TgcRawData.h:361
RpcFiredChannel::channel
ubit16 channel() const
Definition: RpcFiredChannel.h:58
TgcRawData::TYPE_HIT
@ TYPE_HIT
Definition: TgcRawData.h:43
dumpTgcDigiDeadChambers.stationName
dictionary stationName
Definition: dumpTgcDigiDeadChambers.py:30
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
TgcRawData::delta
int16_t delta() const
Definition: TgcRawData.h:317
TrigL2MuonSA::MuCalStreamerTool::createRpcFragment
StatusCode createRpcFragment(const xAOD::MuonRoI *roi, LVL2_MUON_CALIBRATION::RpcCalibFragment &rpcFragment, const EventContext &ctx) const
Definition: MuCalStreamerTool.cxx:283
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
skel.it
it
Definition: skel.GENtoEVGEN.py:423
xAOD::MuonRoI_v1::getHemisphere
Hemisphere getHemisphere() const
Returns the hemisphere that detected the muon candidate.
test_pyathena.pt
pt
Definition: test_pyathena.py:11
M_PI
#define M_PI
Definition: ActiveFraction.h:11
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
xAOD::MuonRoI_v1::eta
float eta() const
The pseudorapidity ( ) of the muon candidate.
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
xAOD::etaMax
etaMax
Definition: HIEventShape_v2.cxx:46
RpcPad::status
ubit16 status() const
Definition: RpcPad.h:105
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
TgcRawData::isHipt
bool isHipt() const
Definition: TgcRawData.h:341
RpcCoinMatrix
Definition: RpcCoinMatrix.h:20
RpcFiredChannel
Definition: RpcFiredChannel.h:20
RpcCablingCondData
Definition: RpcCablingCondData.h:21
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
TRT::Hit::side
@ side
Definition: HitInfo.h:83
TgcRawData::subMatrix
uint16_t subMatrix() const
Definition: TgcRawData.h:329
TrigL2MuonSA::MuCalStreamerTool::m_circ
TrigL2MuonSA::MuCalCircClient * m_circ
Definition: MuCalStreamerTool.h:144
TrigL2MuonSA::MuCalCircClient::dumpToCirc
bool dumpToCirc(LVL2_MUON_CALIBRATION::CalibEvent &event) const
Definition: MuCalCircClient.cxx:38
TrigL2MuonSA::MuCalStreamerTool::createTgcFragment
StatusCode createTgcFragment(std::vector< uint32_t > &tgcRobIdList, LVL2_MUON_CALIBRATION::TgcCalibFragment &tgcFragment) const
Definition: MuCalStreamerTool.cxx:368
RpcPad::errorCode
ubit16 errorCode() const
Definition: RpcPad.h:106
TgcRawData::isForward
bool isForward() const
Definition: TgcRawData.h:289
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
TrigL2MuonSA::MuCalStreamerTool::m_calBufferName
std::string m_calBufferName
Definition: MuCalStreamerTool.h:104
TgcRdoContainer
Definition: TgcRdoContainer.h:25
TrigL2MuonSA::MuCalStreamerTool::m_tgcRdoKey
SG::ReadHandleKey< TgcRdoContainer > m_tgcRdoKey
Definition: MuCalStreamerTool.h:98
IRoiDescriptor
Describes the API of the Region of Ineterest geometry.
Definition: IRoiDescriptor.h:23
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
TgcRawData::tracklet
uint16_t tracklet() const
Definition: TgcRawData.h:301
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
xAOD::MuonRoI_v1
Class describing a LVL1 muon region of interest.
Definition: MuonRoI_v1.h:33
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TgcRawData::TYPE_SL
@ TYPE_SL
Definition: TgcRawData.h:46
CaloCondBlobAlgs_fillNoiseFromASCII.systemId
systemId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:108
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
IdentifiableContainerMT::end
const_iterator end() const
return const_iterator for end of container
Definition: IdentifiableContainerMT.h:242
TrigL2MuonSA::MuCalStreamerTool::m_readKey
SG::ReadCondHandleKey< RpcCablingCondData > m_readKey
Definition: MuCalStreamerTool.h:119
TgcRawData::sector
uint16_t sector() const
Definition: TgcRawData.h:333
RpcCoinMatrix::onlineId
ubit16 onlineId() const
Definition: RpcCoinMatrix.h:67
IdentifiableContainerMT::const_iterator
Definition: IdentifiableContainerMT.h:82
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
IdentifiableContainerMT::begin
const_iterator begin() const
return const_iterator for first entry
Definition: IdentifiableContainerMT.h:236
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
TgcRawData::sswId
uint16_t sswId() const
Definition: TgcRawData.h:272
xAOD::MuonRoI_v1::getRoI
int getRoI() const
Get the "RoI number" (position inside the sector)
TgcRawData::isStrip
bool isStrip() const
Definition: TgcRawData.h:353
RpcPad::onlineId
ubit16 onlineId() const
Definition: RpcPad.h:107
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
bcBitmap
unsigned bcBitmap(uint16_t bcTag)
Definition: TgcByteStreamData.h:359
TgcRawData::position
uint16_t position() const
Definition: TgcRawData.h:313
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
TgcRawData::hitId
uint16_t hitId() const
Definition: TgcRawData.h:345
TrigL2MuonSA::MuCalStreamerTool::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: MuCalStreamerTool.h:99
TgcRawData::threshold
uint16_t threshold() const
Definition: TgcRawData.h:365
Positive
@ Positive
Definition: RPCdef.h:9
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
TgcRawData::segment
uint16_t segment() const
Definition: TgcRawData.h:325
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
TgcRawData::chip
uint16_t chip() const
Definition: TgcRawData.h:337
TgcRawData::roi
uint16_t roi() const
Definition: TgcRawData.h:377
TgcRawData::isAdjacent
bool isAdjacent() const
Definition: TgcRawData.h:305
xAOD::roiNumber
setTeId setLumiBlock setRoiId setRoiSubsystem roiNumber
Definition: L2StandAloneMuon_v1.cxx:339
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
RpcPad
Definition: RpcPad.h:21
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
IdentifiableContainerMT::indexFindPtr
virtual const T * indexFindPtr(IdentifierHash hashId) const override final
return pointer on the found entry or null if out of range using hashed index - fast version,...
Definition: IdentifiableContainerMT.h:292
TgcRawData::bcTag
uint16_t bcTag() const
Definition: TgcRawData.h:251
RpcFiredChannel::bcid
ubit16 bcid() const
Definition: RpcFiredChannel.h:52
python.testIfMatch.matrix
matrix
Definition: testIfMatch.py:66
TgcRawData::slbId
uint16_t slbId() const
Definition: TgcRawData.h:276
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
TgcRawData::index
uint16_t index() const
Definition: TgcRawData.h:309
a
TList * a
Definition: liststreamerinfos.cxx:10
TgcRawData::channel
uint16_t channel() const
Definition: TgcRawData.h:297
LArCellBinning.etaMin
etaMin
Definition: LArCellBinning.py:84
RpcCoinMatrix::fel1Id
ubit16 fel1Id() const
Definition: RpcCoinMatrix.h:71
h
TrigL2MuonSA::MuCalStreamerTool::m_regSel_MDT
ToolHandle< IRegSelTool > m_regSel_MDT
Definition: MuCalStreamerTool.h:114
RpcPad::sector
int sector() const
Definition: RpcPad.h:112
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
TgcRawData::TYPE_HIPT
@ TYPE_HIPT
Definition: TgcRawData.h:45
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TgcRawData
An unit object of TGC ROD output.
Definition: TgcRawData.h:23
TgcRawData::isOverlap
bool isOverlap() const
Definition: TgcRawData.h:369
TgcRawData::slbType
SlbType slbType() const
Definition: TgcRawData.h:285
TgcRawData::SLB_TYPE_INNER_STRIP
@ SLB_TYPE_INNER_STRIP
Definition: TgcRawData.h:37
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
TgcRawData::type
DataType type() const
Definition: TgcRawData.h:280
RpcCoinMatrix::febcId
ubit16 febcId() const
Definition: RpcCoinMatrix.h:73
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
TauGNNUtils::Variables::Track::trackPhi
bool trackPhi(const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
Definition: TauGNNUtils.cxx:480
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
merge.status
status
Definition: merge.py:17
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
xAOD::MuonRoI_v1::getSectorID
int getSectorID() const
Get the sector ID number.
Muon::nsw::STGTPSegments::moduleIDBits::stationEta
constexpr uint8_t stationEta
1 to 3
Definition: NSWSTGTPDecodeBitmaps.h:127
TgcRawData::TYPE_TRACKLET
@ TYPE_TRACKLET
Definition: TgcRawData.h:44
error
Definition: IImpactPoint3dEstimator.h:70
TrigL2MuonSA::MuCalStreamerTool::m_localBufferSize
int m_localBufferSize
Definition: MuCalStreamerTool.h:124
TrigL2MuonSA::MuCalStreamerTool::m_algInstanceName
std::string m_algInstanceName
Definition: MuCalStreamerTool.h:105
TgcRawData::SLB_TYPE_TRIPLET_STRIP
@ SLB_TYPE_TRIPLET_STRIP
Definition: TgcRawData.h:35
xAOD::MuonRoI_v1::getSource
RoISource getSource() const
Returns the system that detected the muon candidate.
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
readCCLHist.float
float
Definition: readCCLHist.py:83
TrigL2MuonSA::MuCalStreamerTool::m_regSel_TGC
ToolHandle< IRegSelTool > m_regSel_TGC
Definition: MuCalStreamerTool.h:115
calibdata.tube
tube
Definition: calibdata.py:31
TrigL2MuonSA::MuCalStreamerTool::m_rpcPadKey
SG::ReadHandleKey< RpcPadContainer > m_rpcPadKey
Definition: MuCalStreamerTool.h:100
TrigL2MuonSA::Circexception
Definition: MuCalCircClient.h:20
CaloTime_fillDB.runId
runId
Definition: CaloTime_fillDB.py:347
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
fitman.k
k
Definition: fitman.py:528
TrigL2MuonSA::MuCalStreamerTool::m_localBuffer
std::vector< int > m_localBuffer
Definition: MuCalStreamerTool.h:125
TrigL2MuonSA::MuCalStreamerTool::createMdtFragment
StatusCode createMdtFragment(TrigL2MuonSA::MdtHits &mdtHits, LVL2_MUON_CALIBRATION::MdtCalibFragment &mdtFragment, float phi) const
Definition: MuCalStreamerTool.cxx:241
RpcPadContainer
Use IdentifiableContainer with RpcPad.
Definition: RpcPadContainer.h:23
xAOD::MuonRoI_v1::phi
float phi() const
The azimuthal angle ( ) of the muon candidate.