Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
RootReaderD3PDSvc.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef D3PDMAKERREADER_ROOTREADERD3PDSVC_H
8 #define D3PDMAKERREADER_ROOTREADERD3PDSVC_H
9 
10 // STL include(s):
11 #include <map>
12 #include <string>
13 
14 // Gaudi/Athena include(s):
16 
17 // D3PDMaker include(s):
19 
20 namespace D3PD {
21 
33  class RootReaderD3PDSvc : public extends<AthService, ID3PDSvc> {
34 
35  public:
37  RootReaderD3PDSvc( const std::string& name, ISvcLocator* svcloc );
38 
40  virtual StatusCode initialize() override;
42  virtual StatusCode finalize() override;
43 
45  virtual StatusCode make( const std::string& name, ID3PD*& d3pd ) override;
46 
47  private:
49  std::vector< ID3PD* > m_d3pds;
50 
52  int m_version;
53 
54  }; // class RootReaderD3PDSvc
55 
56 } // namespace D3PD
57 
58 #endif // D3PDMAKERREADER_ROOTREADERD3PDSVC_H
D3PD::RootReaderD3PDSvc::make
virtual StatusCode make(const std::string &name, ID3PD *&d3pd) override
Function implementing the ID3PDSvc interface.
Definition: RootReaderD3PDSvc.cxx:49
D3PD::RootReaderD3PDSvc
A very simple D3PDSvc which produces RootReaderD3PD objects.
Definition: RootReaderD3PDSvc.h:33
D3PD::ID3PD
Define an abstract interface for building a D3PD tree.
Definition: ID3PD.h:37
D3PD::RootReaderD3PDSvc::m_d3pds
std::vector< ID3PD * > m_d3pds
Internal list of all the created D3PD objects.
Definition: RootReaderD3PDSvc.h:49
D3PD::RootReaderD3PDSvc::initialize
virtual StatusCode initialize() override
Standatd Gaudi initialization function.
Definition: RootReaderD3PDSvc.cxx:23
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
D3PD::RootReaderD3PDSvc::RootReaderD3PDSvc
RootReaderD3PDSvc(const std::string &name, ISvcLocator *svcloc)
Standard Service constructor.
Definition: RootReaderD3PDSvc.cxx:16
D3PD::RootReaderD3PDSvc::finalize
virtual StatusCode finalize() override
Standard Gaudi finalization function.
Definition: RootReaderD3PDSvc.cxx:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
D3PD::RootReaderD3PDSvc::m_version
int m_version
D3PDReader version to use.
Definition: RootReaderD3PDSvc.h:52
AthService.h
ID3PDSvc.h
Abstract interface for service to create D3PD trees.