ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerReader
src
RootObjectMetadata.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: RootObjectMetadata.h 530460 2012-12-13 18:27:24Z krasznaa $
8
#ifndef D3PDMAKERREADER_ROOTOBJECTMETADATA_H
9
#define D3PDMAKERREADER_ROOTOBJECTMETADATA_H
10
11
12
13
// D3PD include(s):
14
#include "
D3PDMakerUtils/ObjectMetadata.h
"
15
// STL include(s):
16
#include <string>
17
18
namespace
D3PD
{
19
33
class
RootObjectMetadata
:
public
ObjectMetadata
{
34
35
public
:
37
RootObjectMetadata
();
39
RootObjectMetadata
(
const
RootObjectMetadata
& parent );
40
42
using
ObjectMetadata::addVariable
;
43
45
StatusCode
addVariable
(
const
std::string&
name
,
46
const
std::string&
type
,
47
const
std::string& docstring );
48
50
StatusCode
checkPrefixes
();
51
53
static
bool
isObjectMetadata
(
const
std::string&
name
);
54
55
private
:
56
// Avoid coverity warning.
57
RootObjectMetadata
&
operator=
(
const
RootObjectMetadata
& );
58
59
};
// class RootObjectMetadata
60
61
}
// namespace D3PD
62
63
#endif
// D3PDMAKERREADER_ROOTOBJECTMETADATA_H
ObjectMetadata.h
D3PD::ObjectMetadata::name
const std::string & name() const
Get the name of the D3PDObject that this object describes.
Definition
ObjectMetadata.cxx:170
D3PD::ObjectMetadata::addVariable
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
This function can be used to save the metadata about a D3PD variable.
Definition
ObjectMetadata.cxx:109
D3PD::ObjectMetadata::ObjectMetadata
ObjectMetadata()
Default constructor.
Definition
ObjectMetadata.cxx:61
D3PD::RootObjectMetadata::addVariable
StatusCode addVariable(const std::string &name, const std::string &type, const std::string &docstring)
Function adding a variable, when the exact type_info is not available.
Definition
RootObjectMetadata.cxx:30
D3PD::RootObjectMetadata::isObjectMetadata
static bool isObjectMetadata(const std::string &name)
Function guessing if an object with a given name is object metadata.
Definition
RootObjectMetadata.cxx:117
D3PD::RootObjectMetadata::checkPrefixes
StatusCode checkPrefixes()
Remove possibly overlooked prefixes in the variable names.
Definition
RootObjectMetadata.cxx:77
D3PD::RootObjectMetadata::operator=
RootObjectMetadata & operator=(const RootObjectMetadata &)
D3PD::RootObjectMetadata::RootObjectMetadata
RootObjectMetadata()
Default constructor.
Definition
RootObjectMetadata.cxx:20
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
type
Generated on
for ATLAS Offline Software by
1.14.0