ATLAS Offline Software
Loading...
Searching...
No Matches
ID3PD.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#ifndef D3PDMAKERINTERFACES_ID3PD_H
16#define D3PDMAKERINTERFACES_ID3PD_H
17
19#include "GaudiKernel/StatusCode.h"
20#include <typeinfo>
21#include <string>
22
23
24namespace D3PD {
25
26
35class ID3PD
36 : public IAddVariable
37{
38public:
42 virtual StatusCode capture () = 0;
43
44
48 virtual StatusCode clear () = 0;
49
50
52 typedef unsigned int Dim_t;
53 virtual StatusCode redim (const Dim_t* ptr) = 0;
54
55
69 virtual StatusCode addMetadata (const std::string& key,
70 const void* obj,
71 const std::type_info& ti) = 0;
72
73
86 template <class T>
87 StatusCode addMetadata (const std::string& key, const T* obj);
88};
89
90
91} // namespace D3PD
92
93
95
96
97#endif // not D3PDMAKERINTERFACES_ID3PD_H
Common interface for adding a variable to a tuple.
Common interface for adding a variable to a tuple.
Define an abstract interface for building a D3PD tree.
Definition ID3PD.h:37
virtual StatusCode addMetadata(const std::string &key, const void *obj, const std::type_info &ti)=0
Add a new piece of metadata to the tuple.
virtual StatusCode redim(const Dim_t *ptr)=0
StatusCode addMetadata(const std::string &key, const T *obj)
Add a new piece of metadata to the tuple.
unsigned int Dim_t
Currently unimplemented — see design note.
Definition ID3PD.h:52
virtual StatusCode capture()=0
Capture the current state of all variables and write to the tuple.
virtual StatusCode clear()=0
Clear all the tuple variables.
Block filler tool for noisy FEB information.