Belle II Software  release-05-01-25
PXDRawDumper.h
1 //+
2 // File : PXDRawDumperModule.cc
3 // Description : Dump Raw PXD/ ONSEN event data
4 //
5 // Author : Bjoern Spruck
6 // Date : Updated on 20 - Dec - 2019
7 //-
8 
9 
10 #pragma once
11 
12 #include <framework/core/Module.h>
13 #include <framework/datastore/StoreArray.h>
14 #include <rawdata/dataobjects/RawPXD.h>
15 
16 namespace Belle2 {
22  namespace PXD {
23 
25  class PXDRawDumperModule: public Module {
26  private:
28 
30  bool getTrigNr(RawPXD& px, unsigned int& innerDHH, unsigned int& outerHLT);
31 
33  bool unpack_dhc_frame(void* data, unsigned int& innerDHH, unsigned int& outerHLT);
34 
35  public:
36  void initialize(void) override;
37  void event(void) override;
38  };
39  }
41 }
Belle2::PXD::PXDRawDumperModule::unpack_dhc_frame
bool unpack_dhc_frame(void *data, unsigned int &innerDHH, unsigned int &outerHLT)
Unpack the DHC frame.
Definition: PXDRawDumper.cc:124
Belle2::PXD::PXDRawDumperModule::initialize
void initialize(void) override
Initialize the Module.
Definition: PXDRawDumper.cc:24
Belle2::Module
Base class for Modules.
Definition: Module.h:74
Belle2::RawPXD
The Raw PXD class.
Definition: RawPXD.h:28
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PXD::PXDRawDumperModule::event
void event(void) override
This method is the core of the module.
Definition: PXDRawDumper.cc:29
Belle2::PXD::PXDRawDumperModule::m_storeRaw
StoreArray< RawPXD > m_storeRaw
Store array of RawPXDs.
Definition: PXDRawDumper.h:27
Belle2::PXD::PXDRawDumperModule
Dump Raw PXD/ ONSEN event data.
Definition: PXDRawDumper.h:25
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::PXD::PXDRawDumperModule::getTrigNr
bool getTrigNr(RawPXD &px, unsigned int &innerDHH, unsigned int &outerHLT)
Get the trigger number.
Definition: PXDRawDumper.cc:61