PODIO
v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
IMetaDataProvider.h
Go to the documentation of this file.
1
#ifndef PODIO_IMETADATAPROVIDER_H
2
#define PODIO_IMETADATAPROVIDER_H
3
4
#include "
podio/GenericParameters.h
"
5
#include "
podio/utilities/Deprecated.h
"
6
7
namespace
podio
{
8
9
/** Inteface to access meta data for runs, events and collections.
10
* @author F. Gaede, DESY
11
* @date Apr 2020
12
*/
13
class
DEPR_EVTSTORE
IMetaDataProvider
{
14
15
public
:
16
/// destructor
17
virtual
~IMetaDataProvider
() =
default
;
18
19
/// return the event meta data for the current event
20
virtual
GenericParameters
&
getEventMetaData
() = 0;
21
22
/// return the run meta data for the given runID
23
virtual
GenericParameters
&
getRunMetaData
(
int
runID) = 0;
24
25
/// return the collection meta data for the given colID
26
virtual
GenericParameters
&
getCollectionMetaData
(
int
colID) = 0;
27
};
28
29
}
// namespace podio
30
31
#endif
Deprecated.h
DEPR_EVTSTORE
#define DEPR_EVTSTORE
Definition:
Deprecated.h:4
GenericParameters.h
podio::GenericParameters
Definition:
GenericParameters.h:74
podio::IMetaDataProvider
Definition:
IMetaDataProvider.h:13
podio::IMetaDataProvider::getEventMetaData
virtual GenericParameters & getEventMetaData()=0
return the event meta data for the current event
podio::IMetaDataProvider::getRunMetaData
virtual GenericParameters & getRunMetaData(int runID)=0
return the run meta data for the given runID
podio::IMetaDataProvider::getCollectionMetaData
virtual GenericParameters & getCollectionMetaData(int colID)=0
return the collection meta data for the given colID
podio::IMetaDataProvider::~IMetaDataProvider
virtual ~IMetaDataProvider()=default
destructor
podio
Definition:
ASCIIWriter.h:14
podio-00-16-03
include
podio
IMetaDataProvider.h
Generated by
1.9.6