Belle II Software  release-05-01-25
PXDRawDataDefinitions.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - 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 namespace Belle2 {
19  namespace PXD {
24  enum EDHPFrameHeaderDataType { c_RAW = 0x0, c_ZSD = 0x5};
25 
31  c_DHP_RAW = 0x0, // DHP memory dump ("pedestals")
32  c_DHP_ZSD = 0x5, // DHP zero supressed data
33  c_FCE_RAW = 0x1, // Clustered data
34  c_COMMODE = 0x6, // Common mode data
35  c_GHOST = 0x2, // Ghost frame, no data
36  // DHE envelope
37  c_DHE_START = 0x3, // DHE Start
38  c_DHE_END = 0x4, // DHE End
39  // DHC envelope
40  c_DHC_START = 0xB, // DHC Start
41  c_DHC_END = 0xC, // DHC End
42  // Onsen processed data, new
43  c_ONSEN_DHP = 0xD, // Onsen processed zero supressed DHP
44  c_ONSEN_FCE = 0x9, // Onsen processed clustered
45  c_ONSEN_ROI = 0xF, // Onsen ROIs (HLT+DATCON)
46  c_ONSEN_TRG = 0xE, // Trigger frame (the 1st frame)
47  // Free IDs are 0x7 0x8 0xA
48  c_UNUSED_7 = 0x7,
49  c_UNUSED_8 = 0x8,
50  c_UNUSED_A = 0xA,
51  };
52 
59  c_DHESM_NO_ERROR = 0x0, // no errors
60  c_DHESM_MISS_DHP_FRM = 0x1, // missing DHPT frame
61  c_DHESM_TIMEOUT = 0x2, // timeout
62  c_DHESM_DHP_LINKDOWN = 0x3, // DHP link down
63  c_DHESM_DHP_MASKED = 0x4, // DHP masked
64  c_DHESM_EVTNR_MM = 0x5, // event number mismatch (between FSM_START and FSM_END; DHE error.)
65  c_DHESM_DHP_SIZE_OVERFLOW = 0x6, // DHPT frame bigger than maximum allowed, data truncated
67  };
68 
69  }
71 }
72 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PXD::EDHEStateMachineError
EDHEStateMachineError
Enums for DHE DHP StateMachine Error States.
Definition: PXDRawDataDefinitions.h:66
Belle2::PXD::EDHCFrameHeaderDataType
EDHCFrameHeaderDataType
Enums for DHC data frame types.
Definition: PXDRawDataDefinitions.h:38
Belle2::PXD::EDHPFrameHeaderDataType
EDHPFrameHeaderDataType
Enums for DHP data modes in the DHP header.
Definition: PXDRawDataDefinitions.h:32