Belle II Software development
sa02board.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#ifndef SA02BOARD_H
9#define SA02BOARD_H
10
11#define DEFAULT_IP_ADDRESS "192.168.10.16"
12#define DEFAULT_PORT 24
13#define DEFAULT_RBCP_PORT 4660
14
15enum { N_SA0X = 4, NCH_SA0X = 36, NCH_BOARD = 144 };
16
17//enum { NB_HEADER = 34, NB_DATA = 178 }; // number of bytes (not bits) <---origin
18enum { NB_HEADER = 34, Merger_DATA = 12, FE_DATA = 166 }; // number of bytes (not bits) <---koba
19
20/* threshold voltage setting */
21enum { PTM1_WR_ADDR = 0xb1 }; // VTH1 is ch1 of AD5232
22
23#define VTH_MIN -1.2700
24#define VTH_STEP 0.0024 // [V] for SA02-Lju ver.1.1;
25//#define VTH_MIN -1.045
26//#define VTH_STEP 0.00831 // [V] for SA03testboard ver.1.1;
27
28
29
30#endif