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 "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"
41 const AliHLTMUONTriggerRecordStruct
42 AliHLTMUONConstants::fgkNilTriggerRecordStruct = {
45 AliHLTMUONConstants::fgkNilRecHitStruct,
46 AliHLTMUONConstants::fgkNilRecHitStruct,
47 AliHLTMUONConstants::fgkNilRecHitStruct,
48 AliHLTMUONConstants::fgkNilRecHitStruct
52 const AliHLTMUONTrigRecInfoStruct
53 AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {0, {0, 0, 0, 0}, 0, 0};
55 const AliHLTMUONTriggerChannelStruct
56 AliHLTMUONConstants::fgkNilTriggerChannelStruct = {0, 0, 0, 0};
58 const AliHLTMUONRecHitStruct
59 AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0};
61 const AliHLTMUONClusterStruct
62 AliHLTMUONConstants::fgkNilClusterStruct = {
63 0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0
66 const AliHLTMUONChannelStruct
67 AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0, 0};
69 const AliHLTMUONMansoTrackStruct
70 AliHLTMUONConstants::fgkNilMansoTrackStruct = {
73 AliHLTMUONConstants::fgkNilRecHitStruct,
74 AliHLTMUONConstants::fgkNilRecHitStruct,
75 AliHLTMUONConstants::fgkNilRecHitStruct,
76 AliHLTMUONConstants::fgkNilRecHitStruct
80 const AliHLTMUONMansoRoIStruct
81 AliHLTMUONConstants::fgkNilMansoRoIStruct = {0, 0, 0, 0};
83 const AliHLTMUONMansoCandidateStruct
84 AliHLTMUONConstants::fgkNilMansoCandidateStruct = {
85 AliHLTMUONConstants::fgkNilMansoTrackStruct,
87 AliHLTMUONConstants::fgkNilMansoRoIStruct,
88 AliHLTMUONConstants::fgkNilMansoRoIStruct,
89 AliHLTMUONConstants::fgkNilMansoRoIStruct,
90 AliHLTMUONConstants::fgkNilMansoRoIStruct
94 const AliHLTMUONTrackDecisionStruct
95 AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0, 0};
97 const AliHLTMUONPairDecisionStruct
98 AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0};
101 const AliHLTComponentDataType
102 AliHLTMUONConstants::fgkDDLRawDataType = kAliHLTDataTypeDDLRaw | kAliHLTDataOriginMUON;
104 const AliHLTComponentDataType
105 AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = (AliHLTComponentDataType){
106 sizeof(AliHLTComponentDataType),
107 {'T','R','I','G','R','E','C','S'},
109 } | kAliHLTDataOriginMUON;
111 const AliHLTComponentDataType
112 AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = (AliHLTComponentDataType){
113 sizeof(AliHLTComponentDataType),
114 {'T','R','I','G','R','D','B','G'},
116 } | kAliHLTDataOriginMUON;
118 const AliHLTComponentDataType
119 AliHLTMUONConstants::fgkTriggerChannelBlockDataType = (AliHLTComponentDataType){
120 sizeof(AliHLTComponentDataType),
121 {'T','R','I','G','C','H','N','L'},
123 } | kAliHLTDataOriginMUON;
125 const AliHLTComponentDataType
126 AliHLTMUONConstants::fgkRecHitsBlockDataType = (AliHLTComponentDataType){
127 sizeof(AliHLTComponentDataType),
128 {'R','E','C','H','I','T','S',' '},
130 } | kAliHLTDataOriginMUON;
132 const AliHLTComponentDataType
133 AliHLTMUONConstants::fgkClusterBlockDataType = (AliHLTComponentDataType){
134 sizeof(AliHLTComponentDataType),
135 {'C','L','U','S','T','E','R','S'},
137 } | kAliHLTDataOriginMUON;
139 const AliHLTComponentDataType
140 AliHLTMUONConstants::fgkChannelBlockDataType = (AliHLTComponentDataType){
141 sizeof(AliHLTComponentDataType),
142 {'C','H','A','N','N','E','L','S'},
144 } | kAliHLTDataOriginMUON;
146 const AliHLTComponentDataType
147 AliHLTMUONConstants::fgkMansoTracksBlockDataType = (AliHLTComponentDataType){
148 sizeof(AliHLTComponentDataType),
149 {'M','A','N','T','R','A','C','K'},
151 } | kAliHLTDataOriginMUON;
153 const AliHLTComponentDataType
154 AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = (AliHLTComponentDataType){
155 sizeof(AliHLTComponentDataType),
156 {'M','N','C','A','N','D','I','D'},
158 } | kAliHLTDataOriginMUON;
160 const AliHLTComponentDataType
161 AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = (AliHLTComponentDataType){
162 sizeof(AliHLTComponentDataType),
163 {'D','E','C','I','D','S','I','N'},
165 } | kAliHLTDataOriginMUON;
167 const AliHLTComponentDataType
168 AliHLTMUONConstants::fgkPairsDecisionBlockDataType = (AliHLTComponentDataType){
169 sizeof(AliHLTComponentDataType),
170 {'D','E','C','I','D','P','A','R'},
172 } | kAliHLTDataOriginMUON;
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";
181 const char* AliHLTMUONConstants::fgkRootifierComponentId = "MUONRootifier";
182 const char* AliHLTMUONConstants::fgkEmptyEventFilterComponentId = "MUONEmptyEventFilter";
183 const char* AliHLTMUONConstants::fgkDataCheckerComponentId = "MUONDataChecker";
185 const char* AliHLTMUONConstants::fgkDecisionComponentCDBPath = "HLT/ConfigMUON/DecisionComponent";