clas12root
Loading...
Searching...
No Matches
clas12defs.h
Go to the documentation of this file.
1#ifndef CLAS12DEFS_H
2#define CLAS12DEFS_H
3
4
5namespace clas12{
6 static const short UndefPDG=1E4;
7
8 //regions
9 static const short FT = 1000;
10 static const short FD = 2000;
11 static const short CD = 3000;
12 static const short BD = 4000;
13
14
15 //detectors
16 static const short FTOF = 12;
17 static const short CTOF = 4;
18 static const short CND = 3;
19 static const short CVT = 5;
20 static const short DC = 6;
21 static const short EC = 7;
22 static const short ECAL = 7;
23 static const short FTCAL = 10;
24 static const short FTTRK = 13;
25 static const short FTHODO = 11;
26 static const short HTCC = 15;
27 static const short LTCC = 16;
28 static const short BMT = 1;
29 static const short FMT = 8;
30 static const short RF = 17;
31 static const short RICH = 18;
32 static const short RTPC = 19;
33 static const short HEL = 20;
34 static const short BAND = 21;
35
36
37 //layers
38 static const short FTOF1A = 1;
39 static const short FTOF1B = 2;
40 static const short FTOF2 = 3;
41 //CDET scint layers same as detectors
42 //static const short CND = 3;
43 //static const short CTOF = 4;
44
45 static const short CNDOFF = 150; //CND1-CNDOFF == actual layer number, stil stops conflict with FTOF scintillator
46 static const short CND1 = 151;
47 static const short CND2 = 152;
48 static const short CND3 = 153;
49
50 static const short PCAL = 1;
51 static const short ECIN = 4;
52 static const short ECOUT = 7;
53
54 //additional TRAJECTORY layers
55 static const short DC1 = 6;
56 static const short DC2 = 12;
57 static const short DC3 = 18;
58 static const short DC4 = 24;
59 static const short DC5 = 30;
60 static const short DC6 = 36;
61
62 static const short CVT1 = 1;
63 static const short CVT2 = 2;
64 static const short CVT3 = 3;
65 static const short CVT4 = 4;
66 static const short CVT5 = 5;
67 static const short CVT6 = 6;
68 static const short CVT7 = 7;
69 static const short CVT8 = 8;
70 static const short CVT9 = 9;
71 static const short CVT10 = 10;
72 static const short CVT11 = 11;
73 static const short CVT12 = 12;
74
75 static const short BANDOFF = 250;
76 static const short BTOF1 = 251;
77 static const short BTOF2 = 252;
78 static const short BTOF3 = 253;
79 static const short BTOF4 = 254;
80 static const short BTOF5 = 255;
81 static const short BVETO = 256;
82
83 // using indices =vector<short>;
84
85 /* std::map<TString,vector<TString>> */
86 /* detectorAndLayer={{"FTOF",{"FTOF1A","FTOF1B","FTOF2"}}, */
87 /* {"DC",{"DC1","DC2","DC3","DC4","DC5","DC6"}}, */
88 /* {"CVT",{"CVT1","CVT2","CVT3","CVT4","CVT5","CVT6","CVT7","CVT8","CVT9","CVT10","CVT11","CVT12"}}, */
89 /* {"CND",{"CND1","CND2","CND3"}}, */
90 /* {"EC",{"ECIN","ECOUT","PCAL"}}, */
91 /* }; */
92}
93
94#endif
Definition calextras.cpp:10