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
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 63 of file L1TBeamConfiguration.h.

Constructor & Destructor Documentation

L1TBeamConfiguration::L1TBeamConfiguration ( )

Definition at line 62 of file L1TBeamConfiguration.cc.

62  {
63 
64 
65  m_valid = false;
66 
67 }

Member Function Documentation

bool L1TBeamConfiguration::bxConfig ( unsigned  iBx)

Definition at line 69 of file L1TBeamConfiguration.cc.

69  {
70 
71  if(m_valid && beam1.size()>iBx && beam2.size()>iBx){
72 
73  if(beam1[iBx] && beam2[iBx]){return true;}
74  else {return false;}
75 
76  }else{
77  return false;
78  }
79 }
std::vector< bool > beam2
std::vector< bool > beam1
bool L1TBeamConfiguration::isValid ( void  )
inline

Definition at line 71 of file L1TBeamConfiguration.h.

References m_valid.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

71 {return m_valid;}

Member Data Documentation

std::vector<bool> L1TBeamConfiguration::beam1

Definition at line 74 of file L1TBeamConfiguration.h.

std::vector<bool> L1TBeamConfiguration::beam2

Definition at line 75 of file L1TBeamConfiguration.h.

bool L1TBeamConfiguration::m_valid

Definition at line 73 of file L1TBeamConfiguration.h.

Referenced by isValid().