Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DQMOffline
L1Trigger
src
L1TBeamConfiguration.cc
Go to the documentation of this file.
1
20
//
21
22
// This class header
23
#include "
DQMOffline/L1Trigger/interface/L1TBeamConfiguration.h
"
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
62
L1TBeamConfiguration::L1TBeamConfiguration
() { m_valid =
false
; }
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
}
L1TBeamConfiguration.h
L1TBeamConfiguration::bxConfig
bool bxConfig(unsigned iBx)
Definition:
L1TBeamConfiguration.cc:64
L1TBeamConfiguration::L1TBeamConfiguration
L1TBeamConfiguration()
Definition:
L1TBeamConfiguration.cc:62
Generated for CMSSW Reference Manual by
1.8.5