Belle II Software  release-05-02-19
EventErrorFlagModule.h
1 #pragma once
2 /**************************************************************************
3  * BASF2 (Belle Analysis Framework 2) *
4  * Copyright(C) 2020 - Belle II Collaboration *
5  * *
6  * Author: The Belle II Collaboration *
7  * Contributors: Thomas Kuhr *
8  * *
9  * This software is provided "as is" without any warranty. *
10  **************************************************************************/
11 
12 #include <framework/core/Module.h>
13 #include <framework/dataobjects/EventMetaData.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 
16 namespace Belle2 {
29  class EventErrorFlagModule : public Module {
30  public:
33 
35  virtual void initialize() override;
36 
38  virtual void event() override;
39 
40  private:
42  int m_ErrorFlag;
43 
45  StoreObjPtr<EventMetaData> m_eventMetaData;
46  };
48 }
Belle2::EventErrorFlagModule::event
virtual void event() override
Checks and adds the EventMetaData error flags.
Definition: EventErrorFlagModule.cc:38
Belle2::EventErrorFlagModule::m_ErrorFlag
int m_ErrorFlag
Error flags to add.
Definition: EventErrorFlagModule.h:50
Belle2::EventErrorFlagModule::EventErrorFlagModule
EventErrorFlagModule()
Constructor of the module.
Definition: EventErrorFlagModule.cc:24
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::EventErrorFlagModule::m_eventMetaData
StoreObjPtr< EventMetaData > m_eventMetaData
event meta data
Definition: EventErrorFlagModule.h:53
Belle2::EventErrorFlagModule::initialize
virtual void initialize() override
Initializes the datastore pointers.
Definition: EventErrorFlagModule.cc:33