CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
BeamConfiguration Class Reference

#include <L1TOMDSHelper.h>

Public Member Functions

 BeamConfiguration ()
 
bool bxConfig (int iBx)
 
bool isValid ()
 

Public Attributes

std::vector< bool > beam1
 
std::vector< bool > beam2
 
bool m_valid
 
int nCollidingBunches
 

Detailed Description

Definition at line 19 of file L1TOMDSHelper.h.

Constructor & Destructor Documentation

◆ BeamConfiguration()

BeamConfiguration::BeamConfiguration ( )
inline

Definition at line 21 of file L1TOMDSHelper.h.

References m_valid, and nCollidingBunches.

21  {
22  m_valid = false;
24  }

Member Function Documentation

◆ bxConfig()

bool BeamConfiguration::bxConfig ( int  iBx)
inline

Definition at line 26 of file L1TOMDSHelper.h.

References beam1, and beam2.

Referenced by L1TSync::analyze().

26  {
27  if (beam1[iBx] && beam2[iBx]) {
28  return true;
29  } else {
30  return false;
31  }
32  }
std::vector< bool > beam2
Definition: L1TOMDSHelper.h:39
std::vector< bool > beam1
Definition: L1TOMDSHelper.h:38

◆ isValid()

bool BeamConfiguration::isValid ( void  )
inline

Member Data Documentation

◆ beam1

std::vector<bool> BeamConfiguration::beam1

Definition at line 38 of file L1TOMDSHelper.h.

Referenced by L1TSync::analyze(), bxConfig(), and L1TOMDSHelper::getBeamConfiguration().

◆ beam2

std::vector<bool> BeamConfiguration::beam2

Definition at line 39 of file L1TOMDSHelper.h.

Referenced by L1TSync::analyze(), bxConfig(), and L1TOMDSHelper::getBeamConfiguration().

◆ m_valid

bool BeamConfiguration::m_valid

◆ nCollidingBunches

int BeamConfiguration::nCollidingBunches