Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
L1TriggerConfig
L1GtConfigProducers
src
L1GtPrescaleFactorsAndMasksTester.cc
Go to the documentation of this file.
1
17
// this class header
18
#include "
L1TriggerConfig/L1GtConfigProducers/interface/L1GtPrescaleFactorsAndMasksTester.h
"
19
20
// system include files
21
#include <iomanip>
22
23
// user include files
24
// base class
25
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
26
27
#include "
FWCore/Framework/interface/Event.h
"
28
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
29
30
#include "
FWCore/Framework/interface/EventSetup.h
"
31
#include "
FWCore/Framework/interface/ESHandle.h
"
32
33
#include "
CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h
"
34
35
#include "
CondFormats/DataRecord/interface/L1GtPrescaleFactorsAlgoTrigRcd.h
"
36
#include "
CondFormats/DataRecord/interface/L1GtPrescaleFactorsTechTrigRcd.h
"
37
38
#include "
CondFormats/L1TObjects/interface/L1GtTriggerMask.h
"
39
40
#include "
CondFormats/DataRecord/interface/L1GtTriggerMaskAlgoTrigRcd.h
"
41
#include "
CondFormats/DataRecord/interface/L1GtTriggerMaskTechTrigRcd.h
"
42
43
#include "
CondFormats/DataRecord/interface/L1GtTriggerMaskVetoAlgoTrigRcd.h
"
44
#include "
CondFormats/DataRecord/interface/L1GtTriggerMaskVetoTechTrigRcd.h
"
45
46
// forward declarations
47
48
// constructor(s)
49
L1GtPrescaleFactorsAndMasksTester::L1GtPrescaleFactorsAndMasksTester
(
50
const
edm::ParameterSet
& parSet) {
51
// empty
52
}
53
54
// destructor
55
L1GtPrescaleFactorsAndMasksTester::~L1GtPrescaleFactorsAndMasksTester
() {
56
// empty
57
}
58
59
// loop over events
60
void
L1GtPrescaleFactorsAndMasksTester::analyze
(
const
edm::Event
&
iEvent
,
61
const
edm::EventSetup
& evSetup) {
62
63
//
64
edm::ESHandle< L1GtPrescaleFactors>
l1GtPfAlgo;
65
evSetup.
get
<
L1GtPrescaleFactorsAlgoTrigRcd
>().
get
(l1GtPfAlgo) ;
66
67
std::cout
<<
"\nL1 GT prescale factors for algorithm triggers"
<< std::endl;
68
l1GtPfAlgo->print(
std::cout
);
69
70
edm::ESHandle< L1GtPrescaleFactors>
l1GtPfTech;
71
evSetup.
get
<
L1GtPrescaleFactorsTechTrigRcd
>().
get
(l1GtPfTech) ;
72
73
std::cout
<<
"\nL1 GT prescale factors for technical triggers"
<< std::endl;
74
l1GtPfTech->print(
std::cout
);
75
76
//
77
edm::ESHandle< L1GtTriggerMask>
l1GtTmAlgo;
78
evSetup.
get
<
L1GtTriggerMaskAlgoTrigRcd
>().
get
(l1GtTmAlgo) ;
79
80
std::cout
<<
"\nL1 GT trigger masks for algorithm triggers"
<< std::endl;
81
l1GtTmAlgo->print(
std::cout
);
82
83
edm::ESHandle< L1GtTriggerMask>
l1GtTmTech;
84
evSetup.
get
<
L1GtTriggerMaskTechTrigRcd
>().
get
(l1GtTmTech) ;
85
86
std::cout
<<
"\nL1 GT trigger masks for technical triggers"
<< std::endl;
87
l1GtTmTech->print(
std::cout
);
88
89
//
90
edm::ESHandle< L1GtTriggerMask>
l1GtTmVetoAlgo;
91
evSetup.
get
<
L1GtTriggerMaskVetoAlgoTrigRcd
>().
get
(l1GtTmVetoAlgo) ;
92
93
std::cout
<<
"\nL1 GT trigger veto masks for algorithm triggers"
94
<< std::endl;
95
l1GtTmVetoAlgo->print(
std::cout
);
96
97
edm::ESHandle< L1GtTriggerMask>
l1GtTmVetoTech;
98
evSetup.
get
<
L1GtTriggerMaskVetoTechTrigRcd
>().
get
(l1GtTmVetoTech) ;
99
100
std::cout
<<
"\nL1 GT trigger veto masks for technical triggers"
101
<< std::endl;
102
l1GtTmVetoTech->print(
std::cout
);
103
104
}
L1GtTriggerMaskVetoTechTrigRcd.h
L1GtPrescaleFactorsAlgoTrigRcd
Definition:
L1GtPrescaleFactorsAlgoTrigRcd.h:38
L1GtPrescaleFactorsAndMasksTester::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
L1GtPrescaleFactorsAndMasksTester.cc:60
Event.h
L1GtTriggerMaskTechTrigRcd.h
EventSetup.h
L1GtTriggerMask.h
L1GtTriggerMaskAlgoTrigRcd.h
L1GtPrescaleFactorsTechTrigRcd
Definition:
L1GtPrescaleFactorsTechTrigRcd.h:38
L1GtTriggerMaskVetoTechTrigRcd
Definition:
L1GtTriggerMaskVetoTechTrigRcd.h:39
ParameterSet.h
iEvent
int iEvent
Definition:
GenABIO.cc:243
L1GtTriggerMaskVetoAlgoTrigRcd.h
L1GtPrescaleFactorsAlgoTrigRcd.h
edm::ESHandle
Definition:
DTSurvey.h:22
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
EDAnalyzer.h
L1GtPrescaleFactorsAndMasksTester.h
L1GtPrescaleFactors.h
L1GtPrescaleFactorsAndMasksTester::L1GtPrescaleFactorsAndMasksTester
L1GtPrescaleFactorsAndMasksTester(const edm::ParameterSet &)
Definition:
L1GtPrescaleFactorsAndMasksTester.cc:49
edm::EventSetup::get
const T & get() const
Definition:
EventSetup.h:55
L1GtTriggerMaskVetoAlgoTrigRcd
Definition:
L1GtTriggerMaskVetoAlgoTrigRcd.h:39
L1GtPrescaleFactorsTechTrigRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:32
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:41
L1GtTriggerMaskTechTrigRcd
Definition:
L1GtTriggerMaskTechTrigRcd.h:39
edm::Event
Definition:
Event.h:49
L1GtPrescaleFactorsAndMasksTester::~L1GtPrescaleFactorsAndMasksTester
virtual ~L1GtPrescaleFactorsAndMasksTester()
Definition:
L1GtPrescaleFactorsAndMasksTester.cc:55
L1GtTriggerMaskAlgoTrigRcd
Definition:
L1GtTriggerMaskAlgoTrigRcd.h:39
Generated for CMSSW Reference Manual by
1.8.5