Class Reference for E1039 Core & Analysis Software
Home page
Related Pages
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
DecoParam.h
Go to the documentation of this file.
1
#ifndef __DECO_PARAM_H__
2
#define __DECO_PARAM_H__
3
#include <
geom_svc/ChanMapTaiwan.h
>
4
#include <
geom_svc/ChanMapV1495.h
>
5
#include <
geom_svc/ChanMapScaler.h
>
6
//#include "assert.h"
7
class
EventInfo
;
8
14
struct
DecoParam
{
18
std::string
fn_in
;
19
std::string
dir_param
;
20
bool
is_online
;
21
int
sampling
;
22
int
verbose
;
23
int
time_wait
;
//< waiting time in second to pretend the online data flow.
24
25
ChanMapTaiwan
chan_map_taiwan
;
26
ChanMapV1495
chan_map_v1495
;
27
ChanMapScaler
chan_map_scaler
;
28
32
unsigned
short
int
runID
;
33
34
int
spillID
;
35
int
spillID_cntr
;
// spillID from spill-counter event
36
int
spillID_slow
;
// spillID from slow-control event
37
short
targPos
;
38
short
targPos_slow
;
// from slow-control event
39
40
unsigned
int
codaID
;
//< current Coda event ID
41
short
spillType
;
//< current spill type
42
short
rocID
;
//< current ROC ID
43
int
eventIDstd
;
//< current event ID of standard physics events
44
long
int
hitID
;
//< current hit ID, commonly used by Hit and TriggerHit.
45
46
bool
has_1st_bos
;
//< Set 'true' at the 1st BOS event.
47
bool
at_bos
;
//< Set 'true' at BOS, which triggers parsing the data in one spill.
48
50
unsigned
int
turn_id_max
;
51
52
// Benchmarking Values
53
time_t
timeStart
,
timeEnd
;
54
55
DecoParam
();
56
~DecoParam
() {;}
57
int
InitMapper
();
58
};
59
60
#endif // __DECO_PARAM_H__
DecoParam::runID
unsigned short int runID
Definition:
DecoParam.h:32
DecoParam::spillID_slow
int spillID_slow
Definition:
DecoParam.h:36
DecoParam::spillID_cntr
int spillID_cntr
Definition:
DecoParam.h:35
DecoParam::fn_in
std::string fn_in
Definition:
DecoParam.h:18
DecoParam::chan_map_v1495
ChanMapV1495 chan_map_v1495
Definition:
DecoParam.h:26
DecoParam::eventIDstd
int eventIDstd
Definition:
DecoParam.h:43
DecoParam::targPos
short targPos
Definition:
DecoParam.h:37
ChanMapTaiwan
Definition:
ChanMapTaiwan.h:5
DecoParam::chan_map_taiwan
ChanMapTaiwan chan_map_taiwan
Definition:
DecoParam.h:25
ChanMapScaler
Definition:
ChanMapScaler.h:5
DecoParam::sampling
int sampling
Definition:
DecoParam.h:21
DecoParam::targPos_slow
short targPos_slow
Definition:
DecoParam.h:38
DecoParam::timeStart
time_t timeStart
Definition:
DecoParam.h:53
DecoParam::is_online
bool is_online
Definition:
DecoParam.h:20
DecoParam::~DecoParam
~DecoParam()
Definition:
DecoParam.h:56
ChanMapV1495.h
DecoParam::DecoParam
DecoParam()
Definition:
DecoParam.cc:7
DecoParam::timeEnd
time_t timeEnd
Definition:
DecoParam.h:53
DecoParam::has_1st_bos
bool has_1st_bos
Definition:
DecoParam.h:46
DecoParam::chan_map_scaler
ChanMapScaler chan_map_scaler
Definition:
DecoParam.h:27
EventInfo
Definition:
DecoData.h:182
DecoParam::time_wait
int time_wait
Definition:
DecoParam.h:23
ChanMapTaiwan.h
DecoParam::spillType
short spillType
Definition:
DecoParam.h:41
DecoParam::hitID
long int hitID
Definition:
DecoParam.h:44
DecoParam
Definition:
DecoParam.h:14
DecoParam::turn_id_max
unsigned int turn_id_max
Max turnOnset in a spill. Used to drop NIM3 events that came after the beam stops. See elog 15010.
Definition:
DecoParam.h:50
DecoParam::at_bos
bool at_bos
Definition:
DecoParam.h:47
DecoParam::codaID
unsigned int codaID
Definition:
DecoParam.h:40
DecoParam::spillID
int spillID
Definition:
DecoParam.h:34
ChanMapV1495
Definition:
ChanMapV1495.h:5
DecoParam::InitMapper
int InitMapper()
Definition:
DecoParam.cc:16
ChanMapScaler.h
DecoParam::rocID
short rocID
Definition:
DecoParam.h:42
DecoParam::dir_param
std::string dir_param
Definition:
DecoParam.h:19
DecoParam::verbose
int verbose
Definition:
DecoParam.h:22
e1039-core
online
decoder_maindaq
DecoParam.h
Built by
Haiwang Yu
. updated:
Wed May 26 2021 21:44:02
using
1.8.5 with
SeaQuest GitHub integration