ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1CaloFEX
L1CaloFEXCond
src
jFEXCondAlgo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
//***************************************************************************
5
// Interface for jFEXCondAlgo - Tool to read the COOL DB for jFEX
6
// -------------------
7
// begin : 01 08 2023
8
// email : Sergi.Rodriguez@cern.ch
9
//***************************************************************************
10
11
#ifndef jFEXCondAlgo_H
12
#define jFEXCondAlgo_H
13
14
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
15
#include "
AthenaKernel/CLASS_DEF.h
"
16
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
17
#include "
StoreGate/WriteCondHandleKey.h
"
18
#include "
StoreGate/ReadCondHandleKey.h
"
19
#include "
L1CaloFEXCond/jFEXDBCondData.h
"
20
21
22
namespace
LVL1
{
23
24
class
jFEXCondAlgo
:
public
AthCondAlgorithm
{
25
26
public
:
28
jFEXCondAlgo
(
const
std::string&
name
, ISvcLocator* svc);
29
31
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext& )
const override
;
34
35
private
:
36
37
// Key for writing CondHandles
38
SG::WriteCondHandleKey<jFEXDBCondData>
m_jFEXDBParamsKey
{
this
,
"jFEXDBParamsKey"
,
"jFEXDBParams"
,
"Output for jFEX DB parameters"
};
39
40
// Key for reading CondHandles
41
SG::ReadCondHandleKey<CondAttrListCollection>
m_JfexModuleSettingsKey
{
this
,
"JfexModuleSettings"
,
""
,
"Key to store JfexModuleSettings DB path"
};
42
SG::ReadCondHandleKey<CondAttrListCollection>
m_JfexNoiseCutsKey
{
this
,
"JfexNoiseCuts"
,
""
,
"Key to store JfexNoiseCuts DB path"
};
43
SG::ReadCondHandleKey<CondAttrListCollection>
m_JfexSystemSettingsKey
{
this
,
"JfexSystemSettings"
,
""
,
"Key to store JfexSystemSettings DB path"
};
44
45
UnsignedIntegerProperty
m_dbBeginTimestamp
{
this
,
"BeginTimestamp"
, 1698527690,
"Earliest timestamp that db parameters will be loaded. Default is start of 2023-10-27"
};
46
47
Gaudi::Property<bool>
m_isMC
{
this
,
"IsMC"
,
false
,
"For MC, always access the DB"
};
48
49
};
50
51
52
53
}
//end of namespace
54
55
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
CLASS_DEF.h
macros to associate a CLID to a type
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
LVL1::jFEXCondAlgo::jFEXCondAlgo
jFEXCondAlgo(const std::string &name, ISvcLocator *svc)
Constructors.
Definition
jFEXCondAlgo.cxx:27
LVL1::jFEXCondAlgo::m_JfexNoiseCutsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexNoiseCutsKey
Definition
jFEXCondAlgo.h:42
LVL1::jFEXCondAlgo::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition
jFEXCondAlgo.cxx:29
LVL1::jFEXCondAlgo::m_JfexSystemSettingsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexSystemSettingsKey
Definition
jFEXCondAlgo.h:43
LVL1::jFEXCondAlgo::m_jFEXDBParamsKey
SG::WriteCondHandleKey< jFEXDBCondData > m_jFEXDBParamsKey
Definition
jFEXCondAlgo.h:38
LVL1::jFEXCondAlgo::execute
virtual StatusCode execute(const EventContext &) const override
Function executing the algorithm.
Definition
jFEXCondAlgo.cxx:42
LVL1::jFEXCondAlgo::m_isMC
Gaudi::Property< bool > m_isMC
Definition
jFEXCondAlgo.h:47
LVL1::jFEXCondAlgo::m_dbBeginTimestamp
UnsignedIntegerProperty m_dbBeginTimestamp
Definition
jFEXCondAlgo.h:45
LVL1::jFEXCondAlgo::m_JfexModuleSettingsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexModuleSettingsKey
Definition
jFEXCondAlgo.h:41
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
jFEXDBCondData.h
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0