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
#include "
CondFormats/RPCObjects/interface/RPCEMap.h
"
12
13
namespace
edm
{
14
class
EventSetup
;
15
}
16
namespace
omtf
{
17
class
RpcDataWord64;
18
}
19
20
namespace
omtf
{
21
22
class
RpcUnpacker
{
23
public
:
24
RpcUnpacker
() {}
25
26
void
init
(
const
RPCEMap
& readoutMapping,
const
RPCAMCLinkMap
& linkMap);
27
void
init
(
const
RPCEMap
& readoutMapping,
const
std::string
& connectionFile);
28
void
unpack
(
int
triggerBX,
unsigned
int
fed,
unsigned
int
amc
,
const
RpcDataWord64
& raw,
RPCDigiCollection
*
prod
);
29
30
private
:
31
void
initCabling
(
const
RPCEMap
& readoutMapping);
32
33
MapEleIndex2LBIndex
theOmtf2Pact
;
34
std::unique_ptr<const RPCReadOutMapping>
thePactCabling
;
35
};
36
}
// namespace omtf
37
#endif
omtf::RpcUnpacker::initCabling
void initCabling(const RPCEMap &readoutMapping)
Definition:
OmtfRpcUnpacker.cc:19
omtf::RpcUnpacker::RpcUnpacker
RpcUnpacker()
Definition:
OmtfRpcUnpacker.h:24
OmtfDataWord64.h
dumpMFGeometry_cfg.prod
prod
Definition:
dumpMFGeometry_cfg.py:24
RPCReadOutMapping.h
omtf::RpcUnpacker::init
void init(const RPCEMap &readoutMapping, const RPCAMCLinkMap &linkMap)
Definition:
OmtfRpcUnpacker.cc:25
RPCEMap
Definition:
RPCEMap.h:13
omtf::MapEleIndex2LBIndex
std::map< EleIndex, LinkBoardElectronicIndex > MapEleIndex2LBIndex
Definition:
OmtfLinkMappingRpc.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
omtf::RpcUnpacker::unpack
void unpack(int triggerBX, unsigned int fed, unsigned int amc, const RpcDataWord64 &raw, RPCDigiCollection *prod)
Definition:
OmtfRpcUnpacker.cc:39
EventSetup
RPCEMap.h
RPCDigiCollection
RPCAMCLinkMap
Definition:
RPCAMCLinkMap.h:11
omtf
Definition:
OmtfCscDataWord64.h:7
edm
HLT enums.
Definition:
AlignableModifier.h:19
omtf::RpcUnpacker::thePactCabling
std::unique_ptr< const RPCReadOutMapping > thePactCabling
Definition:
OmtfRpcUnpacker.h:34
OmtfLinkMappingRpc.h
omtf::RpcUnpacker
Definition:
OmtfRpcUnpacker.h:22
RPCDigiCollection.h
amc
Definition:
AMCSpec.h:8
omtf::RpcUnpacker::theOmtf2Pact
MapEleIndex2LBIndex theOmtf2Pact
Definition:
OmtfRpcUnpacker.h:33
omtf::RpcDataWord64
Definition:
OmtfRpcDataWord64.h:9
Generated for CMSSW Reference Manual by
1.8.14