Belle II Software  release-05-02-19
PXDPostErrorCheckerModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2013 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Bjoern Spruck *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 #include <framework/datastore/StoreArray.h>
16 #include <pxd/dataobjects/PXDDAQStatus.h>
17 #include <pxd/dataobjects/PXDRawHit.h>
18 #include <pxd/dataobjects/PXDRawAdc.h>
19 #include <pxd/dataobjects/PXDRawROIs.h>
20 
21 namespace Belle2 {
27  namespace PXD {
42  class PXDPostErrorCheckerModule : public Module {
43 
44  public:
45 
48 
49  private:
50  void initialize() override final;
51 
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;
61  uint64_t m_criticalErrorMask; // TODO this should be type PXDErrorFlag .. but that does not work with addParam()
63 
67  bool m_ignoreDHPFrame;
68 
77  };//end class declaration
78 
79 
80  } //end PXD namespace;
82 } // end namespace Belle2
Belle2::PXD::PXDPostErrorCheckerModule::m_ignoreTriggerGate
bool m_ignoreTriggerGate
TODO another mask for DHE Level if we want to clean ONLY modules?
Definition: PXDPostErrorCheckerModule.h:73
Belle2::PXD::PXDPostErrorCheckerModule::PXDPostErrorCheckerModule
PXDPostErrorCheckerModule()
Constructor defining the parameters.
Definition: PXDPostErrorCheckerModule.cc:26
Belle2::PXD::PXDPostErrorCheckerModule::m_storeDAQEvtStats
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Input array for DAQ Status.
Definition: PXDPostErrorCheckerModule.h:78
Belle2::PXD::PXDPostErrorCheckerModule::m_ignoreDHPFrame
bool m_ignoreDHPFrame
Flag: Ignore different dhp frame between DHEs.
Definition: PXDPostErrorCheckerModule.h:75
Belle2::PXDRawAdc
The PXD Raw Adc class This class stores information about Raw Adc for Pedestals.
Definition: PXDRawAdc.h:41
Belle2::PXD::PXDPostErrorCheckerModule::m_PXDRawAdcsName
std::string m_PXDRawAdcsName
The name of the StoreArray of PXDRawAdcs to be modified.
Definition: PXDPostErrorCheckerModule.h:65
Belle2::PXD::PXDPostErrorCheckerModule::m_PXDRawHitsName
std::string m_PXDRawHitsName
The name of the StoreArray of PXDRawHits to be modified.
Definition: PXDPostErrorCheckerModule.h:64
Belle2::PXD::PXDPostErrorCheckerModule::m_PXDDAQEvtStatsName
std::string m_PXDDAQEvtStatsName
The name of the StoreObjPtr of PXDDAQStatus to be read and modified.
Definition: PXDPostErrorCheckerModule.h:63
Belle2::PXD::PXDPostErrorCheckerModule::initialize
void initialize() override final
Initialize the Module.
Definition: PXDPostErrorCheckerModule.cc:126
Belle2::PXDRawHit
The PXD Raw Hit class This class stores information about PXD Pixel hits and makes them available in ...
Definition: PXDRawHit.h:36
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::PXDDAQStatus
The PXD DAQ Status class.
Definition: PXDDAQStatus.h:45
Belle2::PXD::PXDPostErrorCheckerModule::m_storeROIs
StoreArray< PXDRawROIs > m_storeROIs
In/Output array for Raw ROIs.
Definition: PXDPostErrorCheckerModule.h:82
Belle2::PXD::PXDPostErrorCheckerModule::m_storeRawHits
StoreArray< PXDRawHit > m_storeRawHits
In/Output array for Raw Hits.
Definition: PXDPostErrorCheckerModule.h:80
Belle2::PXD::PXDPostErrorCheckerModule::m_storeRawAdc
StoreArray< PXDRawAdc > m_storeRawAdc
In/Output array for Raw Adcs.
Definition: PXDPostErrorCheckerModule.h:84
Belle2::PXD::PXDPostErrorCheckerModule::m_criticalErrorMask
uint64_t m_criticalErrorMask
Critical error mask which defines when data should be trashed, whole event only!
Definition: PXDPostErrorCheckerModule.h:69
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::PXD::PXDPostErrorCheckerModule::m_PXDRawROIsName
std::string m_PXDRawROIsName
The name of the StoreArray of PXDRawROIs to be modified.
Definition: PXDPostErrorCheckerModule.h:66
Belle2::PXD::PXDPostErrorCheckerModule::event
void event() override final
This method is the core of the module.
Definition: PXDPostErrorCheckerModule.cc:138
Belle2::PXDRawROIs
The PXD Raw ROIs class This class stores information about the ROIs processed by ONSEN and makes them...
Definition: PXDRawROIs.h:36