Main Page
Namespaces
Classes
Package Documentation
L1Trigger
L1TMuonCPPF
interface
RecHitProcessor.h
Go to the documentation of this file.
1
#ifndef L1Trigger_L1TMuonCPPF_RecHitProcessor_h
2
#define L1Trigger_L1TMuonCPPF_RecHitProcessor_h
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EventSetup.h
"
6
#include "
FWCore/Framework/interface/ESHandle.h
"
7
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
8
9
#include "
Geometry/RPCGeometry/interface/RPCRoll.h
"
10
#include "
Geometry/RPCGeometry/interface/RPCGeometry.h
"
11
#include "
Geometry/Records/interface/MuonGeometryRecord.h
"
12
13
#include "
DataFormats/MuonDetId/interface/RPCDetId.h
"
14
#include "
DataFormats/RPCRecHit/interface/RPCRecHitCollection.h
"
15
#include "
DataFormats/L1TMuon/interface/CPPFDigi.h
"
16
17
#include "
CondFormats/RPCObjects/interface/RPCMaskedStrips.h
"
18
#include "
CondFormats/RPCObjects/interface/RPCDeadStrips.h
"
19
20
#include "
CondFormats/Serialization/interface/Serializable.h
"
21
#include "
L1Trigger/L1TMuonEndCap/interface/TrackTools.h
"
22
23
#include<boost/cstdint.hpp>
24
#include<vector>
25
#include<iostream>
26
#include<sstream>
27
#include<string>
28
#include<memory>
29
30
class
RecHitProcessor
{
31
public
:
32
explicit
RecHitProcessor
();
33
~RecHitProcessor
();
34
35
struct
CppfItem
{
36
37
int
lb
;
38
int
rawId
;
39
int
strip
;
40
int
lbchannel
;
41
int
halfchannel
;
42
int
int_phi
;
43
int
int_theta
;
44
COND_SERIALIZABLE
;
45
};
46
47
std::vector<CppfItem>
const
&
getCppfVec
()
const
{
return
CppfVec
;}
48
std::vector<CppfItem>
CppfVec
;
49
50
51
void
processLook
(
52
// Input
53
const
edm::Event
&
iEvent
,
54
const
edm::EventSetup
& iSetup,
55
const
edm::EDGetToken
& recHitToken,
56
std::vector<RecHitProcessor::CppfItem>& CppfVec1,
57
// Output
58
l1t::CPPFDigiCollection
& cppfDigis,
59
const
int
MaxClusterSize
60
)
const
;
61
62
void
process
(
63
// Input
64
const
edm::Event
&
iEvent
,
65
const
edm::EventSetup
& iSetup,
66
const
edm::EDGetToken
& recHitToken,
67
// Output
68
l1t::CPPFDigiCollection
& cppfDigis
69
)
const
;
70
71
void
print
(
int
a
,
int
b
,
float
c
,
float
d
)
const
{
std::cout
<< a <<
" "
<< b <<
" "
<< c <<
" "
<< d << std::endl;};
72
73
COND_SERIALIZABLE
;
74
75
private
:
76
77
};
78
79
#endif
/* #define L1Trigger_L1TMuonCPPF_RecHitProcessor_h */
RecHitProcessor::print
void print(int a, int b, float c, float d) const
Definition:
RecHitProcessor.h:71
RPCDeadStrips.h
MessageLogger.h
RecHitProcessor::CppfVec
std::vector< CppfItem > CppfVec
Definition:
RecHitProcessor.h:48
RPCMaskedStrips.h
RPCRoll.h
RecHitProcessor::CppfItem::halfchannel
int halfchannel
Definition:
RecHitProcessor.h:41
RPCDetId.h
MuonGeometryRecord.h
Event.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:44
EventSetup.h
RecHitProcessor::CppfItem::strip
int strip
Definition:
RecHitProcessor.h:39
RecHitProcessor::CppfItem
Definition:
RecHitProcessor.h:35
edm::EDGetToken
Definition:
EDGetToken.h:34
RPCRecHitCollection.h
RecHitProcessor::CppfItem::lbchannel
int lbchannel
Definition:
RecHitProcessor.h:40
iEvent
int iEvent
Definition:
GenABIO.cc:230
CPPFDigi.h
ESHandle.h
TrackTools.h
edm::EventSetup
Definition:
EventSetup.h:54
RecHitProcessor::~RecHitProcessor
~RecHitProcessor()
Definition:
RecHitProcessor.cc:6
edmIntegrityCheck.d
d
Definition:
edmIntegrityCheck.py:66
RecHitProcessor
Definition:
RecHitProcessor.h:30
RecHitProcessor::processLook
void processLook(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::EDGetToken &recHitToken, std::vector< RecHitProcessor::CppfItem > &CppfVec1, l1t::CPPFDigiCollection &cppfDigis, const int MaxClusterSize) const
Definition:
RecHitProcessor.cc:9
RecHitProcessor::RecHitProcessor
RecHitProcessor()
Definition:
RecHitProcessor.cc:3
RecHitProcessor::CppfItem::int_theta
int int_theta
Definition:
RecHitProcessor.h:43
RecHitProcessor::CppfItem::rawId
int rawId
Definition:
RecHitProcessor.h:38
b
double b
Definition:
hdecay.h:120
RecHitProcessor::process
void process(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::EDGetToken &recHitToken, l1t::CPPFDigiCollection &cppfDigis) const
Definition:
RecHitProcessor.cc:255
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
RecHitProcessor::CppfItem::int_phi
int int_phi
Definition:
RecHitProcessor.h:42
a
double a
Definition:
hdecay.h:121
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
RPCGeometry.h
edm::Event
Definition:
Event.h:70
Serializable.h
RecHitProcessor::CppfItem::lb
int lb
Definition:
RecHitProcessor.h:37
l1t::CPPFDigiCollection
std::vector< CPPFDigi > CPPFDigiCollection
Definition:
CPPFDigi.h:68
RecHitProcessor::getCppfVec
std::vector< CppfItem > const & getCppfVec() const
Definition:
RecHitProcessor.h:47
Generated for CMSSW Reference Manual by
1.8.11