-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDsTOFConventions.h
More file actions
27 lines (18 loc) · 1.27 KB
/
DsTOFConventions.h
File metadata and controls
27 lines (18 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//////////////////////////////////////////////////////////////////////////////
///// DsTOFConventions.h DSTOF Convetnions /////
///// /////
///// Author: Linda Cremonesi (l.cremonesi@ucl.ac.uk) /////
//////////////////////////////////////////////////////////////////////////////
#ifndef DSTOFCONVENTIONS_H
#define DSTOFCONVENTIONS_H
#include <string>
const std::string tdc1[10] = {"10B", "10A", "09B", "09A", "08B", "08A", "07B", "07A", "06B", "06A" }; // channels from 1 to 10
const std::string tdc2[10] = {"05B", "05A", "04B", "04A", "03B", "03A", "02B", "02A", "01B", "01A" };
const int tdc1bar[15] = {10, 10, 9, 9, 8, 8, 7, 7, 6, 6, -1, -1, -1, -1, -1 }; // channels from 1 to 1
const int tdc2bar[15] = { 5, 5, 4, 4, 3, 3, 2, 2, 1, 1, -1, -1, -1, -1, -1 };
const int tdc1pmt[15] = { 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, -1, -1, -1, -1, -1}; // 0 is PMT A and 1 is PMT B
const int tdc2pmt[15] = { 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, -1, -1, -1, -1, -1};
const double clockTicksNs=0.025/1.024;
const double dstofDelayAllBars[10] = { 70.2, 61.6, 61.6, 61.6, 61.6, 61.6, 61.6, 61.6, 61.6, 61.6};
const std::string whereIsMyTOFdata="/unix/dune/hptpctof/";
#endif //DSTOFCONVENTIONS_H