CMS 3D CMS Logo

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

#include <L1TBeamConfiguration.h>

Public Member Functions

bool bxConfig (unsigned iBx)
 
bool isValid ()
 
 L1TBeamConfiguration ()
 

Public Attributes

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

Detailed Description

Description: offline DQM class for acquiring beam configuration

Implementation: <TODO: enter implementation details>

Author
: Pietro Vischia - LIP Lisbon pietr.nosp@m.o.vi.nosp@m.schia.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Changelog: 2012/11/22 12:01:01: Creation, infrastructure and generic crap

Todo:

Implementation: <TODO: enter implementation details>

Author
: Pietro Vischia - LIP Lisbon pietr.nosp@m.o.vi.nosp@m.schia.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Changelog: 2012/11/2 12:01:01: Class

Todo: see header file

Definition at line 59 of file L1TBeamConfiguration.h.

Constructor & Destructor Documentation

◆ L1TBeamConfiguration()

L1TBeamConfiguration::L1TBeamConfiguration ( )

Definition at line 62 of file L1TBeamConfiguration.cc.

62 { m_valid = false; }

Member Function Documentation

◆ bxConfig()

bool L1TBeamConfiguration::bxConfig ( unsigned  iBx)

Definition at line 64 of file L1TBeamConfiguration.cc.

Referenced by L1TSync_Offline::analyze().

64  {
65  if (m_valid && beam1.size() > iBx && beam2.size() > iBx) {
66  if (beam1[iBx] && beam2[iBx]) {
67  return true;
68  } else {
69  return false;
70  }
71 
72  } else {
73  return false;
74  }
75 }
std::vector< bool > beam2
std::vector< bool > beam1

◆ isValid()

bool L1TBeamConfiguration::isValid ( void  )
inline

Member Data Documentation

◆ beam1

std::vector<bool> L1TBeamConfiguration::beam1

◆ beam2

std::vector<bool> L1TBeamConfiguration::beam2

◆ m_valid

bool L1TBeamConfiguration::m_valid

Definition at line 67 of file L1TBeamConfiguration.h.

Referenced by L1TSync_Offline::getBeamConfOffline(), and isValid().