ATLAS Offline Software
Trigger
TrigAnalysis
TrigDecisionTool
Root
TrigDecisionToolCore.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
/**********************************************************************************
6
* @Project: TrigDecisionTool
7
* @Package: TrigDecisionTool
8
* @Class : TrigDecisionTool
9
*
10
* @brief main tool
11
*
12
* @author Michael Begel <michael.begel@cern.ch> - Brookhaven National Laboratory
13
*
14
***********************************************************************************/
15
16
#include "
CxxUtils/checker_macros.h
"
17
18
#include "
TrigConfHLTData/HLTChainList.h
"
19
#include "
TrigConfL1Data/CTPConfig.h
"
20
#include "
TrigConfL1Data/Menu.h
"
21
22
#include "
TrigDecisionTool/TrigDecisionToolCore.h
"
23
24
25
Trig::TrigDecisionToolCore::TrigDecisionToolCore
() :
26
m_expertMethods(&m_cacheGlobalMemory)
27
{
28
}
29
30
Trig::CacheGlobalMemory
*
Trig::TrigDecisionToolCore::cgm
() {
31
Trig::CacheGlobalMemory
*
ptr
= m_cacheGlobalMemory.get();
32
// A consequence of placing the cache in a slot-specific wrapper
33
ptr
->navigation (m_navigation);
34
return
ptr
;
35
}
36
37
const
Trig::CacheGlobalMemory
*
Trig::TrigDecisionToolCore::cgm
()
const
{
38
const
Trig::CacheGlobalMemory
*
ptr
= m_cacheGlobalMemory.get();
39
// A consequence of placing the cache in a slot-specific wrapper
40
Trig::CacheGlobalMemory
*
p
ATLAS_THREAD_SAFE
=
const_cast<
Trig::CacheGlobalMemory
*
>
(
ptr
);
41
HLT::TrigNavStructure
* navigation
ATLAS_THREAD_SAFE
= m_navigation;
42
p
->navigation (navigation);
43
return
ptr
;
44
}
45
46
Trig::TrigDecisionToolCore::~TrigDecisionToolCore
() {
47
}
48
49
50
StatusCode
Trig::TrigDecisionToolCore::initialize
() {
51
ChainGroupInitialize();
52
return
StatusCode::SUCCESS;
53
}
54
55
StatusCode
Trig::TrigDecisionToolCore::finalize
() {
56
return
StatusCode::SUCCESS;
57
}
CTPConfig.h
HLTChainList.h
Trig::TrigDecisionToolCore::finalize
virtual StatusCode finalize()
Definition:
TrigDecisionToolCore.cxx:55
Menu.h
Trig::CacheGlobalMemory
Definition:
CacheGlobalMemory.h:67
dbg::ptr
void * ptr(T *p)
Definition:
SGImplSvc.cxx:74
HLT::TrigNavStructure
Definition:
TrigNavStructure.h:40
Trig::TrigDecisionToolCore::initialize
virtual StatusCode initialize()
Definition:
TrigDecisionToolCore.cxx:50
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trig::TrigDecisionToolCore::TrigDecisionToolCore
TrigDecisionToolCore()
Definition:
TrigDecisionToolCore.cxx:25
Trig::TrigDecisionToolCore::cgm
virtual Trig::CacheGlobalMemory * cgm()
Definition:
TrigDecisionToolCore.cxx:30
TrigDecisionToolCore.h
Trig::TrigDecisionToolCore::~TrigDecisionToolCore
virtual ~TrigDecisionToolCore()
Definition:
TrigDecisionToolCore.cxx:46
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition:
checker_macros.h:211
checker_macros.h
Define macros for attributes used to control the static checker.
Generated on Thu Nov 7 2024 21:29:30 for ATLAS Offline Software by
1.8.18