CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ( )
inline

Definition at line 23 of file L1TOMDSHelper.h.

References m_valid, and nCollidingBunches.

23  {
24  m_valid = false;
26  }

Member Function Documentation

bool BeamConfiguration::bxConfig ( int  iBx)
inline

Definition at line 28 of file L1TOMDSHelper.h.

References beam1, and beam2.

Referenced by L1TSync::analyze().

28  {
29  if(beam1[iBx] && beam2[iBx]){return true;}
30  else {return false;}
31  }
std::vector< bool > beam2
Definition: L1TOMDSHelper.h:38
std::vector< bool > beam1
Definition: L1TOMDSHelper.h:37
bool BeamConfiguration::isValid ( void  )
inline

Definition at line 33 of file L1TOMDSHelper.h.

References m_valid.

Referenced by L1TSync::analyze(), L1TSync::endLuminosityBlock(), and core.AutoHandle.AutoHandle::ReallyLoad().

33 {return m_valid;}

Member Data Documentation

std::vector<bool> BeamConfiguration::beam1

Definition at line 37 of file L1TOMDSHelper.h.

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

std::vector<bool> BeamConfiguration::beam2

Definition at line 38 of file L1TOMDSHelper.h.

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

bool BeamConfiguration::m_valid
int BeamConfiguration::nCollidingBunches