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 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:29
uint8_t getEventType() const
Definition: L1aInfo.h:32
int16_t getIndex() const
Definition: L1aInfo.h:23
uint64_t getOrbitNr() const
Definition: L1aInfo.h:26