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
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.

                       {
      m_valid           = false;
      nCollidingBunches = 0;
    }

Member Function Documentation

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

Definition at line 28 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 33 of file L1TOMDSHelper.h.

References m_valid.

{return m_valid;}

Member Data Documentation

std::vector<bool> BeamConfiguration::beam1

Definition at line 37 of file L1TOMDSHelper.h.

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

std::vector<bool> BeamConfiguration::beam2

Definition at line 38 of file L1TOMDSHelper.h.

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

Definition at line 35 of file L1TOMDSHelper.h.

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

Definition at line 36 of file L1TOMDSHelper.h.

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