Low-Energy Muon (LEM) Experiment  0.5.2
nemu_experim.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  LEM_DATA
 
struct  VME_STATS
 
struct  LEM00_IPMI_LOG
 
struct  LEM03_IPMI_LOG
 
struct  MICROWAVE_LOG
 
struct  INFO
 
struct  HV_VACCLEANER
 

Macros

#define CLOCK   1
 TDC channel assignments. More...
 
#define MCP1   2
 
#define TD   4
 
#define BCL1   5
 
#define BCL2   6
 
#define BCL3   7
 
#define BCL4   8
 
#define BCR1   9
 
#define BCR2   10
 
#define BCR3   11
 
#define BCR4   12
 
#define POSMCP1I   13
 
#define POSMCP1O   14
 
#define POSLDI   16
 
#define POSLDO   17
 
#define POSLUI   18
 
#define POSLUO   19
 
#define POSBDI   20
 
#define POSBDO   21
 
#define POSBUI   22
 
#define POSBUO   23
 
#define POSRDI   24
 
#define POSRDO   25
 
#define POSRUI   26
 
#define POSRUO   27
 
#define POSTDI   28
 
#define POSTDO   29
 
#define POSTUI   30
 
#define POSTUO   31
 
#define MCP2F   34
 
#define MCP2R   35
 
#define MCP2X1   36
 
#define MCP2X2   37
 
#define MCP2Y1   38
 
#define MCP2Y2   39
 
#define EXTON1   32
 
#define EXTOFF1   33
 
#define N_SCALER_MODULE   32
 number of channels of one scaler module More...
 
#define N_SCALER   64
 total number of scaler channels More...
 
#define N_TDC_CHANNELS   64
 number of TDC channels More...
 
#define N_HITS   128
 a single detector may have up to N_HITS hits for event evaluation More...
 
#define DATA_N_HITS   64
 max. of DATA_N_HITS in data file More...
 
#define NEW_EVENT_MASK   (0x7f<<24)
 
#define EXTON1_FLAG   (1<<21)
 flag for "red/green", "on/off" mode: ON More...
 
#define EXTOFF1_FLAG   (1<<20)
 flag for "red/green", "on/off" mode: OFF More...
 
#define TDC_BIT_RANGE   524288
 2^19 is the bit range of the TDC in 100ps and 200ps mode More...
 
#define N_DECAY_HISTS   8
 number of LE-uSR npp decay histograms More...
 
#define N_OFFSET_PPC_HISTOGRAMS   20
 ID offset of postpileup-rejected histograms. More...
 
#define N_OFFSET_ONOFF_HISTOGRAMS   40
 ID offset for "on/off", "red/green" histograms: no offset means "off". More...
 
#define EVENT_0_TYPE   (1<<0)
 EVENT type 0 = BC-MCP1-(e+) More...
 
#define EVENT_1_TYPE   (1<<1)
 Event type 1 = (BC)-TD-MC2-(e+) More...
 
#define EVENT_2_TYPE   (1<<2)
 Event type 2 = TD-e+-(BC), LE-muSR. More...
 
#define IpSCALE   100000
 
#define SIS3820_USER_INPUT_2   0x20000000
 
#define SIS3820_USER_INPUT_3   0x40000000
 
#define SIS3820_CH_NUMBER   0x1F000000
 
#define MASK24   0x00FFFFFF
 
#define VME_STATS_STR(_name)
 
#define STR_SIZE   80
 
#define INFO_STR(_name)
 
#define HV_VACCLEANER_DEFINED
 
#define HV_VACCLEANER_STR(_name)
 

Typedefs

typedef unsigned long long U_LONG
 GNU C-Compiler 64bit integer. More...
 

Macro Definition Documentation

#define BCL1   5
#define BCL2   6
#define BCL3   7
#define BCL4   8
#define BCR1   9
#define BCR2   10
#define BCR3   11
#define BCR4   12
#define CLOCK   1

TDC channel assignments.

Definition at line 15 of file nemu_experim.h.

Referenced by begin_of_run(), display_scaler(), evaluate_slow_muon_event(), and frontend_loop().

#define DATA_N_HITS   64

max. of DATA_N_HITS in data file

Definition at line 66 of file nemu_experim.h.

Referenced by decay_ana(), evaluate_fast_muon_event(), evaluate_slow_muon_event(), mcp1_ana(), pileup_ana(), and tof_ana().

#define EVENT_0_TYPE   (1<<0)

EVENT type 0 = BC-MCP1-(e+)

Definition at line 75 of file nemu_experim.h.

Referenced by decay_ana(), do_master_channel(), evaluate_fast_muon_event(), frontend_loop(), mcp1_ana(), and tof_ana().

#define EVENT_1_TYPE   (1<<1)

Event type 1 = (BC)-TD-MC2-(e+)

Definition at line 76 of file nemu_experim.h.

Referenced by do_master_channel(), evaluate_slow_muon_event(), and frontend_loop().

#define EVENT_2_TYPE   (1<<2)

Event type 2 = TD-e+-(BC), LE-muSR.

Definition at line 77 of file nemu_experim.h.

Referenced by do_master_channel(), evaluate_slow_muon_event(), and frontend_loop().

#define EXTOFF1   33

Definition at line 58 of file nemu_experim.h.

Referenced by begin_of_run(), and frontend_loop().

#define EXTOFF1_FLAG   (1<<20)

flag for "red/green", "on/off" mode: OFF

Definition at line 69 of file nemu_experim.h.

Referenced by decay_ana(), evaluate_slow_muon_event(), and tof_ana().

#define EXTON1   32

Definition at line 57 of file nemu_experim.h.

Referenced by begin_of_run(), and frontend_loop().

#define EXTON1_FLAG   (1<<21)

flag for "red/green", "on/off" mode: ON

Definition at line 68 of file nemu_experim.h.

Referenced by decay_ana(), evaluate_slow_muon_event(), and tof_ana().

#define HV_VACCLEANER_DEFINED

Definition at line 610 of file nemu_experim.h.

#define HV_VACCLEANER_STR (   _name)
Value:
const char *_name[] = {\
"[.]",\
"pulse = INT : 0",\
"DeltaTime(msec) = DWORD : 2000",\
"Period(msec) = DWORD : 10000",\
"channel-1 = INT : 11",\
"channel-2 = INT : 12",\
"DeltaU-1(kV) = FLOAT : 1",\
"DeltaU-2(kV) = FLOAT : -3",\
"",\
NULL }

Definition at line 621 of file nemu_experim.h.

#define INFO_STR (   _name)

Definition at line 397 of file nemu_experim.h.

Referenced by analyzer_init().

#define IpSCALE   100000

Definition at line 79 of file nemu_experim.h.

Referenced by display_scaler(), and scaler_sum().

#define MASK24   0x00FFFFFF

Definition at line 85 of file nemu_experim.h.

Referenced by scaler_sum().

#define MCP1   2

Definition at line 16 of file nemu_experim.h.

Referenced by begin_of_run(), evaluate_fast_muon_event(), frontend_loop(), and mcp1_ana().

#define MCP2R   35

Definition at line 50 of file nemu_experim.h.

Referenced by begin_of_run(), evaluate_slow_muon_event(), frontend_loop(), and tof_ana().

#define MCP2X1   36

Definition at line 51 of file nemu_experim.h.

Referenced by begin_of_run(), evaluate_slow_muon_event(), frontend_loop(), and tof_ana().

#define MCP2X2   37

Definition at line 52 of file nemu_experim.h.

Referenced by begin_of_run(), evaluate_slow_muon_event(), frontend_loop(), and tof_ana().

#define MCP2Y1   38

Definition at line 53 of file nemu_experim.h.

Referenced by begin_of_run(), evaluate_slow_muon_event(), frontend_loop(), and tof_ana().

#define MCP2Y2   39

Definition at line 54 of file nemu_experim.h.

Referenced by begin_of_run(), evaluate_slow_muon_event(), frontend_loop(), and tof_ana().

#define N_DECAY_HISTS   8

number of LE-uSR npp decay histograms

Definition at line 71 of file nemu_experim.h.

Referenced by decay_bor(), decay_init(), get_t0(), get_t0L3RA(), update_run_header(), update_t0shift(), and write_t0().

#define N_HITS   128

a single detector may have up to N_HITS hits for event evaluation

Definition at line 65 of file nemu_experim.h.

Referenced by frontend_loop().

#define N_OFFSET_ONOFF_HISTOGRAMS   40

ID offset for "on/off", "red/green" histograms: no offset means "off".

Definition at line 73 of file nemu_experim.h.

Referenced by decay_init(), tof_init(), and update_run_header().

#define N_OFFSET_PPC_HISTOGRAMS   20

ID offset of postpileup-rejected histograms.

Definition at line 72 of file nemu_experim.h.

Referenced by decay_init(), and update_run_header().

#define N_SCALER   64

total number of scaler channels

Definition at line 63 of file nemu_experim.h.

Referenced by ana_begin_of_run(), ana_end_of_run(), ana_pause_run(), ana_resume_run(), display_scaler(), read_scaler_event(), scaler_init(), and scaler_sum().

#define N_SCALER_MODULE   32

number of channels of one scaler module

Definition at line 62 of file nemu_experim.h.

Referenced by read_scaler_event().

#define N_TDC_CHANNELS   64

number of TDC channels

Definition at line 64 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_fast_muon_event(), evaluate_slow_muon_event(), mcp1_ana(), pileup_ana(), and tof_ana().

#define NEW_EVENT_MASK   (0x7f<<24)
#define POSBDI   20

Definition at line 34 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSBDO   21

Definition at line 35 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSBUI   22

Definition at line 36 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSBUO   23

Definition at line 37 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSLDI   16

Definition at line 29 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSLDO   17

Definition at line 30 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSLUI   18

Definition at line 31 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSLUO   19

Definition at line 32 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSMCP1I   13

Definition at line 26 of file nemu_experim.h.

Referenced by begin_of_run(), evaluate_fast_muon_event(), frontend_loop(), and mcp1_ana().

#define POSMCP1O   14

Definition at line 27 of file nemu_experim.h.

Referenced by begin_of_run(), evaluate_fast_muon_event(), frontend_loop(), and mcp1_ana().

#define POSRDI   24

Definition at line 39 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSRDO   25

Definition at line 40 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSRUI   26

Definition at line 41 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSRUO   27

Definition at line 42 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSTDI   28

Definition at line 44 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSTDO   29

Definition at line 45 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSTUI   30

Definition at line 46 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define POSTUO   31

Definition at line 47 of file nemu_experim.h.

Referenced by begin_of_run(), decay_ana(), evaluate_slow_muon_event(), and frontend_loop().

#define SIS3820_CH_NUMBER   0x1F000000

Definition at line 84 of file nemu_experim.h.

#define SIS3820_USER_INPUT_2   0x20000000

Definition at line 82 of file nemu_experim.h.

#define SIS3820_USER_INPUT_3   0x40000000

Definition at line 83 of file nemu_experim.h.

#define STR_SIZE   80

Definition at line 293 of file nemu_experim.h.

Referenced by update_info(), and update_run_header().

#define TDC_BIT_RANGE   524288

2^19 is the bit range of the TDC in 100ps and 200ps mode

Definition at line 70 of file nemu_experim.h.

Referenced by do_channel(), frontend_loop(), and pileup_ana().

#define VME_STATS_STR (   _name)

Definition at line 112 of file nemu_experim.h.

Referenced by frontend_init().

Typedef Documentation

typedef unsigned long long U_LONG

GNU C-Compiler 64bit integer.

Definition at line 87 of file nemu_experim.h.