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

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

Pretty-print operator for BSTRecord.

Definition at line 37 of file BSTRecord.cc.

References BSTRecord::getBeamMode(), BSTRecord::getBeamMomentum(), BSTRecord::getBstMaster(), BSTRecord::getGpsTime(), BSTRecord::getIntensityBeam1(), BSTRecord::getIntensityBeam2(), BSTRecord::getLhcFill(), BSTRecord::getParticleBeam1(), BSTRecord::getParticleBeam2(), BSTRecord::getTurnCount(), and alignCSCRings::s.

38 {
39  s << "BST record:" << std::endl;
40  s << " GpsTime: " << record.getGpsTime() << std::endl;
41  s << " BstMaster: " << (uint16_t)record.getBstMaster() << std::endl;
42  s << " TurnCount: " << record.getTurnCount() << std::endl;
43  s << " LhcFill: " << record.getLhcFill() << std::endl;
44  s << " BeamMode: " << record.getBeamMode() << std::endl;
45  s << " ParticleBeam1: " << (uint16_t)record.getParticleBeam1() << std::endl;
46  s << " ParticleBeam2: " << (uint16_t)record.getParticleBeam2() << std::endl;
47  s << " BeamMomentum: " << record.getBeamMomentum() << " GeV" << std::endl;
48  s << " IntensityBeam1: " << record.getIntensityBeam1() << " 10E10" << std::endl;
49  s << " IntensityBeam2: " << record.getIntensityBeam2() << " 10E10" << std::endl;
50 
51  return s;
52 }
uint16_t const getBeamMode() const
Definition: BSTRecord.h:73
int32_t const getBeamMomentum() const
Definition: BSTRecord.h:82
uint8_t const getParticleBeam1() const
Definition: BSTRecord.h:76
uint32_t const getIntensityBeam2() const
Definition: BSTRecord.h:88
uint32_t const getTurnCount() const
Definition: BSTRecord.h:67
uint64_t const getGpsTime() const
Definition: BSTRecord.h:61
uint8_t const getParticleBeam2() const
Definition: BSTRecord.h:79
uint8_t const getBstMaster() const
Definition: BSTRecord.h:64
uint32_t const getLhcFill() const
Definition: BSTRecord.h:70
uint32_t const getIntensityBeam1() const
Definition: BSTRecord.h:85