Belle II Software development
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 {
25 public:
28
30 virtual void initialize() override;
31
33 virtual void event() override;
34
35 private:
38
41 };
43}
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.