EventFilter
L1TRawToDigi
interface
OmtfRpcUnpacker.h
Go to the documentation of this file.
1
#ifndef EventFilter_L1TRawToDigi_Omtf_RpcUnpacker_H
2
#define EventFilter_L1TRawToDigi_Omtf_RpcUnpacker_H
3
4
#include <string>
5
#include <memory>
6
7
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
8
#include "
DataFormats/L1TMuon/interface/OMTF/OmtfDataWord64.h
"
9
#include "
EventFilter/L1TRawToDigi/interface/OmtfLinkMappingRpc.h
"
10
#include "
CondFormats/RPCObjects/interface/RPCReadOutMapping.h
"
11
12
namespace
edm
{
13
class
EventSetup
;
14
}
15
namespace
omtf
{
16
class
RpcDataWord64;
17
}
18
19
namespace
omtf
{
20
21
class
RpcUnpacker
{
22
public
:
23
RpcUnpacker
() {}
24
25
void
init
(
const
edm::EventSetup
&es);
26
void
init
(
const
edm::EventSetup
&es,
const
std::string
&connectionFile);
27
void
unpack
(
int
triggerBX,
unsigned
int
fed,
unsigned
int
amc
,
const
RpcDataWord64
&raw,
RPCDigiCollection
*
prod
);
28
29
private
:
30
void
initCabling
(
const
edm::EventSetup
&es);
31
32
MapEleIndex2LBIndex
theOmtf2Pact
;
33
std::unique_ptr<const RPCReadOutMapping>
thePactCabling
;
34
};
35
}
// namespace omtf
36
#endif
RPCReadOutMapping.h
OmtfLinkMappingRpc.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
omtf::RpcUnpacker::theOmtf2Pact
MapEleIndex2LBIndex theOmtf2Pact
Definition:
OmtfRpcUnpacker.h:32
RPCDigiCollection
omtf::RpcUnpacker::initCabling
void initCabling(const edm::EventSetup &es)
Definition:
OmtfRpcUnpacker.cc:21
dumpMFGeometry_cfg.prod
prod
Definition:
dumpMFGeometry_cfg.py:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
omtf::RpcUnpacker
Definition:
OmtfRpcUnpacker.h:21
omtf::RpcDataWord64
Definition:
OmtfRpcDataWord64.h:9
edm::EventSetup
Definition:
EventSetup.h:57
omtf::RpcUnpacker::RpcUnpacker
RpcUnpacker()
Definition:
OmtfRpcUnpacker.h:23
OmtfDataWord64.h
RPCDigiCollection.h
amc
Definition:
AMCSpec.h:8
omtf::RpcUnpacker::init
void init(const edm::EventSetup &es)
Definition:
OmtfRpcUnpacker.cc:29
omtf::MapEleIndex2LBIndex
std::map< EleIndex, LinkBoardElectronicIndex > MapEleIndex2LBIndex
Definition:
OmtfLinkMappingRpc.h:20
EventSetup
omtf::RpcUnpacker::thePactCabling
std::unique_ptr< const RPCReadOutMapping > thePactCabling
Definition:
OmtfRpcUnpacker.h:33
omtf::RpcUnpacker::unpack
void unpack(int triggerBX, unsigned int fed, unsigned int amc, const RpcDataWord64 &raw, RPCDigiCollection *prod)
Definition:
OmtfRpcUnpacker.cc:43
omtf
Definition:
OmtfCscDataWord64.h:7
Generated for CMSSW Reference Manual by
1.8.16