L1Trigger
L1TMuonCPPF
plugins
L1TMuonCPPFDigiProducer.h
Go to the documentation of this file.
1
// Emulator that takes RPC hits and produces CPPFDigis to send to EMTF
2
// Author Alejandro Segura -- Universidad de los Andes
3
4
#ifndef L1Trigger_L1TMuonCPPF_L1TMuonCPPFDigiProducer_h
5
#define L1Trigger_L1TMuonCPPF_L1TMuonCPPFDigiProducer_h
6
7
#include "
L1Trigger/L1TMuonCPPF/interface/EmulateCPPF.h
"
8
9
// System include files
10
#include <memory>
11
12
// User include files
13
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
14
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
15
//#include "FWCore/Framework/interface/EDProducer.h"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
#include "
FWCore/Framework/interface/MakerMacros.h
"
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
21
// Other includes (all needed? - AWB 27.07.17)
22
#include "
FWCore/Utilities/interface/InputTag.h
"
23
24
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
25
#include "
DataFormats/RPCRecHit/interface/RPCRecHitCollection.h
"
26
27
#include "
CondFormats/RPCObjects/interface/RPCDeadStrips.h
"
28
29
#include "
FWCore/Framework/interface/ESHandle.h
"
30
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
31
32
#include "
DataFormats/L1TMuon/interface/CPPFDigi.h
"
33
#include "
DataFormats/MuonDetId/interface/RPCDetId.h
"
34
35
#include "
Geometry/RPCGeometry/interface/RPCGeometry.h
"
36
#include "
Geometry/RPCGeometry/interface/RPCRoll.h
"
37
38
#include "
L1Trigger/L1TMuonEndCap/interface/PrimitiveConversion.h
"
39
#include "
L1Trigger/L1TMuonEndCap/interface/SectorProcessorLUT.h
"
40
41
#include <
Geometry/Records/interface/MuonGeometryRecord.h
>
42
43
#include "TVector3.h"
44
#include <cassert>
45
#include <fstream>
46
#include <string>
47
48
// Class declaration
49
class
L1TMuonCPPFDigiProducer
:
public
edm::stream::EDProducer
<> {
50
public
:
51
explicit
L1TMuonCPPFDigiProducer
(
const
edm::ParameterSet
&);
52
~L1TMuonCPPFDigiProducer
()
override
;
53
54
private
:
55
void
beginStream
(
edm::StreamID
)
override
;
56
void
endStream
()
override
;
57
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
;
58
59
private
:
60
std::unique_ptr<EmulateCPPF>
cppf_emulator_
;
61
};
62
63
#endif
/* #define L1Trigger_L1TMuonCPPF_L1TMuonCPPFDigiProducer_h */
edm::StreamID
Definition:
StreamID.h:30
L1TMuonCPPFDigiProducer
Definition:
L1TMuonCPPFDigiProducer.h:49
L1TMuonCPPFDigiProducer::endStream
void endStream() override
Definition:
L1TMuonCPPFDigiProducer.cc:33
MessageLogger.h
ESHandle.h
SectorProcessorLUT.h
L1TMuonCPPFDigiProducer::beginStream
void beginStream(edm::StreamID) override
Definition:
L1TMuonCPPFDigiProducer.cc:31
EDProducer.h
RPCRoll.h
EmulateCPPF.h
L1TMuonCPPFDigiProducer::L1TMuonCPPFDigiProducer
L1TMuonCPPFDigiProducer(const edm::ParameterSet &)
Definition:
L1TMuonCPPFDigiProducer.cc:6
L1TMuonCPPFDigiProducer::produce
void produce(edm::Event &event, const edm::EventSetup &setup) override
Definition:
L1TMuonCPPFDigiProducer.cc:16
CPPFDigi.h
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
RPCDeadStrips.h
MakerMacros.h
RPCDetId.h
RPCRecHitCollection.h
L1TMuonCPPFDigiProducer::~L1TMuonCPPFDigiProducer
~L1TMuonCPPFDigiProducer() override
Definition:
L1TMuonCPPFDigiProducer.cc:14
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
InputTag.h
L1TMuonCPPFDigiProducer::cppf_emulator_
std::unique_ptr< EmulateCPPF > cppf_emulator_
Definition:
L1TMuonCPPFDigiProducer.h:60
PrimitiveConversion.h
Frameworkfwd.h
EventSetup.h
RPCDigiCollection.h
ParameterSet.h
MuonGeometryRecord.h
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
RPCGeometry.h
Generated for CMSSW Reference Manual by
1.8.16