]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/MUON/AliHLTMUONConstants.cxx
Adding cluster finder component which integrates offline algorithms with online HLT.
[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"
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 40const AliHLTMUONTriggerRecordStruct
41AliHLTMUONConstants::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
51const AliHLTMUONTrigRecInfoStruct
a090ff22 52AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {0, {0, 0, 0, 0}, 0, 0, {0, 0, 0, 0, 0}};
c8ec7c7e 53
26a4668d 54const AliHLTMUONRecHitStruct
a090ff22 55AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0, 0};
26a4668d 56
910807dd 57const AliHLTMUONClusterStruct
90a74d7a 58AliHLTMUONConstants::fgkNilClusterStruct = {
59 0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0
60};
910807dd 61
62const AliHLTMUONChannelStruct
af8c7885 63AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0, 0};
910807dd 64
90a74d7a 65const AliHLTMUONMansoTrackStruct
66AliHLTMUONConstants::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
76const AliHLTMUONMansoRoIStruct
77AliHLTMUONConstants::fgkNilMansoRoIStruct = {0, 0, 0, 0};
78
79const AliHLTMUONMansoCandidateStruct
80AliHLTMUONConstants::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
91const AliHLTMUONTrackDecisionStruct
450e0b36 92AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0, 0};
90a74d7a 93
94const AliHLTMUONPairDecisionStruct
95AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0};
96
26a4668d 97
98const AliHLTComponentDataType
887a669c 99AliHLTMUONConstants::fgkDDLRawDataType = (AliHLTComponentDataType){
100 sizeof(AliHLTComponentDataType),
101 kAliHLTDDLRawDataTypeID,
102 kAliHLTDataOriginAny
103} | kAliHLTDataOriginMUON;
26a4668d 104
105const AliHLTComponentDataType
69347e0d 106AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = (AliHLTComponentDataType){
26a4668d 107 sizeof(AliHLTComponentDataType),
910807dd 108 {'T','R','I','G','R','E','C','S'},
69347e0d 109 kAliHLTDataOriginAny
110} | kAliHLTDataOriginMUON;
26a4668d 111
112const AliHLTComponentDataType
69347e0d 113AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = (AliHLTComponentDataType){
26a4668d 114 sizeof(AliHLTComponentDataType),
910807dd 115 {'T','R','I','G','R','D','B','G'},
69347e0d 116 kAliHLTDataOriginAny
117} | kAliHLTDataOriginMUON;
26a4668d 118
910807dd 119const AliHLTComponentDataType
69347e0d 120AliHLTMUONConstants::fgkRecHitsBlockDataType = (AliHLTComponentDataType){
910807dd 121 sizeof(AliHLTComponentDataType),
122 {'R','E','C','H','I','T','S',' '},
69347e0d 123 kAliHLTDataOriginAny
124} | kAliHLTDataOriginMUON;
26a4668d 125
126const AliHLTComponentDataType
69347e0d 127AliHLTMUONConstants::fgkClusterBlockDataType = (AliHLTComponentDataType){
26a4668d 128 sizeof(AliHLTComponentDataType),
910807dd 129 {'C','L','U','S','T','E','R','S'},
69347e0d 130 kAliHLTDataOriginAny
131} | kAliHLTDataOriginMUON;
910807dd 132
133const AliHLTComponentDataType
69347e0d 134AliHLTMUONConstants::fgkChannelBlockDataType = (AliHLTComponentDataType){
910807dd 135 sizeof(AliHLTComponentDataType),
136 {'C','H','A','N','N','E','L','S'},
69347e0d 137 kAliHLTDataOriginAny
138} | kAliHLTDataOriginMUON;
26a4668d 139
140const AliHLTComponentDataType
69347e0d 141AliHLTMUONConstants::fgkMansoTracksBlockDataType = (AliHLTComponentDataType){
26a4668d 142 sizeof(AliHLTComponentDataType),
143 {'M','A','N','T','R','A','C','K'},
69347e0d 144 kAliHLTDataOriginAny
145} | kAliHLTDataOriginMUON;
26a4668d 146
147const AliHLTComponentDataType
69347e0d 148AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = (AliHLTComponentDataType){
26a4668d 149 sizeof(AliHLTComponentDataType),
90a74d7a 150 {'M','N','C','A','N','D','I','D'},
69347e0d 151 kAliHLTDataOriginAny
152} | kAliHLTDataOriginMUON;
26a4668d 153
154const AliHLTComponentDataType
69347e0d 155AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = (AliHLTComponentDataType){
26a4668d 156 sizeof(AliHLTComponentDataType),
7272c66b 157 {'D','E','C','I','D','S','I','N'},
69347e0d 158 kAliHLTDataOriginAny
159} | kAliHLTDataOriginMUON;
26a4668d 160
161const AliHLTComponentDataType
69347e0d 162AliHLTMUONConstants::fgkPairsDecisionBlockDataType = (AliHLTComponentDataType){
26a4668d 163 sizeof(AliHLTComponentDataType),
90a74d7a 164 {'D','E','C','I','D','P','A','R'},
69347e0d 165 kAliHLTDataOriginAny
166} | kAliHLTDataOriginMUON;
b12fe461 167
649ab027 168const AliHLTComponentDataType
169AliHLTMUONConstants::fgkESDDataType = kAliHLTDataTypeESDObject | kAliHLTDataOriginMUON;
170
17d68f2a 171const AliHLTComponentDataType
172AliHLTMUONConstants::fgkClusterStoreDataType = (AliHLTComponentDataType){
173 sizeof(AliHLTComponentDataType),
174 {'C','L','U','S','T','O','R','E'},
175 kAliHLTDataOriginAny
176} | kAliHLTDataOriginMUON;
177
649ab027 178
7272c66b 179const char* AliHLTMUONConstants::fgkRecHitsSourceId = "MUONRecHitsSource";
180const char* AliHLTMUONConstants::fgkTriggerRecordsSourceId = "MUONTriggerRecordsSource";
887a669c 181const char* AliHLTMUONConstants::fgkTracksSourceId = "MUONTracksSource";
182const char* AliHLTMUONConstants::fgkDigitPublisherId = "MUONDigitPublisher";
7272c66b 183const char* AliHLTMUONConstants::fgkTriggerReconstructorId = "MUONTriggerReconstructor";
184const char* AliHLTMUONConstants::fgkHitReconstructorId = "MUONHitReconstructor";
185const char* AliHLTMUONConstants::fgkMansoTrackerFSMId = "MUONMansoTrackerFSM";
186const char* AliHLTMUONConstants::fgkDecisionComponentId = "MUONDecisionComponent";
649ab027 187const char* AliHLTMUONConstants::fgkESDMakerId = "MUONESDMaker";
450e0b36 188const char* AliHLTMUONConstants::fgkRootifierComponentId = "MUONRootifier";
dba14d7d 189const char* AliHLTMUONConstants::fgkEmptyEventFilterComponentId = "MUONEmptyEventFilter";
190const char* AliHLTMUONConstants::fgkDataCheckerComponentId = "MUONDataChecker";
17d68f2a 191const char* AliHLTMUONConstants::fgkClusterFinderId = "MUONClusterFinder";
0528e93a 192
2b7af22a 193const char* AliHLTMUONConstants::fgkTriggerReconstructorCDBPath = "HLT/ConfigMUON/TriggerReconstructor";
887a669c 194const char* AliHLTMUONConstants::fgkHitReconstructorCDBPath = "HLT/ConfigMUON/HitReconstructor";
195const char* AliHLTMUONConstants::fgkMansoTrackerFSMCDBPath = "HLT/ConfigMUON/MansoTrackerFSM";
c9537879 196const char* AliHLTMUONConstants::fgkDecisionComponentCDBPath = "HLT/ConfigMUON/DecisionComponent";
197