CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
L1aInfo.h File Reference
#include <cstdint>
#include <ostream>
#include "DataFormats/TCDS/interface/TCDSRaw.h"

Go to the source code of this file.

Classes

class  L1aInfo
 Class to contain L1 accept history information from TCDS FED. More...
 

Functions

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

Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const 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 }