Belle II Software development
PXDRawDumper.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
10#pragma once
11
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <rawdata/dataobjects/RawPXD.h>
15
16namespace Belle2 {
21
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:
37 void initialize(void) override;
39 void event(void) override;
40 };
41 }
43}
Module()
Constructor.
Definition Module.cc:30
Dump Raw PXD/ ONSEN event data.
bool unpack_dhc_frame(void *data, unsigned int &innerDHH, unsigned int &outerHLT)
Unpack the DHC frame.
StoreArray< RawPXD > m_storeRaw
Store array of RawPXDs.
bool getTrigNr(RawPXD &px, unsigned int &innerDHH, unsigned int &outerHLT)
Get the trigger number.
void event(void) override
Event.
void initialize(void) override
Initialize.
The Raw PXD class.
Definition RawPXD.h:27
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Namespace to encapsulate code needed for simulation and reconstrucion of the PXD.
Abstract base class for different kinds of events.