CMS 3D CMS Logo

Public Member Functions | Public Attributes

BeamConfiguration Class Reference

#include <L1TOMDSHelper.h>

List of all members.

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.

{m_valid = false;}

Member Function Documentation

bool BeamConfiguration::bxConfig ( int  iBx) [inline]

Definition at line 25 of file L1TOMDSHelper.h.

References beam1, and beam2.

                          {
      if(beam1[iBx] && beam2[iBx]){return true;}
      else                        {return false;}
    }
bool BeamConfiguration::isValid ( void  ) [inline]

Definition at line 30 of file L1TOMDSHelper.h.

References m_valid.

{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().

Definition at line 32 of file L1TOMDSHelper.h.

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