]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/MUON/AliHLTMUONConstants.cxx
f5d541542a3a3f4775ea44e86cd385c2bc98c671
[u/mrichter/AliRoot.git] / HLT / MUON / AliHLTMUONConstants.cxx
1 /**************************************************************************
2  * This file is property of and copyright by the ALICE HLT Project        * 
3  * All rights reserved.                                                   *
4  *                                                                        *
5  * Primary Authors:                                                       *
6  *   Indranil Das <indra.das@saha.ac.in>                                  *
7  *   Artur Szostak <artursz@iafrica.com>                                  *
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     *
14  * about the suitability of this software for any purpose. It is          * 
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"
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"
38
39
40 const AliHLTMUONTriggerRecordStruct
41 AliHLTMUONConstants::fgkNilTriggerRecordStruct = {
42         0, 0, 0, 0, 0,
43         {
44          AliHLTMUONConstants::fgkNilRecHitStruct,
45          AliHLTMUONConstants::fgkNilRecHitStruct,
46          AliHLTMUONConstants::fgkNilRecHitStruct,
47          AliHLTMUONConstants::fgkNilRecHitStruct
48         }
49 };
50
51 const AliHLTMUONTrigRecInfoStruct
52 AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {0, {0, 0, 0, 0}, 0, 0, {0, 0, 0, 0, 0}};
53         
54 const AliHLTMUONRecHitStruct
55 AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0, 0};
56
57 const AliHLTMUONClusterStruct
58 AliHLTMUONConstants::fgkNilClusterStruct = {
59         0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0
60 };
61
62 const AliHLTMUONChannelStruct
63 AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0, 0};
64
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
87         },
88         0, 0
89 };
90
91 const AliHLTMUONTrackDecisionStruct
92 AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0, 0};
93
94 const AliHLTMUONPairDecisionStruct
95 AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0};
96
97
98 const AliHLTComponentDataType
99 AliHLTMUONConstants::fgkDDLRawDataType = (AliHLTComponentDataType){
100         sizeof(AliHLTComponentDataType),
101         kAliHLTDDLRawDataTypeID,
102         kAliHLTDataOriginAny
103 } | kAliHLTDataOriginMUON;
104
105 const AliHLTComponentDataType
106 AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = (AliHLTComponentDataType){
107         sizeof(AliHLTComponentDataType),
108         {'T','R','I','G','R','E','C','S'},
109         kAliHLTDataOriginAny
110 } | kAliHLTDataOriginMUON;
111
112 const AliHLTComponentDataType
113 AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = (AliHLTComponentDataType){
114         sizeof(AliHLTComponentDataType),
115         {'T','R','I','G','R','D','B','G'},
116         kAliHLTDataOriginAny
117 } | kAliHLTDataOriginMUON;
118
119 const AliHLTComponentDataType
120 AliHLTMUONConstants::fgkRecHitsBlockDataType = (AliHLTComponentDataType){
121         sizeof(AliHLTComponentDataType),
122         {'R','E','C','H','I','T','S',' '},
123         kAliHLTDataOriginAny
124 } | kAliHLTDataOriginMUON;
125
126 const AliHLTComponentDataType
127 AliHLTMUONConstants::fgkClusterBlockDataType = (AliHLTComponentDataType){
128         sizeof(AliHLTComponentDataType),
129         {'C','L','U','S','T','E','R','S'},
130         kAliHLTDataOriginAny
131 } | kAliHLTDataOriginMUON;
132
133 const AliHLTComponentDataType
134 AliHLTMUONConstants::fgkChannelBlockDataType = (AliHLTComponentDataType){
135         sizeof(AliHLTComponentDataType),
136         {'C','H','A','N','N','E','L','S'},
137         kAliHLTDataOriginAny
138 } | kAliHLTDataOriginMUON;
139
140 const AliHLTComponentDataType
141 AliHLTMUONConstants::fgkMansoTracksBlockDataType = (AliHLTComponentDataType){
142         sizeof(AliHLTComponentDataType),
143         {'M','A','N','T','R','A','C','K'},
144         kAliHLTDataOriginAny
145 } | kAliHLTDataOriginMUON;
146
147 const AliHLTComponentDataType
148 AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = (AliHLTComponentDataType){
149         sizeof(AliHLTComponentDataType),
150         {'M','N','C','A','N','D','I','D'},
151         kAliHLTDataOriginAny
152 } | kAliHLTDataOriginMUON;
153
154 const AliHLTComponentDataType
155 AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = (AliHLTComponentDataType){
156         sizeof(AliHLTComponentDataType),
157         {'D','E','C','I','D','S','I','N'},
158         kAliHLTDataOriginAny
159 } | kAliHLTDataOriginMUON;
160
161 const AliHLTComponentDataType
162 AliHLTMUONConstants::fgkPairsDecisionBlockDataType = (AliHLTComponentDataType){
163         sizeof(AliHLTComponentDataType),
164         {'D','E','C','I','D','P','A','R'},
165         kAliHLTDataOriginAny
166 } | kAliHLTDataOriginMUON;
167
168 const AliHLTComponentDataType
169 AliHLTMUONConstants::fgkESDDataType = kAliHLTDataTypeESDObject | kAliHLTDataOriginMUON;
170
171 const AliHLTComponentDataType
172 AliHLTMUONConstants::fgkClusterStoreDataType = (AliHLTComponentDataType){
173         sizeof(AliHLTComponentDataType),
174         {'C','L','U','S','T','O','R','E'},
175         kAliHLTDataOriginAny
176 } | kAliHLTDataOriginMUON;
177
178
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";
192
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";
197