ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigDecisionEvent
TrigDecisionEvent
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/**********************************************************************************
6
* @Project: HLT
7
* @Package: TrigDecisionEvent
8
* @class : TrigDecision
9
*
10
* @brief transient trigger decision class
11
*
12
* @author Nicolas Berger <Nicolas.Berger@cern.ch> - CERN
13
* @author Till Eifert <Till.Eifert@cern.ch> - U. of Geneva, Switzerland
14
* @author Ricardo Goncalo <Jose.Goncalo@cern.ch> - Royal Holloway, U. of London
15
* @author Fabrizio Salvatore <p.salvatore@cern.ch> - University of Sussex/Royal Holloway,
16
* U. of London
17
*
18
* File and Version Information:
19
* $Id: TrigDecision.h,v 1.3 2009-02-11 13:43:06 tbold Exp $
20
**********************************************************************************/
21
22
#ifndef TrigDecisionEvent_TrigDecision_H
23
#define TrigDecisionEvent_TrigDecision_H
24
25
#include "AthLinks/DataLink.h"
26
#include "
TrigSteeringEvent/Enums.h
"
27
28
29
#include "
TrigSteeringEvent/Lvl1Result.h
"
30
#include "
TrigSteeringEvent/HLTResult.h
"
31
32
#include "
xAODCore/CLASS_DEF.h
"
33
#include <string>
34
#include <memory>
35
#include <stdint.h>
36
37
38
39
namespace
TrigDec
{
40
class
TrigDecisionCnv_p1
;
41
46
class
TrigDecision
47
{
48
public
:
49
50
// constructors
51
TrigDecision
();
52
53
TrigDecision
(
const
LVL1CTP::Lvl1Result
& l1Result,
54
const
HLT::HLTResult
& l2Result,
55
const
HLT::HLTResult
& efResult,
56
uint32_t
masterKey
= 0 );
57
58
TrigDecision
(
const
LVL1CTP::Lvl1Result
& l1Result,
59
const
HLT::HLTResult
& HltResult,
60
uint32_t
masterKey
= 0 );
61
62
TrigDecision
(
const
LVL1CTP::Lvl1Result
& l1Result,
63
const
DataLink<HLT::HLTResult>
& l2Result,
64
const
DataLink<HLT::HLTResult>
& efResult,
65
uint32_t
masterKey
= 0,
66
char
bgCode = 0);
67
68
TrigDecision
&
operator=
(
TrigDecision
&&);
69
70
virtual
~TrigDecision
();
71
72
73
uint32_t
masterKey
()
const
{
return
m_configMasterKey
; }
74
char
BGCode
()
const
{
return
m_bgCode
; }
75
76
const
LVL1CTP::Lvl1Result
&
getL1Result
()
const
{
return
m_l1_result
; }
77
const
HLT::HLTResult
&
getL2Result
()
const
;
78
const
DataLink<HLT::HLTResult>
&
getL2ResultLink
()
const
{
return
m_l2_result
; }
79
const
HLT::HLTResult
&
getEFResult
()
const
;
80
const
DataLink<HLT::HLTResult>
&
getEFResultLink
()
const
{
return
m_ef_result
; }
81
const
HLT::HLTResult
&
getHLTResult
()
const
;
82
const
DataLink<HLT::HLTResult>
&
getHLTResultLink
()
const
{
return
m_hlt_result
; }
83
84
friend
class
TrigDecisionTool
;
85
friend
class
TrigDecisionMaker
;
86
87
private
:
88
friend
class
TrigDecisionCnv_p1
;
89
90
uint32_t
m_configMasterKey
;
91
char
m_bgCode
;
92
93
// The packed data
94
// ----------------
95
96
LVL1CTP::Lvl1Result
m_l1_result
;
97
DataLink<HLT::HLTResult>
m_l2_result
;
98
DataLink<HLT::HLTResult>
m_ef_result
;
99
DataLink<HLT::HLTResult>
m_hlt_result
;
100
101
std::unique_ptr<HLT::HLTResult>
m_l2_result_ptr
;
// this is for backward compatibility // remove in the next non-cache release
102
std::unique_ptr<HLT::HLTResult>
m_ef_result_ptr
;
// this is for backward compatibility
103
};
104
105
}
// end of namespace
106
107
CLASS_DEF
(
TrigDec::TrigDecision
, 4356087 , 1 )
108
109
#endif
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
CLASS_DEF.h
File providing the different SG_BASE macros.
HLTResult.h
Lvl1Result.h
Enums.h
DataLink
Object reference supporting deferred reading from StoreGate.
Definition
AthLinks/DataLink.h:93
HLT::HLTResult
HLT::HLTResult is sumarising result of trigger decision evaluation (online/offline) It contains basic...
Definition
HLTResult.h:49
LVL1CTP::Lvl1Result
Definition
Lvl1Result.h:30
TrigDec::TrigDecisionCnv_p1
Definition
TrigDecisionCnv_p1.h:38
TrigDec::TrigDecision
The TrigDecision is an object which merges trigger informations from various levels.
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:47
TrigDec::TrigDecision::BGCode
char BGCode() const
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:74
TrigDec::TrigDecision::TrigDecision
TrigDecision()
Definition
TrigDecision.cxx:30
TrigDec::TrigDecision::TrigDecisionTool
friend class TrigDecisionTool
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:84
TrigDec::TrigDecision::getEFResult
const HLT::HLTResult & getEFResult() const
Definition
TrigDecision.cxx:98
TrigDec::TrigDecision::getL2ResultLink
const DataLink< HLT::HLTResult > & getL2ResultLink() const
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:78
TrigDec::TrigDecision::getL2Result
const HLT::HLTResult & getL2Result() const
Definition
TrigDecision.cxx:87
TrigDec::TrigDecision::m_l1_result
LVL1CTP::Lvl1Result m_l1_result
Lvl1Result.
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:96
TrigDec::TrigDecision::operator=
TrigDecision & operator=(TrigDecision &&)
TrigDec::TrigDecision::m_configMasterKey
uint32_t m_configMasterKey
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:90
TrigDec::TrigDecision::m_ef_result
DataLink< HLT::HLTResult > m_ef_result
HLTResult of trigger level EF.
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:98
TrigDec::TrigDecision::getEFResultLink
const DataLink< HLT::HLTResult > & getEFResultLink() const
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:80
TrigDec::TrigDecision::TrigDecisionMaker
friend class TrigDecisionMaker
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:85
TrigDec::TrigDecision::getHLTResult
const HLT::HLTResult & getHLTResult() const
Definition
TrigDecision.cxx:109
TrigDec::TrigDecision::m_ef_result_ptr
std::unique_ptr< HLT::HLTResult > m_ef_result_ptr
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:102
TrigDec::TrigDecision::m_l2_result_ptr
std::unique_ptr< HLT::HLTResult > m_l2_result_ptr
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:101
TrigDec::TrigDecision::m_l2_result
DataLink< HLT::HLTResult > m_l2_result
HLTResult of trigger level 2.
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:97
TrigDec::TrigDecision::masterKey
uint32_t masterKey() const
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:73
TrigDec::TrigDecision::getL1Result
const LVL1CTP::Lvl1Result & getL1Result() const
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:76
TrigDec::TrigDecision::m_hlt_result
DataLink< HLT::HLTResult > m_hlt_result
HLTResult of merged L2EF.
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:99
TrigDec::TrigDecision::~TrigDecision
virtual ~TrigDecision()
Definition
TrigDecision.cxx:79
TrigDec::TrigDecision::TrigDecisionCnv_p1
friend class TrigDecisionCnv_p1
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:88
TrigDec::TrigDecision::m_bgCode
char m_bgCode
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:91
TrigDec::TrigDecision::getHLTResultLink
const DataLink< HLT::HLTResult > & getHLTResultLink() const
Definition
Trigger/TrigEvent/TrigDecisionEvent/TrigDecisionEvent/TrigDecision.h:82
TrigDec
Definition
ITrigDecisionCnvTool.h:18
Generated on
for ATLAS Offline Software by
1.17.0