EventFilter
L1TRawToDigi
plugins
implementations_stage2
BMTFUnpackerOutput.h
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/MakerMacros.h
"
2
#include "
EventFilter/L1TRawToDigi/interface/Unpacker.h
"
3
4
#include "
BMTFCollections.h
"
5
6
namespace
l1t
{
7
namespace
stage2
{
8
9
class
BMTFUnpackerOutput
:
public
Unpacker
{
10
public
:
11
//the constructors assume that unpacks
12
//BMTF and BMTF is triggering (except assigned differently)
13
BMTFUnpackerOutput
() {
14
isKalman
=
false
;
15
isTriggeringAlgo
=
true
;
16
}
17
BMTFUnpackerOutput
(
const
bool
isTriggering_) {
18
isKalman
=
false
;
19
isTriggeringAlgo
= isTriggering_;
20
}
21
~BMTFUnpackerOutput
()
override
{};
22
bool
unpack
(
const
Block
&
block
,
UnpackerCollections
* coll)
override
;
23
void
setKalmanAlgoTrue
() {
isKalman
=
true
; }
24
25
private
:
26
bool
isTriggeringAlgo
;
27
bool
isKalman
;
28
};
29
30
}
// namespace stage2
31
}
// namespace l1t
l1t::stage2::BMTFUnpackerOutput::~BMTFUnpackerOutput
~BMTFUnpackerOutput() override
Definition:
BMTFUnpackerOutput.h:21
l1t::stage2::BMTFUnpackerOutput::isKalman
bool isKalman
Definition:
BMTFUnpackerOutput.h:27
l1t::stage2::BMTFUnpackerOutput::unpack
bool unpack(const Block &block, UnpackerCollections *coll) override
Definition:
BMTFUnpackerOutput.cc:8
l1t::stage2::BMTFUnpackerOutput
Definition:
BMTFUnpackerOutput.h:9
l1t::stage2::BMTFUnpackerOutput::setKalmanAlgoTrue
void setKalmanAlgoTrue()
Definition:
BMTFUnpackerOutput.h:23
MakerMacros.h
BMTFCollections.h
l1t::stage2::BMTFUnpackerOutput::BMTFUnpackerOutput
BMTFUnpackerOutput(const bool isTriggering_)
Definition:
BMTFUnpackerOutput.h:17
l1t::Unpacker
Definition:
Unpacker.h:11
l1t::stage2::BMTFUnpackerOutput::BMTFUnpackerOutput
BMTFUnpackerOutput()
Definition:
BMTFUnpackerOutput.h:13
l1t
delete x;
Definition:
CaloConfig.h:22
groupFilesInBlocks.block
block
Definition:
groupFilesInBlocks.py:150
SiStripSourceConfigTier0_cff.stage2
stage2
Definition:
SiStripSourceConfigTier0_cff.py:71
Unpacker.h
l1t::UnpackerCollections
Definition:
UnpackerCollections.h:9
l1t::stage2::BMTFUnpackerOutput::isTriggeringAlgo
bool isTriggeringAlgo
Definition:
BMTFUnpackerOutput.h:26
l1t::Block
Definition:
Block.h:70
Generated for CMSSW Reference Manual by
1.8.16