ATLAS Offline Software
Loading...
Searching...
No Matches
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
20
21
22namespace LVL1 {
23
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
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
macros to associate a CLID to a type
Base class for conditions algorithms.
jFEXCondAlgo(const std::string &name, ISvcLocator *svc)
Constructors.
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexNoiseCutsKey
virtual StatusCode initialize() override
Function initialising the algorithm.
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexSystemSettingsKey
SG::WriteCondHandleKey< jFEXDBCondData > m_jFEXDBParamsKey
virtual StatusCode execute(const EventContext &) const override
Function executing the algorithm.
Gaudi::Property< bool > m_isMC
UnsignedIntegerProperty m_dbBeginTimestamp
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexModuleSettingsKey
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...