]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/MUON/AliHLTMUONConstants.cxx
Minor cleanup of code.
[u/mrichter/AliRoot.git] / HLT / MUON / AliHLTMUONConstants.cxx
CommitLineData
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 41const AliHLTMUONTriggerRecordStruct
42AliHLTMUONConstants::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
52const AliHLTMUONTrigRecInfoStruct
6253e09b 53AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {0, {0, 0, 0, 0}, 0, 0};
c8ec7c7e 54
55const AliHLTMUONTriggerChannelStruct
56AliHLTMUONConstants::fgkNilTriggerChannelStruct = {0, 0, 0, 0};
57
26a4668d 58const AliHLTMUONRecHitStruct
59AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0};
60
910807dd 61const AliHLTMUONClusterStruct
90a74d7a 62AliHLTMUONConstants::fgkNilClusterStruct = {
63 0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0
64};
910807dd 65
66const AliHLTMUONChannelStruct
67AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0};
68
90a74d7a 69const AliHLTMUONMansoTrackStruct
70AliHLTMUONConstants::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
80const AliHLTMUONMansoRoIStruct
81AliHLTMUONConstants::fgkNilMansoRoIStruct = {0, 0, 0, 0};
82
83const AliHLTMUONMansoCandidateStruct
84AliHLTMUONConstants::fgkNilMansoCandidateStruct = {
85 AliHLTMUONConstants::fgkNilMansoTrackStruct,
86 {
87 AliHLTMUONConstants::fgkNilMansoRoIStruct,
88 AliHLTMUONConstants::fgkNilMansoRoIStruct,
89 AliHLTMUONConstants::fgkNilMansoRoIStruct,
90 AliHLTMUONConstants::fgkNilMansoRoIStruct
91 }
92};
93
94const AliHLTMUONTrackDecisionStruct
95AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0};
96
97const AliHLTMUONPairDecisionStruct
98AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0};
99
26a4668d 100
101const AliHLTComponentDataType
668eee9f 102AliHLTMUONConstants::fgkDDLRawDataType = kAliHLTDataTypeDDLRaw | kAliHLTDataOriginMUON;
26a4668d 103
104const AliHLTComponentDataType
69347e0d 105AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = (AliHLTComponentDataType){
26a4668d 106 sizeof(AliHLTComponentDataType),
910807dd 107 {'T','R','I','G','R','E','C','S'},
69347e0d 108 kAliHLTDataOriginAny
109} | kAliHLTDataOriginMUON;
26a4668d 110
111const AliHLTComponentDataType
69347e0d 112AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = (AliHLTComponentDataType){
26a4668d 113 sizeof(AliHLTComponentDataType),
910807dd 114 {'T','R','I','G','R','D','B','G'},
69347e0d 115 kAliHLTDataOriginAny
116} | kAliHLTDataOriginMUON;
26a4668d 117
118const AliHLTComponentDataType
69347e0d 119AliHLTMUONConstants::fgkTriggerChannelBlockDataType = (AliHLTComponentDataType){
26a4668d 120 sizeof(AliHLTComponentDataType),
910807dd 121 {'T','R','I','G','C','H','N','L'},
69347e0d 122 kAliHLTDataOriginAny
123} | kAliHLTDataOriginMUON;
910807dd 124
125const AliHLTComponentDataType
69347e0d 126AliHLTMUONConstants::fgkRecHitsBlockDataType = (AliHLTComponentDataType){
910807dd 127 sizeof(AliHLTComponentDataType),
128 {'R','E','C','H','I','T','S',' '},
69347e0d 129 kAliHLTDataOriginAny
130} | kAliHLTDataOriginMUON;
26a4668d 131
132const AliHLTComponentDataType
69347e0d 133AliHLTMUONConstants::fgkClusterBlockDataType = (AliHLTComponentDataType){
26a4668d 134 sizeof(AliHLTComponentDataType),
910807dd 135 {'C','L','U','S','T','E','R','S'},
69347e0d 136 kAliHLTDataOriginAny
137} | kAliHLTDataOriginMUON;
910807dd 138
139const AliHLTComponentDataType
69347e0d 140AliHLTMUONConstants::fgkChannelBlockDataType = (AliHLTComponentDataType){
910807dd 141 sizeof(AliHLTComponentDataType),
142 {'C','H','A','N','N','E','L','S'},
69347e0d 143 kAliHLTDataOriginAny
144} | kAliHLTDataOriginMUON;
26a4668d 145
146const AliHLTComponentDataType
69347e0d 147AliHLTMUONConstants::fgkMansoTracksBlockDataType = (AliHLTComponentDataType){
26a4668d 148 sizeof(AliHLTComponentDataType),
149 {'M','A','N','T','R','A','C','K'},
69347e0d 150 kAliHLTDataOriginAny
151} | kAliHLTDataOriginMUON;
26a4668d 152
153const AliHLTComponentDataType
69347e0d 154AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = (AliHLTComponentDataType){
26a4668d 155 sizeof(AliHLTComponentDataType),
90a74d7a 156 {'M','N','C','A','N','D','I','D'},
69347e0d 157 kAliHLTDataOriginAny
158} | kAliHLTDataOriginMUON;
26a4668d 159
160const AliHLTComponentDataType
69347e0d 161AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = (AliHLTComponentDataType){
26a4668d 162 sizeof(AliHLTComponentDataType),
7272c66b 163 {'D','E','C','I','D','S','I','N'},
69347e0d 164 kAliHLTDataOriginAny
165} | kAliHLTDataOriginMUON;
26a4668d 166
167const AliHLTComponentDataType
69347e0d 168AliHLTMUONConstants::fgkPairsDecisionBlockDataType = (AliHLTComponentDataType){
26a4668d 169 sizeof(AliHLTComponentDataType),
90a74d7a 170 {'D','E','C','I','D','P','A','R'},
69347e0d 171 kAliHLTDataOriginAny
172} | kAliHLTDataOriginMUON;
b12fe461 173
7272c66b 174const char* AliHLTMUONConstants::fgkRecHitsSourceId = "MUONRecHitsSource";
175const char* AliHLTMUONConstants::fgkTriggerRecordsSourceId = "MUONTriggerRecordsSource";
176const char* AliHLTMUONConstants::fgkMansoTracksSourceId = "MUONMansoTracksSource";
177const char* AliHLTMUONConstants::fgkTriggerReconstructorId = "MUONTriggerReconstructor";
178const char* AliHLTMUONConstants::fgkHitReconstructorId = "MUONHitReconstructor";
179const char* AliHLTMUONConstants::fgkMansoTrackerFSMId = "MUONMansoTrackerFSM";
180const char* AliHLTMUONConstants::fgkDecisionComponentId = "MUONDecisionComponent";
8134dd2e 181const char* AliHLTMUONConstants::fgkTriggerCalibratorId = "MUONTriggerCalibrator";
182const char* AliHLTMUONConstants::fgkTrackerCalibratorId = "MUONTrackerCalibrator";
0528e93a 183const char* AliHLTMUONConstants::fgkEmptyEventFilterComponentId = "MUONEmptyEventFilterComponent";
184