]>
Commit | Line | Data |
---|---|---|
26a4668d | 1 | /************************************************************************** |
e6357f88 | 2 | * This file is property of and copyright by the ALICE HLT Project * |
3 | * All rights reserved. * | |
26a4668d | 4 | * * |
e6357f88 | 5 | * Primary Authors: * |
6 | * Indranil Das <indra.das@saha.ac.in> * | |
7 | * Artur Szostak <artursz@iafrica.com> * | |
26a4668d | 8 | * * |
9 | * Permission to use, copy, modify and distribute this software and its * | |
10 | * documentation strictly for non-commercial purposes is hereby granted * | |
11 | * without fee, provided that the above copyright notice appears in all * | |
12 | * copies and that both the copyright notice and this permission notice * | |
13 | * appear in the supporting documentation. The authors make no claims * | |
e6357f88 | 14 | * about the suitability of this software for any purpose. It is * |
26a4668d | 15 | * provided "as is" without express or implied warranty. * |
16 | **************************************************************************/ | |
17 | ||
18 | /* $Id$ */ | |
19 | ||
20 | /** | |
21 | * @file AliHLTMUONConstants.cxx | |
22 | * @author Indranil Das <indra.das@saha.ac.in>, | |
23 | * Artur Szostak <artursz@iafrica.com> | |
24 | * @date | |
25 | * @brief Definitions of the various dimuon HLT constants. | |
26 | */ | |
27 | ||
28 | #include "AliHLTMUONConstants.h" | |
b12fe461 | 29 | #include "AliHLTMUONTriggerRecordsBlockStruct.h" |
30 | #include "AliHLTMUONTrigRecsDebugBlockStruct.h" | |
31 | #include "AliHLTMUONTriggerChannelsBlockStruct.h" | |
32 | #include "AliHLTMUONRecHitsBlockStruct.h" | |
33 | #include "AliHLTMUONClustersBlockStruct.h" | |
34 | #include "AliHLTMUONChannelsBlockStruct.h" | |
35 | #include "AliHLTMUONMansoTracksBlockStruct.h" | |
36 | #include "AliHLTMUONMansoCandidatesBlockStruct.h" | |
37 | #include "AliHLTMUONSinglesDecisionBlockStruct.h" | |
38 | #include "AliHLTMUONPairsDecisionBlockStruct.h" | |
26a4668d | 39 | |
910807dd | 40 | |
c8ec7c7e | 41 | const AliHLTMUONTriggerRecordStruct |
42 | AliHLTMUONConstants::fgkNilTriggerRecordStruct = { | |
43 | 0, 0, 0, 0, 0, | |
90a74d7a | 44 | { |
45 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
46 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
47 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
48 | AliHLTMUONConstants::fgkNilRecHitStruct | |
49 | } | |
c8ec7c7e | 50 | }; |
51 | ||
52 | const AliHLTMUONTrigRecInfoStruct | |
6253e09b | 53 | AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {0, {0, 0, 0, 0}, 0, 0}; |
c8ec7c7e | 54 | |
55 | const AliHLTMUONTriggerChannelStruct | |
56 | AliHLTMUONConstants::fgkNilTriggerChannelStruct = {0, 0, 0, 0}; | |
57 | ||
26a4668d | 58 | const AliHLTMUONRecHitStruct |
59 | AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0}; | |
60 | ||
910807dd | 61 | const AliHLTMUONClusterStruct |
90a74d7a | 62 | AliHLTMUONConstants::fgkNilClusterStruct = { |
63 | 0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0 | |
64 | }; | |
910807dd | 65 | |
66 | const AliHLTMUONChannelStruct | |
67 | AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0}; | |
68 | ||
90a74d7a | 69 | const AliHLTMUONMansoTrackStruct |
70 | AliHLTMUONConstants::fgkNilMansoTrackStruct = { | |
71 | 0, 0, 0, 0, 0, 0, 0, | |
72 | { | |
73 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
74 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
75 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
76 | AliHLTMUONConstants::fgkNilRecHitStruct | |
77 | } | |
78 | }; | |
79 | ||
80 | const AliHLTMUONMansoRoIStruct | |
81 | AliHLTMUONConstants::fgkNilMansoRoIStruct = {0, 0, 0, 0}; | |
82 | ||
83 | const AliHLTMUONMansoCandidateStruct | |
84 | AliHLTMUONConstants::fgkNilMansoCandidateStruct = { | |
85 | AliHLTMUONConstants::fgkNilMansoTrackStruct, | |
86 | { | |
87 | AliHLTMUONConstants::fgkNilMansoRoIStruct, | |
88 | AliHLTMUONConstants::fgkNilMansoRoIStruct, | |
89 | AliHLTMUONConstants::fgkNilMansoRoIStruct, | |
90 | AliHLTMUONConstants::fgkNilMansoRoIStruct | |
91 | } | |
92 | }; | |
93 | ||
94 | const AliHLTMUONTrackDecisionStruct | |
95 | AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0}; | |
96 | ||
97 | const AliHLTMUONPairDecisionStruct | |
98 | AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0}; | |
99 | ||
26a4668d | 100 | |
101 | const AliHLTComponentDataType | |
668eee9f | 102 | AliHLTMUONConstants::fgkDDLRawDataType = kAliHLTDataTypeDDLRaw | kAliHLTDataOriginMUON; |
26a4668d | 103 | |
104 | const AliHLTComponentDataType | |
69347e0d | 105 | AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 106 | sizeof(AliHLTComponentDataType), |
910807dd | 107 | {'T','R','I','G','R','E','C','S'}, |
69347e0d | 108 | kAliHLTDataOriginAny |
109 | } | kAliHLTDataOriginMUON; | |
26a4668d | 110 | |
111 | const AliHLTComponentDataType | |
69347e0d | 112 | AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 113 | sizeof(AliHLTComponentDataType), |
910807dd | 114 | {'T','R','I','G','R','D','B','G'}, |
69347e0d | 115 | kAliHLTDataOriginAny |
116 | } | kAliHLTDataOriginMUON; | |
26a4668d | 117 | |
118 | const AliHLTComponentDataType | |
69347e0d | 119 | AliHLTMUONConstants::fgkTriggerChannelBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 120 | sizeof(AliHLTComponentDataType), |
910807dd | 121 | {'T','R','I','G','C','H','N','L'}, |
69347e0d | 122 | kAliHLTDataOriginAny |
123 | } | kAliHLTDataOriginMUON; | |
910807dd | 124 | |
125 | const AliHLTComponentDataType | |
69347e0d | 126 | AliHLTMUONConstants::fgkRecHitsBlockDataType = (AliHLTComponentDataType){ |
910807dd | 127 | sizeof(AliHLTComponentDataType), |
128 | {'R','E','C','H','I','T','S',' '}, | |
69347e0d | 129 | kAliHLTDataOriginAny |
130 | } | kAliHLTDataOriginMUON; | |
26a4668d | 131 | |
132 | const AliHLTComponentDataType | |
69347e0d | 133 | AliHLTMUONConstants::fgkClusterBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 134 | sizeof(AliHLTComponentDataType), |
910807dd | 135 | {'C','L','U','S','T','E','R','S'}, |
69347e0d | 136 | kAliHLTDataOriginAny |
137 | } | kAliHLTDataOriginMUON; | |
910807dd | 138 | |
139 | const AliHLTComponentDataType | |
69347e0d | 140 | AliHLTMUONConstants::fgkChannelBlockDataType = (AliHLTComponentDataType){ |
910807dd | 141 | sizeof(AliHLTComponentDataType), |
142 | {'C','H','A','N','N','E','L','S'}, | |
69347e0d | 143 | kAliHLTDataOriginAny |
144 | } | kAliHLTDataOriginMUON; | |
26a4668d | 145 | |
146 | const AliHLTComponentDataType | |
69347e0d | 147 | AliHLTMUONConstants::fgkMansoTracksBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 148 | sizeof(AliHLTComponentDataType), |
149 | {'M','A','N','T','R','A','C','K'}, | |
69347e0d | 150 | kAliHLTDataOriginAny |
151 | } | kAliHLTDataOriginMUON; | |
26a4668d | 152 | |
153 | const AliHLTComponentDataType | |
69347e0d | 154 | AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 155 | sizeof(AliHLTComponentDataType), |
90a74d7a | 156 | {'M','N','C','A','N','D','I','D'}, |
69347e0d | 157 | kAliHLTDataOriginAny |
158 | } | kAliHLTDataOriginMUON; | |
26a4668d | 159 | |
160 | const AliHLTComponentDataType | |
69347e0d | 161 | AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 162 | sizeof(AliHLTComponentDataType), |
7272c66b | 163 | {'D','E','C','I','D','S','I','N'}, |
69347e0d | 164 | kAliHLTDataOriginAny |
165 | } | kAliHLTDataOriginMUON; | |
26a4668d | 166 | |
167 | const AliHLTComponentDataType | |
69347e0d | 168 | AliHLTMUONConstants::fgkPairsDecisionBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 169 | sizeof(AliHLTComponentDataType), |
90a74d7a | 170 | {'D','E','C','I','D','P','A','R'}, |
69347e0d | 171 | kAliHLTDataOriginAny |
172 | } | kAliHLTDataOriginMUON; | |
b12fe461 | 173 | |
7272c66b | 174 | const char* AliHLTMUONConstants::fgkRecHitsSourceId = "MUONRecHitsSource"; |
175 | const char* AliHLTMUONConstants::fgkTriggerRecordsSourceId = "MUONTriggerRecordsSource"; | |
176 | const char* AliHLTMUONConstants::fgkMansoTracksSourceId = "MUONMansoTracksSource"; | |
177 | const char* AliHLTMUONConstants::fgkTriggerReconstructorId = "MUONTriggerReconstructor"; | |
178 | const char* AliHLTMUONConstants::fgkHitReconstructorId = "MUONHitReconstructor"; | |
179 | const char* AliHLTMUONConstants::fgkMansoTrackerFSMId = "MUONMansoTrackerFSM"; | |
180 | const char* AliHLTMUONConstants::fgkDecisionComponentId = "MUONDecisionComponent"; | |
8134dd2e | 181 | const char* AliHLTMUONConstants::fgkTriggerCalibratorId = "MUONTriggerCalibrator"; |
182 | const char* AliHLTMUONConstants::fgkTrackerCalibratorId = "MUONTrackerCalibrator"; | |
0528e93a | 183 | const char* AliHLTMUONConstants::fgkEmptyEventFilterComponentId = "MUONEmptyEventFilterComponent"; |
184 |