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 {
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}
Base class for Modules.
Definition: Module.h:72
Dump Raw PXD/ ONSEN event data.
Definition: PXDRawDumper.h:25
bool unpack_dhc_frame(void *data, unsigned int &innerDHH, unsigned int &outerHLT)
Unpack the DHC frame.
StoreArray< RawPXD > m_storeRaw
Store array of RawPXDs.
Definition: PXDRawDumper.h:27
bool getTrigNr(RawPXD &px, unsigned int &innerDHH, unsigned int &outerHLT)
Get the trigger number.
Definition: PXDRawDumper.cc:64
void event(void) override
Event.
Definition: PXDRawDumper.cc:32
void initialize(void) override
Initialize.
Definition: PXDRawDumper.cc:27
The Raw PXD class.
Definition: RawPXD.h:27
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.