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

Go to the source code of this file.

Functions

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

Function Documentation

◆ dump()

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

Definition at line 304 of file TgcL1RawData.cxx.

305 {
306  sl << "TgcL1RawData " << data.typeName()
307  << ", bcTag=" << data.bcTag()
308  << ", l1Id=" << data.l1Id()
309  << ", bcId=" << data.bcId()
310  << ", subDetectorId=" << data.subDetectorId()
311  << ", srodId=" << data.srodId();
312  switch (data.type())
313  {
315  sl << ", strip=" << data.isStrip()
316  << ", forward=" << data.isForward()
317  << ", sector=" << data.sector()
318  << ", chip=" << data.chip()
319  << ", cand=" << data.index()
320  << ", hipt=" << data.isHipt()
321  << ", hitId=" << data.hitId()
322  << ", hsub=" << data.hsub()
323  << ", delta=" << data.delta()
324  << ", inner=" << data.inner();
325  break;
327  sl
328  << ", forward=" << data.isForward()
329  << ", sector=" << data.sector()
330  << ", sign=" << data.isMuplus()
331  << ", threshold=" << data.threshold()
332  << ", overlap=" << data.isOverlap()
333  << ", veto=" << data.isVeto()
334  << ", roi=" << data.roi();
335  break;
336  default:
337  break;
338  }
339  return sl;
340 }

◆ operator<<() [1/2]

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

Overload of << operator for MsgStream for debug output.

Definition at line 342 of file TgcL1RawData.cxx.

343 {
344  return dump(sl, data);
345 }

◆ operator<<() [2/2]

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

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

Definition at line 347 of file TgcL1RawData.cxx.

348 {
349  return dump(sl, data);
350 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
TgcL1RawData::TYPE_NSL_ROI
@ TYPE_NSL_ROI
Definition: TgcL1RawData.h:40
dump
stream & dump(stream &sl, const TgcL1RawData &data)
Definition: TgcL1RawData.cxx:304
TgcL1RawData::TYPE_HIPT
@ TYPE_HIPT
Definition: TgcL1RawData.h:39