1 /**************************************************************************
2 * This file is property of and copyright by the ALICE HLT Project *
3 * All rights reserved. *
6 * Indranil Das <indra.das@saha.ac.in> *
7 * Artur Szostak <artursz@iafrica.com> *
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 *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
21 * @file AliHLTMUONConstants.cxx
22 * @author Indranil Das <indra.das@saha.ac.in>,
23 * Artur Szostak <artursz@iafrica.com>
25 * @brief Definitions of the various dimuon HLT constants.
28 #include "AliHLTMUONConstants.h"
29 #include "AliHLTMUONTriggerRecordsBlockStruct.h"
30 #include "AliHLTMUONTrigRecsDebugBlockStruct.h"
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"
40 const AliHLTMUONTriggerRecordStruct
41 AliHLTMUONConstants::fgkNilTriggerRecordStruct = {
44 AliHLTMUONConstants::fgkNilRecHitStruct,
45 AliHLTMUONConstants::fgkNilRecHitStruct,
46 AliHLTMUONConstants::fgkNilRecHitStruct,
47 AliHLTMUONConstants::fgkNilRecHitStruct
51 const AliHLTMUONTrigRecInfoStruct
52 AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {0, {0, 0, 0, 0}, 0, 0, {0, 0, 0, 0, 0}};
54 const AliHLTMUONRecHitStruct
55 AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0, 0};
57 const AliHLTMUONClusterStruct
58 AliHLTMUONConstants::fgkNilClusterStruct = {
59 0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0
62 const AliHLTMUONChannelStruct
63 AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0, 0};
65 const AliHLTMUONMansoTrackStruct
66 AliHLTMUONConstants::fgkNilMansoTrackStruct = {
69 AliHLTMUONConstants::fgkNilRecHitStruct,
70 AliHLTMUONConstants::fgkNilRecHitStruct,
71 AliHLTMUONConstants::fgkNilRecHitStruct,
72 AliHLTMUONConstants::fgkNilRecHitStruct
76 const AliHLTMUONMansoRoIStruct
77 AliHLTMUONConstants::fgkNilMansoRoIStruct = {0, 0, 0, 0};
79 const AliHLTMUONMansoCandidateStruct
80 AliHLTMUONConstants::fgkNilMansoCandidateStruct = {
81 AliHLTMUONConstants::fgkNilMansoTrackStruct,
83 AliHLTMUONConstants::fgkNilMansoRoIStruct,
84 AliHLTMUONConstants::fgkNilMansoRoIStruct,
85 AliHLTMUONConstants::fgkNilMansoRoIStruct,
86 AliHLTMUONConstants::fgkNilMansoRoIStruct
91 const AliHLTMUONTrackDecisionStruct
92 AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0, 0};
94 const AliHLTMUONPairDecisionStruct
95 AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0};
98 const AliHLTComponentDataType
99 AliHLTMUONConstants::fgkDDLRawDataType = (AliHLTComponentDataType){
100 sizeof(AliHLTComponentDataType),
101 kAliHLTDDLRawDataTypeID,
103 } | kAliHLTDataOriginMUON;
105 const AliHLTComponentDataType
106 AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = (AliHLTComponentDataType){
107 sizeof(AliHLTComponentDataType),
108 {'T','R','I','G','R','E','C','S'},
110 } | kAliHLTDataOriginMUON;
112 const AliHLTComponentDataType
113 AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = (AliHLTComponentDataType){
114 sizeof(AliHLTComponentDataType),
115 {'T','R','I','G','R','D','B','G'},
117 } | kAliHLTDataOriginMUON;
119 const AliHLTComponentDataType
120 AliHLTMUONConstants::fgkRecHitsBlockDataType = (AliHLTComponentDataType){
121 sizeof(AliHLTComponentDataType),
122 {'R','E','C','H','I','T','S',' '},
124 } | kAliHLTDataOriginMUON;
126 const AliHLTComponentDataType
127 AliHLTMUONConstants::fgkClusterBlockDataType = (AliHLTComponentDataType){
128 sizeof(AliHLTComponentDataType),
129 {'C','L','U','S','T','E','R','S'},
131 } | kAliHLTDataOriginMUON;
133 const AliHLTComponentDataType
134 AliHLTMUONConstants::fgkChannelBlockDataType = (AliHLTComponentDataType){
135 sizeof(AliHLTComponentDataType),
136 {'C','H','A','N','N','E','L','S'},
138 } | kAliHLTDataOriginMUON;
140 const AliHLTComponentDataType
141 AliHLTMUONConstants::fgkMansoTracksBlockDataType = (AliHLTComponentDataType){
142 sizeof(AliHLTComponentDataType),
143 {'M','A','N','T','R','A','C','K'},
145 } | kAliHLTDataOriginMUON;
147 const AliHLTComponentDataType
148 AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = (AliHLTComponentDataType){
149 sizeof(AliHLTComponentDataType),
150 {'M','N','C','A','N','D','I','D'},
152 } | kAliHLTDataOriginMUON;
154 const AliHLTComponentDataType
155 AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = (AliHLTComponentDataType){
156 sizeof(AliHLTComponentDataType),
157 {'D','E','C','I','D','S','I','N'},
159 } | kAliHLTDataOriginMUON;
161 const AliHLTComponentDataType
162 AliHLTMUONConstants::fgkPairsDecisionBlockDataType = (AliHLTComponentDataType){
163 sizeof(AliHLTComponentDataType),
164 {'D','E','C','I','D','P','A','R'},
166 } | kAliHLTDataOriginMUON;
168 const AliHLTComponentDataType
169 AliHLTMUONConstants::fgkESDDataType = kAliHLTDataTypeESDObject | kAliHLTDataOriginMUON;
171 const AliHLTComponentDataType
172 AliHLTMUONConstants::fgkClusterStoreDataType = (AliHLTComponentDataType){
173 sizeof(AliHLTComponentDataType),
174 {'C','L','U','S','T','O','R','E'},
176 } | kAliHLTDataOriginMUON;
179 const char* AliHLTMUONConstants::fgkRecHitsSourceId = "MUONRecHitsSource";
180 const char* AliHLTMUONConstants::fgkTriggerRecordsSourceId = "MUONTriggerRecordsSource";
181 const char* AliHLTMUONConstants::fgkTracksSourceId = "MUONTracksSource";
182 const char* AliHLTMUONConstants::fgkDigitPublisherId = "MUONDigitPublisher";
183 const char* AliHLTMUONConstants::fgkTriggerReconstructorId = "MUONTriggerReconstructor";
184 const char* AliHLTMUONConstants::fgkHitReconstructorId = "MUONHitReconstructor";
185 const char* AliHLTMUONConstants::fgkMansoTrackerFSMId = "MUONMansoTrackerFSM";
186 const char* AliHLTMUONConstants::fgkDecisionComponentId = "MUONDecisionComponent";
187 const char* AliHLTMUONConstants::fgkESDMakerId = "MUONESDMaker";
188 const char* AliHLTMUONConstants::fgkRootifierComponentId = "MUONRootifier";
189 const char* AliHLTMUONConstants::fgkEmptyEventFilterComponentId = "MUONEmptyEventFilter";
190 const char* AliHLTMUONConstants::fgkDataCheckerComponentId = "MUONDataChecker";
191 const char* AliHLTMUONConstants::fgkClusterFinderId = "MUONClusterFinder";
193 const char* AliHLTMUONConstants::fgkTriggerReconstructorCDBPath = "HLT/ConfigMUON/TriggerReconstructor";
194 const char* AliHLTMUONConstants::fgkHitReconstructorCDBPath = "HLT/ConfigMUON/HitReconstructor";
195 const char* AliHLTMUONConstants::fgkMansoTrackerFSMCDBPath = "HLT/ConfigMUON/MansoTrackerFSM";
196 const char* AliHLTMUONConstants::fgkDecisionComponentCDBPath = "HLT/ConfigMUON/DecisionComponent";