ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerRoot
src
RootD3PDSvc.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-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
14
15
16
#ifndef D3PDMAKERROOT_ROOTD3PDSVC_H
17
#define D3PDMAKERROOT_ROOTD3PDSVC_H
18
19
#include "
D3PDMakerInterfaces/ID3PDSvc.h
"
20
#include "
AthenaBaseComps/AthService.h
"
21
#include "GaudiKernel/ServiceHandle.h"
22
#include "GaudiKernel/ITHistSvc.h"
23
#include <vector>
24
#include <string>
25
26
#include "
RootD3PD.h
"
27
28
namespace
D3PD
{
29
30
31
// class RootD3PD;
32
33
37
class
RootD3PDSvc
38
:
public
extends<AthService, ID3PDSvc>
39
{
40
public
:
46
RootD3PDSvc
(
const
std::string& name,
47
ISvcLocator* svcloc);
48
50
virtual
StatusCode
initialize
()
override
;
51
53
virtual
StatusCode
finalize
()
override
;
54
56
virtual
StatusCode
stop
()
override
;
57
68
virtual
StatusCode make (
const
std::string& name,
ID3PD
* & d3pd)
override
;
69
70
71
private
:
73
static
void
cleanup();
74
75
77
bool
m_doBranchRef;
78
82
std::string m_masterTree;
83
85
std::string m_indexMajor;
87
std::string m_indexMinor;
88
90
int
m_basketSize;
91
93
int
m_entryOffsetLen;
94
101
long
long
m_autoFlush;
102
104
std::vector< std::string > m_allowedNames;
105
107
std::vector< std::string > m_vetoedNames;
108
110
ServiceHandle<ITHistSvc>
m_histSvc;
111
113
std::vector<std::unique_ptr<RootD3PD> > m_d3pds;
114
115
// Disallow copying.
116
RootD3PDSvc
(
const
RootD3PDSvc
&);
117
RootD3PDSvc
&
operator=
(
const
RootD3PDSvc
&);
118
};
119
120
121
}
// namespace D3PD
122
123
124
#endif
// not D3PDMAKERROOT_ROOTD3PDSVC_H
operator=
ElementLink & operator=(const ElementLink &)=default
AthService.h
ID3PDSvc.h
Abstract interface for service to create D3PD trees.
RootD3PD.h
Root-based D3PD tree.
D3PD::ID3PD
Define an abstract interface for building a D3PD tree.
Definition
ID3PD.h:37
D3PD::RootD3PDSvc::stop
virtual StatusCode stop() override
Standard Gaudi stop method.
Definition
RootD3PDSvc.cxx:115
D3PD::RootD3PDSvc::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition
RootD3PDSvc.cxx:95
D3PD::RootD3PDSvc::finalize
virtual StatusCode finalize() override
Standard Gaudi finalize method.
Definition
RootD3PDSvc.cxx:106
D3PD::RootD3PDSvc::RootD3PDSvc
RootD3PDSvc(const std::string &name, ISvcLocator *svcloc)
Constructor.
Definition
RootD3PDSvc.cxx:32
ServiceHandle
Definition
ClusterMakerTool.h:36
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0