CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
BSTRecord Class Reference

#include <BSTRecord.h>

Public Member Functions

unsigned short const beamMode () const
 
unsigned short const beamMomentum () const
 
unsigned char const bstMaster () const
 
 BSTRecord ()
 
unsigned long long const gpstime () const
 
unsigned int const intensityBeam1 () const
 
unsigned int const intensityBeam2 () const
 
unsigned int const lhcFill () const
 
unsigned char const particleBeam1 () const
 
unsigned char const particleBeam2 () const
 
void set (unsigned long long gpstime, unsigned char bstMaster, unsigned int turnCount, unsigned int lhcFill, unsigned short beamMode, unsigned char particleBeam1, unsigned char particleBeam2, unsigned short beamMomentum, unsigned int intensityBeam1, unsigned int intensityBeam2)
 
unsigned int const turnCount () const
 

Private Attributes

unsigned short m_beamMode
 
unsigned short m_beamMomentum
 
unsigned char m_bstMaster
 
unsigned long long m_gpstime
 
unsigned int m_intensityBeam1
 
unsigned int m_intensityBeam2
 
unsigned int m_lhcFill
 
unsigned char m_particleBeam1
 
unsigned char m_particleBeam2
 
unsigned int m_turnCount
 

Detailed Description

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

Author
S. Di Guida - INFN and Marconi University

Definition at line 11 of file BSTRecord.h.

Constructor & Destructor Documentation

BSTRecord::BSTRecord ( )
inline

Definition at line 13 of file BSTRecord.h.

13  :
14  m_gpstime(0),
15  m_turnCount(0), m_lhcFill(0),
17  m_beamMode(0),
18  m_beamMomentum(0),
19  m_bstMaster(0),
unsigned int m_intensityBeam1
Definition: BSTRecord.h:61
unsigned char m_bstMaster
Definition: BSTRecord.h:64
unsigned int m_lhcFill
Definition: BSTRecord.h:60
unsigned short m_beamMomentum
Definition: BSTRecord.h:63
unsigned long long m_gpstime
Definition: BSTRecord.h:59
unsigned char m_particleBeam1
Definition: BSTRecord.h:65
unsigned char m_particleBeam2
Definition: BSTRecord.h:65
unsigned short m_beamMode
Definition: BSTRecord.h:62
unsigned int m_turnCount
Definition: BSTRecord.h:60
unsigned int m_intensityBeam2
Definition: BSTRecord.h:61

Member Function Documentation

unsigned short const BSTRecord::beamMode ( ) const
inline

Definition at line 46 of file BSTRecord.h.

References m_beamMode.

Referenced by DQMProvInfo::analyzeLhcInfo(), and set().

46 { return m_beamMode; }
unsigned short m_beamMode
Definition: BSTRecord.h:62
unsigned short const BSTRecord::beamMomentum ( ) const
inline

Definition at line 52 of file BSTRecord.h.

References m_beamMomentum.

Referenced by DQMProvInfo::analyzeLhcInfo(), and set().

52 { return m_beamMomentum; }
unsigned short m_beamMomentum
Definition: BSTRecord.h:63
unsigned char const BSTRecord::bstMaster ( ) const
inline

Definition at line 40 of file BSTRecord.h.

References m_bstMaster.

Referenced by set().

40 { return m_bstMaster; }
unsigned char m_bstMaster
Definition: BSTRecord.h:64
unsigned long long const BSTRecord::gpstime ( ) const
inline

Definition at line 38 of file BSTRecord.h.

References m_gpstime.

Referenced by set().

38 { return m_gpstime; }
unsigned long long m_gpstime
Definition: BSTRecord.h:59
unsigned int const BSTRecord::intensityBeam1 ( ) const
inline

Definition at line 54 of file BSTRecord.h.

References m_intensityBeam1.

Referenced by DQMProvInfo::analyzeLhcInfo(), and set().

54 { return m_intensityBeam1; }
unsigned int m_intensityBeam1
Definition: BSTRecord.h:61
unsigned int const BSTRecord::intensityBeam2 ( ) const
inline

Definition at line 56 of file BSTRecord.h.

References m_intensityBeam2.

Referenced by DQMProvInfo::analyzeLhcInfo(), and set().

56 { return m_intensityBeam2; }
unsigned int m_intensityBeam2
Definition: BSTRecord.h:61
unsigned int const BSTRecord::lhcFill ( ) const
inline

Definition at line 44 of file BSTRecord.h.

References m_lhcFill.

Referenced by DQMProvInfo::analyzeLhcInfo(), and set().

44 { return m_lhcFill; }
unsigned int m_lhcFill
Definition: BSTRecord.h:60
unsigned char const BSTRecord::particleBeam1 ( ) const
inline

Definition at line 48 of file BSTRecord.h.

References m_particleBeam1.

Referenced by set().

48 { return m_particleBeam1; }
unsigned char m_particleBeam1
Definition: BSTRecord.h:65
unsigned char const BSTRecord::particleBeam2 ( ) const
inline

Definition at line 50 of file BSTRecord.h.

References m_particleBeam2.

Referenced by set().

50 { return m_particleBeam2; }
unsigned char m_particleBeam2
Definition: BSTRecord.h:65
void BSTRecord::set ( unsigned long long  gpstime,
unsigned char  bstMaster,
unsigned int  turnCount,
unsigned int  lhcFill,
unsigned short  beamMode,
unsigned char  particleBeam1,
unsigned char  particleBeam2,
unsigned short  beamMomentum,
unsigned int  intensityBeam1,
unsigned int  intensityBeam2 
)
inline

Definition at line 22 of file BSTRecord.h.

References beamMode(), beamMomentum(), bstMaster(), gpstime(), intensityBeam1(), intensityBeam2(), lhcFill(), m_beamMode, m_beamMomentum, m_bstMaster, m_gpstime, m_intensityBeam1, m_intensityBeam2, m_lhcFill, m_particleBeam1, m_particleBeam2, m_turnCount, particleBeam1(), particleBeam2(), and turnCount().

Referenced by TcdsRawToDigi::produce().

25  {
36  }
unsigned int m_intensityBeam1
Definition: BSTRecord.h:61
unsigned char m_bstMaster
Definition: BSTRecord.h:64
unsigned int m_lhcFill
Definition: BSTRecord.h:60
unsigned int const intensityBeam2() const
Definition: BSTRecord.h:56
unsigned short const beamMomentum() const
Definition: BSTRecord.h:52
unsigned char const particleBeam2() const
Definition: BSTRecord.h:50
unsigned short m_beamMomentum
Definition: BSTRecord.h:63
unsigned long long const gpstime() const
Definition: BSTRecord.h:38
unsigned long long m_gpstime
Definition: BSTRecord.h:59
unsigned char const bstMaster() const
Definition: BSTRecord.h:40
unsigned char m_particleBeam1
Definition: BSTRecord.h:65
unsigned char m_particleBeam2
Definition: BSTRecord.h:65
unsigned int const lhcFill() const
Definition: BSTRecord.h:44
unsigned short const beamMode() const
Definition: BSTRecord.h:46
unsigned short m_beamMode
Definition: BSTRecord.h:62
unsigned int const intensityBeam1() const
Definition: BSTRecord.h:54
unsigned int m_turnCount
Definition: BSTRecord.h:60
unsigned char const particleBeam1() const
Definition: BSTRecord.h:48
unsigned int const turnCount() const
Definition: BSTRecord.h:42
unsigned int m_intensityBeam2
Definition: BSTRecord.h:61
unsigned int const BSTRecord::turnCount ( ) const
inline

Definition at line 42 of file BSTRecord.h.

References m_turnCount.

Referenced by set().

42 { return m_turnCount; }
unsigned int m_turnCount
Definition: BSTRecord.h:60

Member Data Documentation

unsigned short BSTRecord::m_beamMode
private

Definition at line 62 of file BSTRecord.h.

Referenced by beamMode(), and set().

unsigned short BSTRecord::m_beamMomentum
private

Definition at line 63 of file BSTRecord.h.

Referenced by beamMomentum(), and set().

unsigned char BSTRecord::m_bstMaster
private

Definition at line 64 of file BSTRecord.h.

Referenced by bstMaster(), and set().

unsigned long long BSTRecord::m_gpstime
private

Definition at line 59 of file BSTRecord.h.

Referenced by gpstime(), and set().

unsigned int BSTRecord::m_intensityBeam1
private

Definition at line 61 of file BSTRecord.h.

Referenced by intensityBeam1(), and set().

unsigned int BSTRecord::m_intensityBeam2
private

Definition at line 61 of file BSTRecord.h.

Referenced by intensityBeam2(), and set().

unsigned int BSTRecord::m_lhcFill
private

Definition at line 60 of file BSTRecord.h.

Referenced by lhcFill(), and set().

unsigned char BSTRecord::m_particleBeam1
private

Definition at line 65 of file BSTRecord.h.

Referenced by particleBeam1(), and set().

unsigned char BSTRecord::m_particleBeam2
private

Definition at line 65 of file BSTRecord.h.

Referenced by particleBeam2(), and set().

unsigned int BSTRecord::m_turnCount
private

Definition at line 60 of file BSTRecord.h.

Referenced by set(), and turnCount().