1 |
kusanagi |
1.1 |
/**************************************************************************** |
2 |
|
|
* F i l e D a t a |
3 |
|
|
* |
4 |
|
|
* Module : LabenInterface |
5 |
|
|
* C.I. No. : |
6 |
|
|
* $Revision: 1.22 $ |
7 |
|
|
* $Date: 2004/11/18 16:02:34 $ |
8 |
|
|
* Belonging to : |
9 |
|
|
* $Id: IN_InitManager_INFN_op.c,v 1.22 2004/11/18 16:02:34 sebastiani Exp $ |
10 |
|
|
* $RCSfile: IN_InitManager_INFN_op.c,v $ |
11 |
|
|
* Program Type : |
12 |
|
|
* Sub-modules : |
13 |
|
|
* |
14 |
|
|
**************************************************************************** |
15 |
|
|
* S W D e v e l o p m e n t E n v i r o n m e n t |
16 |
|
|
* |
17 |
|
|
* Host system : |
18 |
|
|
* SW Compiler : |
19 |
|
|
* $Author: sebastiani $ |
20 |
|
|
* : |
21 |
|
|
**************************************************************************** |
22 |
|
|
* U p d a t i n g |
23 |
|
|
* |
24 |
|
|
* $Log: IN_InitManager_INFN_op.c,v $ |
25 |
|
|
* Revision 1.22 2004/11/18 16:02:34 sebastiani |
26 |
|
|
* GAS/TRD removed |
27 |
|
|
* |
28 |
|
|
* Revision 1.21 2004/11/10 17:00:00 sebastiani |
29 |
|
|
* - GS_COMPILE directive introduced and be undef by default |
30 |
|
|
* - automatic flush mechanism by run manager mailbox timeout |
31 |
|
|
* |
32 |
|
|
* Revision 1.20 2004/09/28 15:36:25 sebastiani |
33 |
|
|
* interrupt manager fix |
34 |
|
|
* |
35 |
|
|
* Revision 1.19 2004/08/26 16:54:34 sebastiani |
36 |
|
|
* version work fine |
37 |
|
|
* |
38 |
|
|
* Revision 1.18 2004/08/13 14:42:19 sebastiani |
39 |
|
|
* Add Neutron detector! |
40 |
|
|
* need add file ND_READ_ACQ.dat on site ... |
41 |
|
|
* |
42 |
|
|
* Revision 1.17 2004/07/27 17:30:17 faber |
43 |
|
|
* OBT can be now in second or milliseconds, depending of the situazion. |
44 |
|
|
* OBT_s is used for FM compatibility, OBT_ms basically for MM infos |
45 |
|
|
* |
46 |
|
|
* Revision 1.16 2004/05/27 17:50:40 sebastiani |
47 |
|
|
* *** empty log message *** |
48 |
|
|
* |
49 |
|
|
* Revision 1.15 2004/05/12 14:46:14 faber |
50 |
|
|
* *** empty log message *** |
51 |
|
|
* |
52 |
|
|
* Revision 1.14 2004/05/10 12:59:17 faber |
53 |
|
|
* __FILEID__ right value fixed: many .c files had the wrong value! |
54 |
|
|
* |
55 |
|
|
* Revision 1.13 2004/04/20 14:51:16 alfarano |
56 |
|
|
* #ifdef temporaneo su TRK |
57 |
|
|
* |
58 |
|
|
* Revision 1.12 2003/12/07 17:38:02 faber |
59 |
|
|
* several tests more in TS_PamManager (as requested by Marco Casolino) |
60 |
|
|
* |
61 |
|
|
* Revision 1.11 2003/11/24 10:57:33 alfarano |
62 |
|
|
* gas system function |
63 |
|
|
* |
64 |
|
|
* Revision 1.10 2003/11/19 15:47:03 faber |
65 |
|
|
* System Control Manager (SCM) and Power Handler (PWR) modules introduced |
66 |
|
|
* |
67 |
|
|
* Revision 1.9 2003/10/29 08:32:26 sebastiani |
68 |
|
|
* *** empty log message *** |
69 |
|
|
* |
70 |
|
|
* Revision 1.8 2003/10/28 18:31:24 sebastiani |
71 |
|
|
* Some fix about the KHB driver |
72 |
|
|
* |
73 |
|
|
* Revision 1.7 2003/10/17 09:54:22 sebastiani |
74 |
|
|
* all needed include files for some FEs introduced (S4,CAL,AC...) |
75 |
|
|
* |
76 |
|
|
* Revision 1.6 2003/09/24 13:44:14 faber |
77 |
|
|
* New list initialization: all detectors added |
78 |
|
|
* |
79 |
|
|
* Revision 1.5 2003/09/23 09:41:29 faber |
80 |
|
|
* CH_CommandHandler and autogeneration gen_params.pl introduced |
81 |
|
|
* some dummy file in src/INFN/commands/ |
82 |
|
|
* |
83 |
|
|
* Revision 1.4 2003/09/19 15:57:35 faber |
84 |
|
|
* Large development update INFN software |
85 |
|
|
* |
86 |
|
|
* Revision 1.3 2003/09/15 17:46:27 faber |
87 |
|
|
* HB_HKBuffer_INFN module introduced. |
88 |
|
|
* |
89 |
|
|
* Revision 1.2 2003/08/22 07:57:08 sebastiani |
90 |
|
|
* *** empty log message *** |
91 |
|
|
* |
92 |
|
|
* Revision 1.1.1.1 2003/08/04 09:40:22 sebastiani |
93 |
|
|
* Imported sources laben rel. 19.06.2003 integrated with pam2 |
94 |
|
|
* |
95 |
|
|
* Revision 1.5 2003/06/18 07:49:33 sebastiani |
96 |
|
|
* initialization of RunManager added |
97 |
|
|
* |
98 |
|
|
* Revision 1.4 2003/06/09 16:57:43 sebastiani |
99 |
|
|
* fix include directory path |
100 |
|
|
* |
101 |
|
|
* Revision 1.3 2003/06/05 10:31:12 wizard |
102 |
|
|
* added PamMnager (empty skeleton),and other main dirs on INFN |
103 |
|
|
* |
104 |
|
|
* Revision 1.2 2003/05/29 14:35:58 wizard |
105 |
|
|
* Added: |
106 |
|
|
* #include <src/INFN/TestUtility/Test/TS_Test_INFN_p.h> |
107 |
|
|
* FS## 29.5.03 comments |
108 |
|
|
* TS_piTestInit_INFN(); |
109 |
|
|
* |
110 |
|
|
* Revision 1.1.1.1 2003/05/27 08:13:24 wizard |
111 |
|
|
* Import of the Official Laben CD Release Software as the pamela-EM_delivery_20030521_1454.tar.bz2 |
112 |
|
|
* |
113 |
|
|
* Revision 1.2 2002/06/07 14:47:39 ale |
114 |
|
|
* added dataquality Init |
115 |
|
|
* |
116 |
|
|
* Revision 1.1 2002/06/06 08:30:04 ale |
117 |
|
|
* Added files |
118 |
|
|
* |
119 |
|
|
****************************************************************************/ |
120 |
|
|
|
121 |
|
|
/*============================= Include File ================================*/ |
122 |
|
|
|
123 |
|
|
#include <src/INFN/LU_SourceFileID_INFN.h> |
124 |
|
|
#define __FILEID__ _IN_InitManager_INFN_op__c |
125 |
|
|
#include <src/INFN/PRH_ParamHandler_INFN.h> |
126 |
|
|
#include <src/INFN/LU_LogUtility_INFN.h> |
127 |
|
|
#include <src/INFN/PRH_ParamHandler_INFN_auto.h> |
128 |
|
|
LU_DECL_MASK(); |
129 |
|
|
|
130 |
|
|
|
131 |
|
|
#include <src/INFN/IN_InitManager_INFN_op.h> |
132 |
|
|
#include <src/INFN/OS_rtems_INFN_p.h> |
133 |
|
|
#include <src/INFN/PM_PamManager_INFN.h> |
134 |
|
|
#include <src/INFN/RM_RunManager_INFN.h> |
135 |
|
|
#include <src/INFN/DAQ_IDAQ_INFN.h> |
136 |
|
|
#include <src/INFN/TRK_Tracker_INFN.h> |
137 |
|
|
//# include <src/INFN/TS_Test_INFN.h> |
138 |
|
|
#include <src/INFN/KHB_Driver_INFN.h> |
139 |
|
|
#include <src/INFN/SMH_SelectModeHandler_INFN.h> |
140 |
|
|
#include <src/INFN/WS_WorkingSchedule_INFN.h> |
141 |
|
|
#include <src/INFN/HB_HKBuffer_INFN.h> |
142 |
|
|
#include <src/INFN/MH_ModeHandler_INFN.h> |
143 |
|
|
#include <src/INFN/CH_CommandHandler_INFN_auto.h> |
144 |
|
|
#include <src/INFN/CH_CommandHandler_INFN.h> |
145 |
|
|
#include <src/INFN/AC_Anticoincidence_INFN.h> |
146 |
|
|
#include <src/INFN/CAL_Calorimeter_INFN.h> |
147 |
|
|
#include <src/INFN/S4_INFN.h> |
148 |
|
|
#include <src/INFN/TOF_TimeOfFlight_INFN.h> |
149 |
|
|
#include <src/INFN/TRD_TransRadDetector_INFN.h> |
150 |
|
|
#include <src/INFN/HK_Manager_INFN.h> |
151 |
|
|
#include <src/INFN/SCM_Manager_INFN.h> |
152 |
|
|
#include <src/INFN/GS_Gas_INFN.h> |
153 |
|
|
#include <src/INFN/TRK_Tracker_INFN.h> |
154 |
|
|
#include <src/INFN/SNS_SensorsBoard_INFN.h> |
155 |
|
|
#include <src/INFN/TRG_Trigger_INFN.h> |
156 |
|
|
#include <src/INFN/CM_Common_INFN.h> |
157 |
|
|
|
158 |
|
|
#ifdef TEST_I |
159 |
|
|
// #include <src/TestUtility/Test/TS_Test_p.h> |
160 |
|
|
// #include <src/INFN/TS_Test_INFN.h> |
161 |
|
|
#endif |
162 |
|
|
|
163 |
|
|
void IN_opInitAllSystem_INFN() |
164 |
|
|
{ |
165 |
|
|
|
166 |
|
|
|
167 |
|
|
OS_piInitOS_INFN(); |
168 |
|
|
CM_Init(); |
169 |
|
|
CH_auto_Init(); |
170 |
|
|
CH_Init(); |
171 |
|
|
LU_Init(); |
172 |
|
|
|
173 |
|
|
KHB_Init(); |
174 |
|
|
HB_Init(); |
175 |
|
|
SNS_Init(); |
176 |
|
|
|
177 |
|
|
/* Pam manager related module initialization: */ |
178 |
|
|
PM_InitPamManager_INFN(); |
179 |
|
|
|
180 |
|
|
SMH_Init(); |
181 |
|
|
MH_Init(); |
182 |
|
|
WS_Init(); |
183 |
|
|
|
184 |
|
|
#ifdef SIMULATOR |
185 |
|
|
PM_SIM_Init(); |
186 |
|
|
#endif |
187 |
|
|
|
188 |
|
|
|
189 |
|
|
/* Run manager related module initialization: */ |
190 |
|
|
RM_InitRunManager_INFN(); |
191 |
|
|
DAQ_Init(); |
192 |
|
|
/* FEs initialization */ |
193 |
|
|
AC_Init(); |
194 |
|
|
CAL_Init(); |
195 |
|
|
S4_Init(); |
196 |
|
|
TOF_Init(); |
197 |
|
|
|
198 |
|
|
TRK_Init(); |
199 |
|
|
TRG_Init(); |
200 |
|
|
// ND_Init(); |
201 |
|
|
/* HK Manager */ |
202 |
|
|
HK_InitHKManager(); |
203 |
|
|
|
204 |
|
|
/* System Control Manager */ |
205 |
|
|
SCM_InitSCManager(); |
206 |
|
|
|
207 |
|
|
#ifdef TEST_I |
208 |
|
|
// TS_TestInit_INFN(); |
209 |
|
|
#endif |
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
} |