ATLAS Offline Software
Functions
TgcRawData.cxx File Reference
#include "MuonRDO/TgcRawData.h"
#include "GaudiKernel/MsgStream.h"
Include dependency graph for TgcRawData.cxx:

Go to the source code of this file.

Functions

template<class stream >
stream & dump (stream &sl, const TgcRawData &data)
 
MsgStream & operator<< (MsgStream &sl, const TgcRawData &data)
 Overload of << operator for MsgStream for debug output. More...
 
std::ostream & operator<< (std::ostream &sl, const TgcRawData &data)
 Overload of << operator for std::ostream for debug output. More...
 

Function Documentation

◆ dump()

template<class stream >
stream& dump ( stream &  sl,
const TgcRawData data 
)

Definition at line 417 of file TgcRawData.cxx.

418 {
419  sl << "TgcRawData " << data.typeName()
420  << ", bcTag=" << data.bcTag()
421  << ", l1Id=" << data.l1Id()
422  << ", bcId=" << data.bcId()
423  << ", subDetectorId=" << data.subDetectorId()
424  << ", rodId=" << data.rodId()
425  << ", sswId=" << data.sswId()
426  << ", slbId=" << data.slbId();
427  switch (data.type())
428  {
430  sl << ", tracklet=" << data.tracklet()
431  << ", adjacent=" << data.isAdjacent()
432  << ", slbType=" << data.slbTypeName()
433  << ", bitpos=" << data.bitpos();
434  break;
436  sl << ", slbType=" << data.slbTypeName()
437  << ", delta=" << data.delta()
438  << ", segment=" << data.segment()
439  << ", subMatrix=" << data.subMatrix()
440  << ", position=" << data.position();
441  break;
443  sl << ", strip=" << data.isStrip()
444  << ", forward=" << data.isForward()
445  << ", sector=" << data.sector()
446  << ", chip=" << data.chip()
447  << ", cand=" << data.index()
448  << ", hipt=" << data.isHipt()
449  << ", hitId=" << data.hitId()
450  << ", hsub=" << data.hsub()
451  << ", delta=" << data.delta()
452  << ", inner=" << data.inner();
453  break;
454  case TgcRawData::TYPE_SL:
455  sl << ", cand3plus=" << data.cand3plus()
456  << ", forward=" << data.isForward()
457  << ", sector=" << data.sector()
458  << ", cand=" << data.index()
459  << ", sign=" << data.isMuplus()
460  << ", threshold=" << data.threshold()
461  << ", overlap=" << data.isOverlap()
462  << ", veto=" << data.isVeto()
463  << ", roi=" << data.roi();
464  break;
466  sl << ", nsweta=" << data.nsweta()
467  << ", nswphi=" << data.nswphi()
468  << ", nswcand=" << data.nswcand()
469  << ", nswdtheta=" << data.nswdtheta()
470  << ", nswphires=" << data.nswphires()
471  << ", nswlowres=" << data.nswlowres()
472  << ", nswid=" << data.nswid()
473  << ", forward=" << data.isForward()
474  << ", sector=" << data.sector();
475  break;
477  sl << ", rpceta=" << data.rpceta()
478  << ", rpcphi=" << data.rpcphi()
479  << ", rpcflag=" << data.rpcflag()
480  << ", rpcdeta=" << data.rpcdeta()
481  << ", rpcdphi=" << data.rpcdphi()
482  << ", sector=" << data.sector();
483  break;
485  sl << ", ei=" << data.ei()
486  << ", fi=" << data.fi()
487  << ", forward=" << data.isForward()
488  << ", sector=" << data.sector();
489  break;
491  sl << ", mod=" << data.tmdbmod()
492  << ", bcid=" << data.tmdbbcid()
493  << ", sector=" << data.sector();
494  break;
495  default:
496  break;
497  }
498  return sl;
499 }

◆ operator<<() [1/2]

MsgStream& operator<< ( MsgStream &  sl,
const TgcRawData data 
)

Overload of << operator for MsgStream for debug output.

Definition at line 501 of file TgcRawData.cxx.

502 {
503  return dump(sl, data);
504 }

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  sl,
const TgcRawData data 
)

Overload of << operator for std::ostream for debug output.

Definition at line 506 of file TgcRawData.cxx.

507 {
508  return dump(sl, data);
509 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
TgcRawData::TYPE_HIT
@ TYPE_HIT
Definition: TgcRawData.h:43
TgcRawData::TYPE_INNER_EIFI
@ TYPE_INNER_EIFI
Definition: TgcRawData.h:50
TgcRawData::TYPE_INNER_TMDB
@ TYPE_INNER_TMDB
Definition: TgcRawData.h:51
dump
stream & dump(stream &sl, const TgcRawData &data)
Definition: TgcRawData.cxx:417
TgcRawData::TYPE_SL
@ TYPE_SL
Definition: TgcRawData.h:46
TgcRawData::TYPE_INNER_NSW
@ TYPE_INNER_NSW
Definition: TgcRawData.h:48
TgcRawData::TYPE_HIPT
@ TYPE_HIPT
Definition: TgcRawData.h:45
TgcRawData::TYPE_INNER_BIS
@ TYPE_INNER_BIS
Definition: TgcRawData.h:49
TgcRawData::TYPE_TRACKLET
@ TYPE_TRACKLET
Definition: TgcRawData.h:44