Belle II Software development
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
19namespace Belle2 {
25 namespace PXD {
38
39 public:
40
43
44 private:
46 void initialize() override final;
47
49 void event() override final;
50
51 private:
53 std::string m_PXDRawHitsName;
54 std::string m_PXDRawAdcsName;
55 std::string m_PXDRawROIsName;
60 PXDError::PXDErrorFlags m_criticalErrorMask;
62
67
76 };//end class declaration
77
78
79 } //end PXD namespace;
81} // 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.