src
L1TriggerConfig
CSCTFConfigProducers
src
L1MuCSCTFParametersTester.cc
Go to the documentation of this file.
1
15
// this class header
16
#include "
L1TriggerConfig/CSCTFConfigProducers/interface/L1MuCSCTFParametersTester.h
"
17
18
// system include files
19
#include <iomanip>
20
#include <iostream>
21
22
// user include files
23
// base class
24
25
#include "
FWCore/Framework/interface/Event.h
"
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
28
#include "
FWCore/Framework/interface/EventSetup.h
"
29
#include "
FWCore/Framework/interface/ESHandle.h
"
30
31
#include "
CondFormats/L1TObjects/interface/L1MuCSCTFConfiguration.h
"
32
#include "
CondFormats/DataRecord/interface/L1MuCSCTFConfigurationRcd.h
"
33
34
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
35
#include "
FWCore/MessageLogger/interface/MessageDrop.h
"
36
37
// forward declarations
38
39
// constructor(s)
40
L1MuCSCTFParametersTester::L1MuCSCTFParametersTester
(
const
edm::ParameterSet
& parSet) {
token_
=
esConsumes
(); }
41
42
// loop over events
43
void
L1MuCSCTFParametersTester::analyze
(
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& evSetup) {
44
evSetup.
getData
(
token_
).print(
std::cout
);
45
}
L1MuCSCTFConfiguration.h
edm::EventSetup::getData
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition:
EventSetup.h:119
MessageLogger.h
L1MuCSCTFParametersTester.h
Event.h
EventSetup.h
ParameterSet.h
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition:
EDConsumerBase.h:193
L1MuCSCTFConfigurationRcd.h
MessageDrop.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:56
L1MuCSCTFParametersTester::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1MuCSCTFParametersTester.cc:43
L1MuCSCTFParametersTester::token_
edm::ESGetToken< L1MuCSCTFConfiguration, L1MuCSCTFConfigurationRcd > token_
Definition:
L1MuCSCTFParametersTester.h:43
edm::ParameterSet
Definition:
ParameterSet.h:47
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
L1MuCSCTFParametersTester::L1MuCSCTFParametersTester
L1MuCSCTFParametersTester(const edm::ParameterSet &)
Definition:
L1MuCSCTFParametersTester.cc:40
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.14