CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const BSTRecord record 
)

Pretty-print operator for BSTRecord.

Definition at line 33 of file BSTRecord.cc.

33  {
34  s << "BST record:" << std::endl;
35  s << " GpsTime: " << record.getGpsTime() << std::endl;
36  s << " BstMaster: " << (uint16_t)record.getBstMaster() << std::endl;
37  s << " TurnCount: " << record.getTurnCount() << std::endl;
38  s << " LhcFill: " << record.getLhcFill() << std::endl;
39  s << " BeamMode: " << record.getBeamMode() << std::endl;
40  s << " ParticleBeam1: " << (uint16_t)record.getParticleBeam1() << std::endl;
41  s << " ParticleBeam2: " << (uint16_t)record.getParticleBeam2() << std::endl;
42  s << " BeamMomentum: " << record.getBeamMomentum() << " GeV" << std::endl;
43  s << " IntensityBeam1: " << record.getIntensityBeam1() << " 10E10" << std::endl;
44  s << " IntensityBeam2: " << record.getIntensityBeam2() << " 10E10" << std::endl;
45 
46  return s;
47 }

References GlobalPosition_Frontier_DevDB_cff::record, and alignCSCRings::s.

GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
alignCSCRings.s
s
Definition: alignCSCRings.py:92