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
#include<utility>
30
#include <algorithm>
31
#include <map>
32
33
class
RecHitProcessor
{
34
public
:
35
explicit
RecHitProcessor
();
36
~RecHitProcessor
();
37
38
struct
CppfItem
{
39
40
int
lb
;
41
int
rawId
;
42
int
strip
;
43
int
lbchannel
;
44
int
halfchannel
;
45
int
int_phi
;
46
int
int_theta
;
47
COND_SERIALIZABLE
;
48
};
49
50
std::vector<CppfItem>
const
&
getCppfVec
()
const
{
return
CppfVec
;}
51
std::vector<CppfItem>
CppfVec
;
52
53
54
void
processLook
(
55
// Input
56
const
edm::Event
&
iEvent
,
57
const
edm::EventSetup
& iSetup,
58
const
edm::EDGetToken
& recHitToken,
59
std::vector<RecHitProcessor::CppfItem>& CppfVec1,
60
// Output
61
l1t::CPPFDigiCollection
& cppfDigis,
62
const
int
MaxClusterSize
63
)
const
;
64
65
void
process
(
66
// Input
67
const
edm::Event
&
iEvent
,
68
const
edm::EventSetup
& iSetup,
69
const
edm::EDGetToken
& recHitToken,
70
// Output
71
l1t::CPPFDigiCollection
& cppfDigis
72
)
const
;
73
74
void
print
(
int
a
,
int
b
,
float
c
,
float
d
)
const
{
std::cout
<< a <<
" "
<< b <<
" "
<< c <<
" "
<< d << std::endl;};
75
76
COND_SERIALIZABLE
;
77
78
private
:
79
80
};
81
82
#endif
/* #define L1Trigger_L1TMuonCPPF_RecHitProcessor_h */
RecHitProcessor::print
void print(int a, int b, float c, float d) const
Definition:
RecHitProcessor.h:74
RPCDeadStrips.h
MessageLogger.h
RecHitProcessor::CppfVec
std::vector< CppfItem > CppfVec
Definition:
RecHitProcessor.h:51
RPCMaskedStrips.h
RPCRoll.h
RecHitProcessor::CppfItem::halfchannel
int halfchannel
Definition:
RecHitProcessor.h:44
RPCDetId.h
MuonGeometryRecord.h
Event.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
EventSetup.h
RecHitProcessor::CppfItem::strip
int strip
Definition:
RecHitProcessor.h:42
RecHitProcessor::CppfItem
Definition:
RecHitProcessor.h:38
edm::EDGetToken
Definition:
EDGetToken.h:34
RPCRecHitCollection.h
RecHitProcessor::CppfItem::lbchannel
int lbchannel
Definition:
RecHitProcessor.h:43
iEvent
int iEvent
Definition:
GenABIO.cc:230
CPPFDigi.h
ESHandle.h
TrackTools.h
edm::EventSetup
Definition:
EventSetup.h:48
RecHitProcessor::~RecHitProcessor
~RecHitProcessor()
Definition:
RecHitProcessor.cc:6
edmIntegrityCheck.d
d
Definition:
edmIntegrityCheck.py:65
RecHitProcessor
Definition:
RecHitProcessor.h:33
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:46
RecHitProcessor::CppfItem::rawId
int rawId
Definition:
RecHitProcessor.h:41
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:288
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
RecHitProcessor::CppfItem::int_phi
int int_phi
Definition:
RecHitProcessor.h:45
a
double a
Definition:
hdecay.h:121
gather_cfg.cout
cout
Definition:
gather_cfg.py:145
RPCGeometry.h
edm::Event
Definition:
Event.h:69
Serializable.h
RecHitProcessor::CppfItem::lb
int lb
Definition:
RecHitProcessor.h:40
l1t::CPPFDigiCollection
std::vector< CPPFDigi > CPPFDigiCollection
Definition:
CPPFDigi.h:68
RecHitProcessor::getCppfVec
std::vector< CppfItem > const & getCppfVec() const
Definition:
RecHitProcessor.h:50
Generated for CMSSW Reference Manual by
1.8.11