ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigSteeringEventTPCnv
src
Lvl1ResultCnv_p2.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigSteeringEvent/Lvl1Result.h
"
6
#include "
TrigSteeringEventTPCnv/Lvl1Result_p2.h
"
7
#include "
TrigSteeringEventTPCnv/Lvl1ResultCnv_p2.h
"
8
9
using namespace
LVL1CTP
;
10
11
void
Lvl1ResultCnv_p2::transToPers
(
const
LVL1CTP::Lvl1Result
* trans,
12
Lvl1Result_p2
* pers, MsgStream &log )
const
13
{
14
15
log << MSG::DEBUG <<
"Lvl1ResultCnv_p2::transToPers called "
<<
endmsg
;
16
17
pers->
m_configured
= trans->
isConfigured
();
18
pers->
m_l1_itemsTBP
= trans->
itemsBeforePrescale
();
19
pers->
m_l1_itemsTAP
= trans->
itemsAfterPrescale
();
20
pers->
m_l1_itemsTAV
= trans->
itemsAfterVeto
();
21
22
}
23
24
void
Lvl1ResultCnv_p2::persToTrans
(
const
LVL1CTP::Lvl1Result_p2
* pers,
25
Lvl1Result
* trans, MsgStream &log )
const
26
{
27
28
log << MSG::DEBUG <<
"Lvl1ResultCnv_p2::persToTrans called "
<<
endmsg
;
29
30
*trans =
Lvl1Result
(pers->
m_configured
);
31
trans->
itemsBeforePrescale
() = pers->
m_l1_itemsTBP
;
32
trans->
itemsAfterPrescale
() = pers->
m_l1_itemsTAP
;
33
trans->
itemsAfterVeto
() = pers->
m_l1_itemsTAV
;
34
}
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:54
Lvl1ResultCnv_p2.h
Lvl1Result.h
Lvl1Result_p2.h
LVL1CTP::Lvl1ResultCnv_p2::transToPers
virtual void transToPers(const Lvl1Result *transObj, Lvl1Result_p2 *persObj, MsgStream &log) const override
Definition
Lvl1ResultCnv_p2.cxx:11
LVL1CTP::Lvl1ResultCnv_p2::persToTrans
virtual void persToTrans(const Lvl1Result_p2 *persObj, Lvl1Result *transObj, MsgStream &log) const override
Definition
Lvl1ResultCnv_p2.cxx:24
LVL1CTP::Lvl1Result_p2
Definition
Lvl1Result_p2.h:33
LVL1CTP::Lvl1Result_p2::m_l1_itemsTAV
std::vector< uint32_t > m_l1_itemsTAV
Trigger (level 1 items) After Veto (==final L1 decision).
Definition
Lvl1Result_p2.h:51
LVL1CTP::Lvl1Result_p2::m_l1_itemsTBP
std::vector< uint32_t > m_l1_itemsTBP
Trigger (level 1 items) Before Prescale.
Definition
Lvl1Result_p2.h:49
LVL1CTP::Lvl1Result_p2::m_l1_itemsTAP
std::vector< uint32_t > m_l1_itemsTAP
Trigger (level 1 items) After Prescale.
Definition
Lvl1Result_p2.h:50
LVL1CTP::Lvl1Result_p2::m_configured
bool m_configured
Definition
Lvl1Result_p2.h:46
LVL1CTP::Lvl1Result
Definition
Lvl1Result.h:30
LVL1CTP::Lvl1Result::isConfigured
bool isConfigured() const
is LVL1 configured ?
Definition
Lvl1Result.h:37
LVL1CTP::Lvl1Result::itemsAfterVeto
const std::vector< uint32_t > & itemsAfterVeto() const
Definition
Lvl1Result.h:55
LVL1CTP::Lvl1Result::itemsAfterPrescale
const std::vector< uint32_t > & itemsAfterPrescale() const
Definition
Lvl1Result.h:54
LVL1CTP::Lvl1Result::itemsBeforePrescale
const std::vector< uint32_t > & itemsBeforePrescale() const
Definition
Lvl1Result.h:53
LVL1CTP
Definition
Lvl1ResultAccessTool.h:20
Generated on
for ATLAS Offline Software by
1.17.0