CMS 3D CMS Logo

Functions
L1aInfo.cc File Reference
#include "DataFormats/TCDS/interface/L1aInfo.h"
#include "DataFormats/TCDS/interface/TCDSRaw.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const L1aInfo &l1aInfo)
 Pretty-print operator for L1aInfo. More...
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const L1aInfo l1aInfo 
)

Pretty-print operator for L1aInfo.

Definition at line 20 of file L1aInfo.cc.

References L1aInfo::getBXID(), L1aInfo::getEventType(), L1aInfo::getIndex(), L1aInfo::getOrbitNr(), and alignCSCRings::s.

21 {
22  s << "Index: " << l1aInfo.getIndex() << std::endl;
23  s << " OrbitNr: " << l1aInfo.getOrbitNr() << std::endl;
24  s << " BXID: " << l1aInfo.getBXID() << std::endl;
25  s << " EventType: " << (uint16_t)l1aInfo.getEventType() << std::endl;
26 
27  return s;
28 }
uint16_t getBXID() const
Definition: L1aInfo.h:33
uint8_t getEventType() const
Definition: L1aInfo.h:36
int16_t getIndex() const
Definition: L1aInfo.h:27
uint64_t getOrbitNr() const
Definition: L1aInfo.h:30