Belle II Software  release-08-01-10
PXDPostErrorCheckerModule.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include <framework/core/Module.h>
12 #include <framework/datastore/StoreObjPtr.h>
13 #include <framework/datastore/StoreArray.h>
14 #include <pxd/dataobjects/PXDDAQStatus.h>
15 #include <pxd/dataobjects/PXDRawHit.h>
16 #include <pxd/dataobjects/PXDRawAdc.h>
17 #include <pxd/dataobjects/PXDRawROIs.h>
18 
19 namespace Belle2 {
25  namespace PXD {
41 
42  public:
43 
46 
47  private:
49  void initialize() override final;
50 
52  void event() override final;
53 
54  private:
55  std::string m_PXDDAQEvtStatsName;
56  std::string m_PXDRawHitsName;
57  std::string m_PXDRawAdcsName;
58  std::string m_PXDRawROIsName;
63  PXDError::PXDErrorFlags m_criticalErrorMask;
65 
70 
79  };//end class declaration
80 
81 
82  } //end PXD namespace;
84 } // end namespace Belle2
Base class for Modules.
Definition: Module.h:72
The PXD DAQ Post Unpacking Error Check.
std::string m_PXDRawHitsName
The name of the StoreArray of PXDRawHits to be modified.
void initialize() override final
Initialize.
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Input array for DAQ Status.
std::string m_PXDDAQEvtStatsName
The name of the StoreObjPtr of PXDDAQStatus to be read and modified.
StoreArray< PXDRawROIs > m_storeROIs
In/Output array for Raw ROIs.
bool m_ignoreDHPFrame
Flag: Ignore different dhp frame between DHEs.
PXDPostErrorCheckerModule()
Constructor defining the parameters.
StoreArray< PXDRawAdc > m_storeRawAdc
In/Output array for Raw Adcs.
int m_criticalErrorMaskParam
Module parameter for setting the critical error mask.
bool m_ignoreTriggerGate
TODO another mask for DHE Level if we want to clean ONLY modules?
std::string m_PXDRawAdcsName
The name of the StoreArray of PXDRawAdcs to be modified.
PXDError::PXDErrorFlags m_criticalErrorMask
Critical error mask which defines when data should be trashed, whole event only!
StoreArray< PXDRawHit > m_storeRawHits
In/Output array for Raw Hits.
std::string m_PXDRawROIsName
The name of the StoreArray of PXDRawROIs to be modified.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.