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
 

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.

23 {m_valid = false;}

Member Function Documentation

bool BeamConfiguration::bxConfig ( int  iBx)
inline

Definition at line 25 of file L1TOMDSHelper.h.

References beam1, and beam2.

25  {
26  if(beam1[iBx] && beam2[iBx]){return true;}
27  else {return false;}
28  }
std::vector< bool > beam2
Definition: L1TOMDSHelper.h:34
std::vector< bool > beam1
Definition: L1TOMDSHelper.h:33
bool BeamConfiguration::isValid ( void  )
inline

Definition at line 30 of file L1TOMDSHelper.h.

References m_valid.

30 {return m_valid;}

Member Data Documentation

std::vector<bool> BeamConfiguration::beam1

Definition at line 33 of file L1TOMDSHelper.h.

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

std::vector<bool> BeamConfiguration::beam2

Definition at line 34 of file L1TOMDSHelper.h.

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

bool BeamConfiguration::m_valid

Definition at line 32 of file L1TOMDSHelper.h.

Referenced by BeamConfiguration(), L1TOMDSHelper::getBeamConfiguration(), and isValid().