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

◆ operator<<()

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

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 AlCaHarvesting_cff::record, and alignCSCRings::s.

alignCSCRings.s
s
Definition: alignCSCRings.py:92
AlCaHarvesting_cff.record
record
Definition: AlCaHarvesting_cff.py:42