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

◆ operator<<()

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

Pretty-print operator for L1aInfo.

Definition at line 12 of file L1aInfo.cc.

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

12  {
13  s << "Index: " << l1aInfo.getIndex() << std::endl;
14  s << " OrbitNr: " << l1aInfo.getOrbitNr() << std::endl;
15  s << " BXID: " << l1aInfo.getBXID() << std::endl;
16  s << " EventType: " << (uint16_t)l1aInfo.getEventType() << std::endl;
17 
18  return s;
19 }
uint16_t getBXID() const
Definition: L1aInfo.h:36
uint64_t getOrbitNr() const
Definition: L1aInfo.h:33
int16_t getIndex() const
Definition: L1aInfo.h:30
uint8_t getEventType() const
Definition: L1aInfo.h:39