CMS 3D CMS Logo

L1TBeamConfiguration.cc
Go to the documentation of this file.
1 
20 //
21 
22 // This class header
24 
25 // System include files
26 // --
27 
29 //#include "DQMServices/Core/interface/DQMStore.h"
30 //
31 //#include "DataFormats/Scalers/interface/LumiScalers.h"
32 //#include "DataFormats/Scalers/interface/Level1TriggerRates.h"
33 //#include "DataFormats/Scalers/interface/Level1TriggerScalers.h"
34 //
35 //#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
36 //#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerEvmReadoutRecord.h"
37 //
38 //#include "DataFormats/Common/interface/ConditionsInEdm.h" // Parameters associated to Run, LS and Event
39 //
40 //#include "CondFormats/L1TObjects/interface/L1GtTriggerMenuFwd.h"
41 //#include "CondFormats/L1TObjects/interface/L1GtTriggerMenu.h"
42 //#include "CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h"
43 //#include "CondFormats/DataRecord/interface/L1GtTriggerMenuRcd.h"
44 //#include "CondFormats/DataRecord/interface/L1GtPrescaleFactorsAlgoTrigRcd.h"
45 //#include "CondFormats/L1TObjects/interface/L1GtMuonTemplate.h"
50 //
53 //#include "DQMOffline/L1Trigger/interface/L1TMenuHelper.h"
54 //
55 //#include "TList.h"
56 
57 using namespace std;
58 
59 //-------------------------------------------------------------------------------------
60 //-------------------------------------------------------------------------------------
61 
63 
64 bool L1TBeamConfiguration::bxConfig(unsigned iBx) {
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 }
bool bxConfig(unsigned iBx)