L1Trigger
L1TMuonCPPF
interface
EmulateCPPF.h
Go to the documentation of this file.
1
#ifndef L1Trigger_L1TMuonCPPF_EmulateCPPF_h
2
#define L1Trigger_L1TMuonCPPF_EmulateCPPF_h
3
4
#include "
L1Trigger/L1TMuonCPPF/interface/RecHitProcessor.h
"
5
6
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
DataFormats/Common/interface/DetSetVector.h
"
9
10
class
EmulateCPPF
{
11
public
:
12
explicit
EmulateCPPF
(
const
edm::ParameterSet
&iConfig,
edm::ConsumesCollector
&&iConsumes);
13
~EmulateCPPF
();
14
15
void
process
(
16
// Input
17
const
edm::Event
&
iEvent
,
18
const
edm::EventSetup
&iSetup,
19
// Output
20
l1t::CPPFDigiCollection
&cppf_recHit);
21
22
private
:
23
// For now, treat CPPF as single board
24
// In the future, may want to treat the 4 CPPF boards in each endcap as
25
// separate entities
26
std::array<RecHitProcessor, 1>
recHit_processors_
;
27
28
const
edm::EDGetToken
rpcDigiToken_
;
29
const
edm::EDGetToken
recHitToken_
;
30
const
edm::EDGetToken
rpcDigiSimLinkToken_
;
31
32
enum class
CppfSource
{
File
,
EventSetup
}
cppfSource_
;
33
std::vector<RecHitProcessor::CppfItem>
CppfVec_1
;
34
int
MaxClusterSize_
;
35
};
// End class EmulateCPPF
36
37
#endif // #define L1Trigger_L1TMuonCPPF_EmulateCPPF_h
EmulateCPPF::recHit_processors_
std::array< RecHitProcessor, 1 > recHit_processors_
Definition:
EmulateCPPF.h:26
RecHitProcessor.h
EmulateCPPF::CppfSource
CppfSource
Definition:
EmulateCPPF.h:32
EmulateCPPF
Definition:
EmulateCPPF.h:10
EmulateCPPF::EmulateCPPF
EmulateCPPF(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iConsumes)
Definition:
EmulateCPPF.cc:14
l1t::CPPFDigiCollection
std::vector< CPPFDigi > CPPFDigiCollection
Definition:
CPPFDigi.h:83
EmulateCPPF::~EmulateCPPF
~EmulateCPPF()
Definition:
EmulateCPPF.cc:53
EmulateCPPF::rpcDigiToken_
const edm::EDGetToken rpcDigiToken_
Definition:
EmulateCPPF.h:28
EmulateCPPF::MaxClusterSize_
int MaxClusterSize_
Definition:
EmulateCPPF.h:34
EmulateCPPF::cppfSource_
enum EmulateCPPF::CppfSource cppfSource_
edm::ParameterSet
Definition:
ParameterSet.h:36
iEvent
int iEvent
Definition:
GenABIO.cc:224
edm::EventSetup
Definition:
EventSetup.h:57
DetSetVector.h
edm::EDGetToken
Definition:
EDGetToken.h:35
EmulateCPPF::process
void process(const edm::Event &iEvent, const edm::EventSetup &iSetup, l1t::CPPFDigiCollection &cppf_recHit)
Definition:
EmulateCPPF.cc:55
EmulateCPPF::recHitToken_
const edm::EDGetToken recHitToken_
Definition:
EmulateCPPF.h:29
EmulateCPPF::rpcDigiSimLinkToken_
const edm::EDGetToken rpcDigiSimLinkToken_
Definition:
EmulateCPPF.h:30
ConsumesCollector.h
EventSetup
ParameterSet.h
EmulateCPPF::CppfSource::File
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
EmulateCPPF::CppfVec_1
std::vector< RecHitProcessor::CppfItem > CppfVec_1
Definition:
EmulateCPPF.h:33
Generated for CMSSW Reference Manual by
1.8.16