test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1TriggerConfig
RCTConfigProducers
src
L1RCTParametersTester.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: RCTConfigTester
4
// Class: RCTConfigTester
5
//
13
//
14
// Original Author: Sridhara Dasu
15
// Created: Mon Jul 16 23:48:35 CEST 2007
16
//
17
//
18
// user include files
19
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
23
#include "
FWCore/Framework/interface/EventSetup.h
"
24
#include "
FWCore/Framework/interface/ESHandle.h
"
25
26
#include "
CondFormats/DataRecord/interface/L1RCTParametersRcd.h
"
27
#include "
CondFormats/L1TObjects/interface/L1RCTParameters.h
"
28
29
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
30
#include "
FWCore/MessageLogger/interface/MessageDrop.h
"
31
32
#include "
FWCore/PluginManager/interface/ModuleDef.h
"
33
#include "
FWCore/Framework/interface/MakerMacros.h
"
34
35
#include <iostream>
36
37
#include <iostream>
38
39
using
std::cout
;
40
using
std::endl;
41
//
42
// class declaration
43
//
44
45
class
L1RCTParametersTester
:
public
edm::EDAnalyzer
{
46
public
:
47
explicit
L1RCTParametersTester
(
const
edm::ParameterSet
&) {}
48
virtual
~L1RCTParametersTester
() {}
49
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
50
51
};
52
53
54
55
void
L1RCTParametersTester::analyze
(
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& evSetup)
56
{
57
58
59
edm::ESHandle< L1RCTParameters >
rctParam;
60
evSetup.
get
<
L1RCTParametersRcd
>().
get
( rctParam) ;
61
62
63
rctParam->print(
std::cout
);
64
65
}
66
67
DEFINE_FWK_MODULE
(
L1RCTParametersTester
);
68
69
70
L1RCTParametersRcd
Definition:
L1RCTParametersRcd.h:12
MessageLogger.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
Event.h
MakerMacros.h
EventSetup.h
ParameterSet.h
MessageDrop.h
iEvent
int iEvent
Definition:
GenABIO.cc:230
edm::ESHandle
Definition:
DTSurvey.h:22
L1RCTParametersTester::~L1RCTParametersTester
virtual ~L1RCTParametersTester()
Definition:
L1RCTParametersTester.cc:48
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:45
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
edm::EventSetup::get
const T & get() const
Definition:
EventSetup.h:56
L1RCTParameters.h
L1RCTParametersTester
Definition:
L1RCTParametersTester.cc:45
L1RCTParametersTester::L1RCTParametersTester
L1RCTParametersTester(const edm::ParameterSet &)
Definition:
L1RCTParametersTester.cc:47
L1RCTParametersTester::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1RCTParametersTester.cc:55
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:145
edm::Event
Definition:
Event.h:65
ModuleDef.h
L1RCTParametersRcd.h
Generated for CMSSW Reference Manual by
1.8.5