DABC (Data Acquisition Backbone Core)  2.9.9
HadaqTypeDefs.h
Go to the documentation of this file.
1 // $Id: HadaqTypeDefs.h 4569 2020-07-31 12:38:50Z linev $
2 
3 /************************************************************
4  * The Data Acquisition Backbone Core (DABC) *
5  ************************************************************
6  * Copyright (C) 2009 - *
7  * GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
8  * Planckstr. 1, 64291 Darmstadt, Germany *
9  * Contact: http://dabc.gsi.de *
10  ************************************************************
11  * This software can be used under the GPL license *
12  * agreements as stated in LICENSE.txt file *
13  * which is part of the distribution. *
14  ************************************************************/
15 
16 #ifndef HADAQ_HadaqTypeDefs
17 #define HADAQ_HadaqTypeDefs
18 
19 #include "hadaq/defines.h"
20 
21 namespace hadaq {
22 
24  mbt_HadaqEvents = 142, // event/subevent structure
25  mbt_HadaqTransportUnit = 143, // plain hadtu container with single subevents
26  mbt_HadaqSubevents = 144, // only subevents, no event
27  mbt_HadaqStopRun = 145 // buffer just indicates stop of current run
28  };
29 
30  extern const char* typeUdpDevice;
31 
32  extern const char* protocolHld;
33  extern const char* protocolHadaq;
34 
35  extern const char* xmlBuildFullEvent;
36 
37  extern const char* xmlHadaqTrignumRange;
38  extern const char* xmlHadaqTriggerTollerance;
39  extern const char* xmlHadaqDiffEventStats;
40  extern const char* xmlEvtbuildTimeout;
41  extern const char* xmlMaxNumBuildEvt;
42  extern const char* xmlHadesTriggerType;
43  extern const char* xmlHadesTriggerHUB;
44 
45  /*
46  * Format a HADES-convention filename string
47  * from a given run id and optional eventbuilder id
48  */
49  extern std::string FormatFilename (uint32_t runid, uint16_t ebid = 0);
50 
51  extern uint32_t CreateRunId();
52 
53 }
54 
55 #endif
Support for HADAQ - HADES DAQ
Definition: api.h:27
const char * xmlHadaqTriggerTollerance
const char * xmlHadesTriggerHUB
const char * xmlMaxNumBuildEvt
const char * xmlEvtbuildTimeout
const char * xmlHadaqDiffEventStats
EHadaqBufferTypes
Definition: HadaqTypeDefs.h:23
@ mbt_HadaqSubevents
Definition: HadaqTypeDefs.h:26
@ mbt_HadaqTransportUnit
Definition: HadaqTypeDefs.h:25
@ mbt_HadaqEvents
Definition: HadaqTypeDefs.h:24
@ mbt_HadaqStopRun
Definition: HadaqTypeDefs.h:27
const char * xmlBuildFullEvent
const char * xmlHadaqTrignumRange
const char * protocolHld
std::string FormatFilename(uint32_t runid, uint16_t ebid=0)
const char * typeUdpDevice
const char * protocolHadaq
const char * xmlHadesTriggerType
uint32_t CreateRunId()