ATLAS Offline Software
TGCTriggerDbAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TGCTRIGGERDBALG_H
6 #define TGCTRIGGERDBALG_H
7 
13 
15 {
16  public:
17  TGCTriggerDbAlg (const std::string& name, ISvcLocator* pSvcLocator);
18  virtual ~TGCTriggerDbAlg() = default;
19  virtual StatusCode initialize() override;
20  virtual StatusCode execute() override;
21  virtual StatusCode finalize() override;
22 
23  private:
24  void fillReadMapBw(TGCTriggerData* writeCdo, const CondAttrListCollection* readKey);
25  void fillTrigBitEifi(TGCTriggerData* writeCdo, const CondAttrListCollection* readKey);
26  void fillTrigBitTile(TGCTriggerData* writeCdo, const CondAttrListCollection* readKey);
27 
28  SG::ReadCondHandleKey<CondAttrListCollection> m_readKey_bw{this, "ReadKeyBw", "/TGC/TRIGGER/CW_BW", "SG key for CW-BW"};
29  SG::ReadCondHandleKey<CondAttrListCollection> m_readKey_eifi{this, "ReadKeyEifi", "/TGC/TRIGGER/CW_EIFI", "SG key for CW-EIFI"};
30  SG::ReadCondHandleKey<CondAttrListCollection> m_readKey_tile{this, "ReadKeyTile", "/TGC/TRIGGER/CW_TILE", "SG key for CW-TILE"};
31  SG::WriteCondHandleKey<TGCTriggerData> m_writeKey{this, "WriteKey", "TGCTriggerData", "SG Key of TGCTrigger LUTs"};
32 };
33 
34 #endif
35 
36 
TGCTriggerDbAlg::initialize
virtual StatusCode initialize() override
Definition: TGCTriggerDbAlg.cxx:13
TGCTriggerDbAlg::m_readKey_bw
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_bw
Definition: TGCTriggerDbAlg.h:28
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
WriteCondHandleKey.h
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition: CondAttrListCollection.h:52
TGCTriggerDbAlg::finalize
virtual StatusCode finalize() override
Definition: TGCTriggerDbAlg.cxx:115
TGCTriggerDbAlg::TGCTriggerDbAlg
TGCTriggerDbAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TGCTriggerDbAlg.cxx:9
TGCTriggerDbAlg::fillReadMapBw
void fillReadMapBw(TGCTriggerData *writeCdo, const CondAttrListCollection *readKey)
Definition: TGCTriggerDbAlg.cxx:122
TGCTriggerDbAlg::m_readKey_eifi
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_eifi
Definition: TGCTriggerDbAlg.h:29
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TGCTriggerDbAlg
Definition: TGCTriggerDbAlg.h:15
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SG::ReadCondHandleKey< CondAttrListCollection >
TGCTriggerDbAlg::~TGCTriggerDbAlg
virtual ~TGCTriggerDbAlg()=default
TGCTriggerDbAlg::m_writeKey
SG::WriteCondHandleKey< TGCTriggerData > m_writeKey
Definition: TGCTriggerDbAlg.h:31
TGCTriggerDbAlg::execute
virtual StatusCode execute() override
Definition: TGCTriggerDbAlg.cxx:26
TGCTriggerDbAlg::m_readKey_tile
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_tile
Definition: TGCTriggerDbAlg.h:30
TGCTriggerDbAlg::fillTrigBitEifi
void fillTrigBitEifi(TGCTriggerData *writeCdo, const CondAttrListCollection *readKey)
Definition: TGCTriggerDbAlg.cxx:243
TGCTriggerData
Definition: TGCTriggerData.h:102
SG::WriteCondHandleKey< TGCTriggerData >
TGCTriggerDbAlg::fillTrigBitTile
void fillTrigBitTile(TGCTriggerData *writeCdo, const CondAttrListCollection *readKey)
Definition: TGCTriggerDbAlg.cxx:358
TGCTriggerData.h