ATLAS Offline Software
LBMetadataTool.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
15 #ifndef EVENTCOMMOND3PDMAKER_LBMETADATATOOL_H
16 #define EVENTCOMMOND3PDMAKER_LBMETADATATOOL_H
17 
18 
21 #include "GaudiKernel/ToolHandle.h"
22 
23 
24 namespace D3PD {
25 
26 
31  : public extends<AthAlgTool, IMetadataTool>
32 {
33 public:
40  LBMetadataTool (const std::string& type,
41  const std::string& name,
42  const IInterface* parent);
43 
44 
46  virtual StatusCode initialize() override;
47 
52  virtual StatusCode writeMetadata (ID3PD* d3pd) override;
53 
54 
55 private:
57  std::string m_metakey;
58 };
59 
60 
61 } // namespace D3PD
62 
63 
64 #endif // not EVENTCOMMOND3PDMAKER_LBMETADATATOOL_H
D3PD::LBMetadataTool::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition: LBMetadataTool.cxx:43
IMetadataTool.h
Write metadata to a D3PD.
D3PD::ID3PD
Define an abstract interface for building a D3PD tree.
Definition: ID3PD.h:37
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
D3PD::LBMetadataTool::writeMetadata
virtual StatusCode writeMetadata(ID3PD *d3pd) override
Write metadata to a D3PD.
Definition: LBMetadataTool.cxx:53
D3PD::LBMetadataTool
Add luminosity metadata info to a D3PD.
Definition: LBMetadataTool.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
D3PD::LBMetadataTool::m_metakey
std::string m_metakey
Key for output metadata.
Definition: LBMetadataTool.h:57
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::LBMetadataTool::LBMetadataTool
LBMetadataTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: LBMetadataTool.cxx:30