ATLAS Offline Software
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 
15 #include "AthenaKernel/CLASS_DEF.h"
20 
21 
22 namespace 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  virtual bool isReEntrant() const override final { return false; }
35 
36  private:
37 
38  // Key for writing CondHandles
39  SG::WriteCondHandleKey<jFEXDBCondData> m_jFEXDBParamsKey {this, "jFEXDBParamsKey", "jFEXDBParams", "Output for jFEX DB parameters"};
40 
41  // Key for reading CondHandles
42  SG::ReadCondHandleKey<CondAttrListCollection> m_JfexModuleSettingsKey{this,"JfexModuleSettings", "", "Key to store JfexModuleSettings DB path"};
43  SG::ReadCondHandleKey<CondAttrListCollection> m_JfexNoiseCutsKey {this,"JfexNoiseCuts" , "", "Key to store JfexNoiseCuts DB path" };
44  SG::ReadCondHandleKey<CondAttrListCollection> m_JfexSystemSettingsKey{this,"JfexSystemSettings", "", "Key to store JfexSystemSettings DB path"};
45 
46  UnsignedIntegerProperty m_dbBeginTimestamp {this,"BeginTimestamp", 1698527690,"Earliest timestamp that db parameters will be loaded. Default is start of 2023-10-27"};
47 
48  Gaudi::Property<bool> m_isMC {this, "IsMC", false, "For MC, always access the DB"};
49 
50 };
51 
52 
53 
54 }//end of namespace
55 
56 #endif
LVL1::jFEXCondAlgo::m_jFEXDBParamsKey
SG::WriteCondHandleKey< jFEXDBCondData > m_jFEXDBParamsKey
Definition: jFEXCondAlgo.h:39
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LVL1::jFEXCondAlgo::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition: jFEXCondAlgo.cxx:29
LVL1::jFEXCondAlgo::m_isMC
Gaudi::Property< bool > m_isMC
Definition: jFEXCondAlgo.h:48
jFEXDBCondData.h
LVL1::jFEXCondAlgo::isReEntrant
virtual bool isReEntrant() const override final
Definition: jFEXCondAlgo.h:34
WriteCondHandleKey.h
LVL1::jFEXCondAlgo::m_JfexNoiseCutsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexNoiseCutsKey
Definition: jFEXCondAlgo.h:43
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LVL1::jFEXCondAlgo::m_dbBeginTimestamp
UnsignedIntegerProperty m_dbBeginTimestamp
Definition: jFEXCondAlgo.h:46
LVL1::jFEXCondAlgo::execute
virtual StatusCode execute(const EventContext &) const override
Function executing the algorithm.
Definition: jFEXCondAlgo.cxx:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::jFEXCondAlgo::m_JfexModuleSettingsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexModuleSettingsKey
Definition: jFEXCondAlgo.h:42
LVL1::jFEXCondAlgo::m_JfexSystemSettingsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexSystemSettingsKey
Definition: jFEXCondAlgo.h:44
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
TrigConf::name
Definition: HLTChainList.h:35
ReadCondHandleKey.h
AthReentrantAlgorithm.h
LVL1::jFEXCondAlgo
Definition: jFEXCondAlgo.h:24
SG::ReadCondHandleKey< CondAttrListCollection >
LVL1::jFEXCondAlgo::jFEXCondAlgo
jFEXCondAlgo(const std::string &name, ISvcLocator *svc)
Constructors.
Definition: jFEXCondAlgo.cxx:27
SG::WriteCondHandleKey
Definition: WriteCondHandleKey.h:20
CLASS_DEF.h
macros to associate a CLID to a type