EventFilter
L1TRawToDigi
interface
Packer.h
Go to the documentation of this file.
1
#ifndef EventFilter_L1TRawToDigi_Packer_h
2
#define EventFilter_L1TRawToDigi_Packer_h
3
4
#include "
EventFilter/L1TRawToDigi/interface/Block.h
"
5
#include "
EventFilter/L1TRawToDigi/interface/PackerTokens.h
"
6
7
namespace
edm
{
8
class
Event
;
9
}
10
11
namespace
l1t
{
12
class
L1TDigiToRaw
;
13
14
class
Packer
{
15
public
:
16
virtual
Blocks
pack
(
const
edm::Event
&,
const
PackerTokens
*) = 0;
17
void
setBoard
(
unsigned
board
) {
board_
=
board
; };
18
unsigned
board
() {
return
board_
; };
19
virtual
~Packer
() =
default
;
20
21
private
:
22
unsigned
board_
{0};
23
};
24
25
typedef
std::vector<std::shared_ptr<Packer>>
Packers
;
26
}
// namespace l1t
27
28
#endif
Block.h
l1t::Blocks
std::vector< Block > Blocks
Definition:
Block.h:83
edm
HLT enums.
Definition:
AlignableModifier.h:19
l1t::Packer::setBoard
void setBoard(unsigned board)
Definition:
Packer.h:17
l1t::Packer::~Packer
virtual ~Packer()=default
PackerTokens.h
l1t::Packer::pack
virtual Blocks pack(const edm::Event &, const PackerTokens *)=0
l1t::Packer::board_
unsigned board_
Definition:
Packer.h:22
Event
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::PackerTokens
Definition:
PackerTokens.h:10
l1t::Packers
std::vector< std::shared_ptr< Packer > > Packers
Definition:
Packer.h:25
edm::Event
Definition:
Event.h:73
l1t::Packer::board
unsigned board()
Definition:
Packer.h:18
L1TDigiToRaw
l1t::Packer
Definition:
Packer.h:14
Generated for CMSSW Reference Manual by
1.8.16