CMS 3D CMS Logo

Classes | Functions
BSTRecord.h File Reference
#include <ostream>
#include <cstdint>
#include "DataFormats/TCDS/interface/TCDSRaw.h"

Go to the source code of this file.

Classes

class  BSTRecord
 Class representing the Beam Synchronous Timing (BST) information included in the TCDS record. Beam parameters provided by BST are defined in: https://edms.cern.ch/document/638899/2.0. More...
 

Functions

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

Function Documentation

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

Pretty-print operator for BSTRecord.

Definition at line 33 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.

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 }
JetCorrectorParameters::Record record
Definition: classes.h:7