]>
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" | |
b12fe461 | 31 | #include "AliHLTMUONRecHitsBlockStruct.h" |
32 | #include "AliHLTMUONClustersBlockStruct.h" | |
33 | #include "AliHLTMUONChannelsBlockStruct.h" | |
34 | #include "AliHLTMUONMansoTracksBlockStruct.h" | |
35 | #include "AliHLTMUONMansoCandidatesBlockStruct.h" | |
36 | #include "AliHLTMUONSinglesDecisionBlockStruct.h" | |
37 | #include "AliHLTMUONPairsDecisionBlockStruct.h" | |
26a4668d | 38 | |
910807dd | 39 | |
c8ec7c7e | 40 | const AliHLTMUONTriggerRecordStruct |
41 | AliHLTMUONConstants::fgkNilTriggerRecordStruct = { | |
42 | 0, 0, 0, 0, 0, | |
90a74d7a | 43 | { |
44 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
45 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
46 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
47 | AliHLTMUONConstants::fgkNilRecHitStruct | |
48 | } | |
c8ec7c7e | 49 | }; |
50 | ||
51 | const AliHLTMUONTrigRecInfoStruct | |
a090ff22 | 52 | AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {0, {0, 0, 0, 0}, 0, 0, {0, 0, 0, 0, 0}}; |
c8ec7c7e | 53 | |
26a4668d | 54 | const AliHLTMUONRecHitStruct |
a090ff22 | 55 | AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0, 0}; |
26a4668d | 56 | |
910807dd | 57 | const AliHLTMUONClusterStruct |
90a74d7a | 58 | AliHLTMUONConstants::fgkNilClusterStruct = { |
59 | 0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0 | |
60 | }; | |
910807dd | 61 | |
62 | const AliHLTMUONChannelStruct | |
af8c7885 | 63 | AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0, 0}; |
910807dd | 64 | |
90a74d7a | 65 | const AliHLTMUONMansoTrackStruct |
66 | AliHLTMUONConstants::fgkNilMansoTrackStruct = { | |
67 | 0, 0, 0, 0, 0, 0, 0, | |
68 | { | |
69 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
70 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
71 | AliHLTMUONConstants::fgkNilRecHitStruct, | |
72 | AliHLTMUONConstants::fgkNilRecHitStruct | |
73 | } | |
74 | }; | |
75 | ||
76 | const AliHLTMUONMansoRoIStruct | |
77 | AliHLTMUONConstants::fgkNilMansoRoIStruct = {0, 0, 0, 0}; | |
78 | ||
79 | const AliHLTMUONMansoCandidateStruct | |
80 | AliHLTMUONConstants::fgkNilMansoCandidateStruct = { | |
81 | AliHLTMUONConstants::fgkNilMansoTrackStruct, | |
82 | { | |
83 | AliHLTMUONConstants::fgkNilMansoRoIStruct, | |
84 | AliHLTMUONConstants::fgkNilMansoRoIStruct, | |
85 | AliHLTMUONConstants::fgkNilMansoRoIStruct, | |
86 | AliHLTMUONConstants::fgkNilMansoRoIStruct | |
a090ff22 | 87 | }, |
88 | 0, 0 | |
90a74d7a | 89 | }; |
90 | ||
91 | const AliHLTMUONTrackDecisionStruct | |
450e0b36 | 92 | AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0, 0}; |
90a74d7a | 93 | |
94 | const AliHLTMUONPairDecisionStruct | |
95 | AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0}; | |
96 | ||
26a4668d | 97 | |
98 | const AliHLTComponentDataType | |
887a669c | 99 | AliHLTMUONConstants::fgkDDLRawDataType = (AliHLTComponentDataType){ |
100 | sizeof(AliHLTComponentDataType), | |
101 | kAliHLTDDLRawDataTypeID, | |
102 | kAliHLTDataOriginAny | |
103 | } | kAliHLTDataOriginMUON; | |
26a4668d | 104 | |
105 | const AliHLTComponentDataType | |
69347e0d | 106 | AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 107 | sizeof(AliHLTComponentDataType), |
910807dd | 108 | {'T','R','I','G','R','E','C','S'}, |
69347e0d | 109 | kAliHLTDataOriginAny |
110 | } | kAliHLTDataOriginMUON; | |
26a4668d | 111 | |
112 | const AliHLTComponentDataType | |
69347e0d | 113 | AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 114 | sizeof(AliHLTComponentDataType), |
910807dd | 115 | {'T','R','I','G','R','D','B','G'}, |
69347e0d | 116 | kAliHLTDataOriginAny |
117 | } | kAliHLTDataOriginMUON; | |
26a4668d | 118 | |
910807dd | 119 | const AliHLTComponentDataType |
69347e0d | 120 | AliHLTMUONConstants::fgkRecHitsBlockDataType = (AliHLTComponentDataType){ |
910807dd | 121 | sizeof(AliHLTComponentDataType), |
122 | {'R','E','C','H','I','T','S',' '}, | |
69347e0d | 123 | kAliHLTDataOriginAny |
124 | } | kAliHLTDataOriginMUON; | |
26a4668d | 125 | |
126 | const AliHLTComponentDataType | |
69347e0d | 127 | AliHLTMUONConstants::fgkClusterBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 128 | sizeof(AliHLTComponentDataType), |
910807dd | 129 | {'C','L','U','S','T','E','R','S'}, |
69347e0d | 130 | kAliHLTDataOriginAny |
131 | } | kAliHLTDataOriginMUON; | |
910807dd | 132 | |
133 | const AliHLTComponentDataType | |
69347e0d | 134 | AliHLTMUONConstants::fgkChannelBlockDataType = (AliHLTComponentDataType){ |
910807dd | 135 | sizeof(AliHLTComponentDataType), |
136 | {'C','H','A','N','N','E','L','S'}, | |
69347e0d | 137 | kAliHLTDataOriginAny |
138 | } | kAliHLTDataOriginMUON; | |
26a4668d | 139 | |
140 | const AliHLTComponentDataType | |
69347e0d | 141 | AliHLTMUONConstants::fgkMansoTracksBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 142 | sizeof(AliHLTComponentDataType), |
143 | {'M','A','N','T','R','A','C','K'}, | |
69347e0d | 144 | kAliHLTDataOriginAny |
145 | } | kAliHLTDataOriginMUON; | |
26a4668d | 146 | |
147 | const AliHLTComponentDataType | |
69347e0d | 148 | AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 149 | sizeof(AliHLTComponentDataType), |
90a74d7a | 150 | {'M','N','C','A','N','D','I','D'}, |
69347e0d | 151 | kAliHLTDataOriginAny |
152 | } | kAliHLTDataOriginMUON; | |
26a4668d | 153 | |
154 | const AliHLTComponentDataType | |
69347e0d | 155 | AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 156 | sizeof(AliHLTComponentDataType), |
7272c66b | 157 | {'D','E','C','I','D','S','I','N'}, |
69347e0d | 158 | kAliHLTDataOriginAny |
159 | } | kAliHLTDataOriginMUON; | |
26a4668d | 160 | |
161 | const AliHLTComponentDataType | |
69347e0d | 162 | AliHLTMUONConstants::fgkPairsDecisionBlockDataType = (AliHLTComponentDataType){ |
26a4668d | 163 | sizeof(AliHLTComponentDataType), |
90a74d7a | 164 | {'D','E','C','I','D','P','A','R'}, |
69347e0d | 165 | kAliHLTDataOriginAny |
166 | } | kAliHLTDataOriginMUON; | |
b12fe461 | 167 | |
649ab027 | 168 | const AliHLTComponentDataType |
169 | AliHLTMUONConstants::fgkESDDataType = kAliHLTDataTypeESDObject | kAliHLTDataOriginMUON; | |
170 | ||
17d68f2a | 171 | const AliHLTComponentDataType |
172 | AliHLTMUONConstants::fgkClusterStoreDataType = (AliHLTComponentDataType){ | |
173 | sizeof(AliHLTComponentDataType), | |
174 | {'C','L','U','S','T','O','R','E'}, | |
175 | kAliHLTDataOriginAny | |
176 | } | kAliHLTDataOriginMUON; | |
177 | ||
649ab027 | 178 | |
7272c66b | 179 | const char* AliHLTMUONConstants::fgkRecHitsSourceId = "MUONRecHitsSource"; |
180 | const char* AliHLTMUONConstants::fgkTriggerRecordsSourceId = "MUONTriggerRecordsSource"; | |
887a669c | 181 | const char* AliHLTMUONConstants::fgkTracksSourceId = "MUONTracksSource"; |
182 | const char* AliHLTMUONConstants::fgkDigitPublisherId = "MUONDigitPublisher"; | |
7272c66b | 183 | const char* AliHLTMUONConstants::fgkTriggerReconstructorId = "MUONTriggerReconstructor"; |
184 | const char* AliHLTMUONConstants::fgkHitReconstructorId = "MUONHitReconstructor"; | |
185 | const char* AliHLTMUONConstants::fgkMansoTrackerFSMId = "MUONMansoTrackerFSM"; | |
186 | const char* AliHLTMUONConstants::fgkDecisionComponentId = "MUONDecisionComponent"; | |
649ab027 | 187 | const char* AliHLTMUONConstants::fgkESDMakerId = "MUONESDMaker"; |
450e0b36 | 188 | const char* AliHLTMUONConstants::fgkRootifierComponentId = "MUONRootifier"; |
dba14d7d | 189 | const char* AliHLTMUONConstants::fgkEmptyEventFilterComponentId = "MUONEmptyEventFilter"; |
190 | const char* AliHLTMUONConstants::fgkDataCheckerComponentId = "MUONDataChecker"; | |
17d68f2a | 191 | const char* AliHLTMUONConstants::fgkClusterFinderId = "MUONClusterFinder"; |
0528e93a | 192 | |
2b7af22a | 193 | const char* AliHLTMUONConstants::fgkTriggerReconstructorCDBPath = "HLT/ConfigMUON/TriggerReconstructor"; |
887a669c | 194 | const char* AliHLTMUONConstants::fgkHitReconstructorCDBPath = "HLT/ConfigMUON/HitReconstructor"; |
195 | const char* AliHLTMUONConstants::fgkMansoTrackerFSMCDBPath = "HLT/ConfigMUON/MansoTrackerFSM"; | |
c9537879 | 196 | const char* AliHLTMUONConstants::fgkDecisionComponentCDBPath = "HLT/ConfigMUON/DecisionComponent"; |
197 |