Belle II Software light-2406-ragdoll
EventErrorFlagModule.h
1#pragma once
2/**************************************************************************
3 * basf2 (Belle II Analysis Software Framework) *
4 * Author: The Belle II Collaboration *
5 * *
6 * See git log for contributors and copyright holders. *
7 * This file is licensed under LGPL-3.0, see LICENSE.md. *
8 **************************************************************************/
9
10#include <framework/core/Module.h>
11#include <framework/dataobjects/EventMetaData.h>
12#include <framework/datastore/StoreObjPtr.h>
13
14namespace Belle2 {
28 public:
31
33 virtual void initialize() override;
34
36 virtual void event() override;
37
38 private:
41
44 };
46}
Module to check or add error flags of the EventMetaData.
EventErrorFlagModule()
Constructor of the module.
virtual void initialize() override
Initializes the datastore pointers.
virtual void event() override
Checks and adds the EventMetaData error flags.
int m_ErrorFlag
Error flags to add.
StoreObjPtr< EventMetaData > m_eventMetaData
event meta data
Base class for Modules.
Definition: Module.h:72
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:24