]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/MUON/AliHLTMUONConstants.cxx
fix coverity and codding conventions
[u/mrichter/AliRoot.git] / HLT / MUON / AliHLTMUONConstants.cxx
CommitLineData
26a4668d 1/**************************************************************************
1d8ae082 2 * This file is property of and copyright by the ALICE HLT Project *
e6357f88 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 *
1d8ae082 14 * about the suitability of this software for any purpose. It is *
26a4668d 15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
17
1d8ae082 18// $Id$
26a4668d 19
20/**
21 * @file AliHLTMUONConstants.cxx
22 * @author Indranil Das <indra.das@saha.ac.in>,
23 * Artur Szostak <artursz@iafrica.com>
4d76a068 24 * @date 17 May 2007
26a4668d 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"
a8982f78 36#include "AliHLTMUONTracksBlockStruct.h"
b12fe461 37#include "AliHLTMUONSinglesDecisionBlockStruct.h"
38#include "AliHLTMUONPairsDecisionBlockStruct.h"
26a4668d 39
33b1e2f2 40ClassImp(AliHLTMUONConstants);
910807dd 41
c8ec7c7e 42const AliHLTMUONTriggerRecordStruct
43AliHLTMUONConstants::fgkNilTriggerRecordStruct = {
44 0, 0, 0, 0, 0,
90a74d7a 45 {
46 AliHLTMUONConstants::fgkNilRecHitStruct,
47 AliHLTMUONConstants::fgkNilRecHitStruct,
48 AliHLTMUONConstants::fgkNilRecHitStruct,
49 AliHLTMUONConstants::fgkNilRecHitStruct
50 }
c8ec7c7e 51};
52
53const AliHLTMUONTrigRecInfoStruct
bc5cb6d6 54AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {
55 0, {0, 0, 0, 0}, 0, 0,
56 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}
57};
c8ec7c7e 58
26a4668d 59const AliHLTMUONRecHitStruct
a090ff22 60AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0, 0};
26a4668d 61
910807dd 62const AliHLTMUONClusterStruct
90a74d7a 63AliHLTMUONConstants::fgkNilClusterStruct = {
66622a82 64 0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0, 0, 0, 0
90a74d7a 65};
910807dd 66
67const AliHLTMUONChannelStruct
af8c7885 68AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0, 0};
910807dd 69
90a74d7a 70const AliHLTMUONMansoTrackStruct
71AliHLTMUONConstants::fgkNilMansoTrackStruct = {
72 0, 0, 0, 0, 0, 0, 0,
73 {
74 AliHLTMUONConstants::fgkNilRecHitStruct,
75 AliHLTMUONConstants::fgkNilRecHitStruct,
76 AliHLTMUONConstants::fgkNilRecHitStruct,
77 AliHLTMUONConstants::fgkNilRecHitStruct
78 }
79};
80
81const AliHLTMUONMansoRoIStruct
82AliHLTMUONConstants::fgkNilMansoRoIStruct = {0, 0, 0, 0};
83
84const AliHLTMUONMansoCandidateStruct
85AliHLTMUONConstants::fgkNilMansoCandidateStruct = {
86 AliHLTMUONConstants::fgkNilMansoTrackStruct,
87 {
88 AliHLTMUONConstants::fgkNilMansoRoIStruct,
89 AliHLTMUONConstants::fgkNilMansoRoIStruct,
90 AliHLTMUONConstants::fgkNilMansoRoIStruct,
91 AliHLTMUONConstants::fgkNilMansoRoIStruct
a090ff22 92 },
93 0, 0
90a74d7a 94};
95
a8982f78 96const AliHLTMUONTrackStruct
97AliHLTMUONConstants::fgkNilTrackStruct = {
98 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
99 {
100 AliHLTMUONConstants::fgkNilRecHitStruct,
101 AliHLTMUONConstants::fgkNilRecHitStruct,
102 AliHLTMUONConstants::fgkNilRecHitStruct,
103 AliHLTMUONConstants::fgkNilRecHitStruct,
104 AliHLTMUONConstants::fgkNilRecHitStruct,
105 AliHLTMUONConstants::fgkNilRecHitStruct,
106 AliHLTMUONConstants::fgkNilRecHitStruct,
107 AliHLTMUONConstants::fgkNilRecHitStruct,
108 AliHLTMUONConstants::fgkNilRecHitStruct,
109 AliHLTMUONConstants::fgkNilRecHitStruct,
110 AliHLTMUONConstants::fgkNilRecHitStruct,
111 AliHLTMUONConstants::fgkNilRecHitStruct,
112 AliHLTMUONConstants::fgkNilRecHitStruct,
113 AliHLTMUONConstants::fgkNilRecHitStruct,
114 AliHLTMUONConstants::fgkNilRecHitStruct,
115 AliHLTMUONConstants::fgkNilRecHitStruct
116 }
117};
118
90a74d7a 119const AliHLTMUONTrackDecisionStruct
450e0b36 120AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0, 0};
90a74d7a 121
122const AliHLTMUONPairDecisionStruct
123AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0};
124
26a4668d 125
126const AliHLTComponentDataType
e5c0542d 127AliHLTMUONConstants::fgkDDLRawDataType = AliHLTComponentDataTypeInitializer(kAliHLTDataTypeDDLRaw.fID, kAliHLTDataOriginMUON);
26a4668d 128
129const AliHLTComponentDataType
e5c0542d 130AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = AliHLTComponentDataTypeInitializer("TRIGRECS", kAliHLTDataOriginMUON);
26a4668d 131
132const AliHLTComponentDataType
e5c0542d 133AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = AliHLTComponentDataTypeInitializer("TRIGRDBG", kAliHLTDataOriginMUON);
26a4668d 134
910807dd 135const AliHLTComponentDataType
e5c0542d 136AliHLTMUONConstants::fgkRecHitsBlockDataType = AliHLTComponentDataTypeInitializer("RECHITS ", kAliHLTDataOriginMUON);
26a4668d 137
138const AliHLTComponentDataType
e5c0542d 139AliHLTMUONConstants::fgkClusterBlockDataType = AliHLTComponentDataTypeInitializer("CLUSTERS", kAliHLTDataOriginMUON);
910807dd 140
141const AliHLTComponentDataType
e5c0542d 142AliHLTMUONConstants::fgkChannelBlockDataType = AliHLTComponentDataTypeInitializer("CHANNELS", kAliHLTDataOriginMUON);
26a4668d 143
144const AliHLTComponentDataType
e5c0542d 145AliHLTMUONConstants::fgkMansoTracksBlockDataType = AliHLTComponentDataTypeInitializer("MANTRACK", kAliHLTDataOriginMUON);
26a4668d 146
147const AliHLTComponentDataType
e5c0542d 148AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = AliHLTComponentDataTypeInitializer("MNCANDID", kAliHLTDataOriginMUON);
26a4668d 149
a8982f78 150const AliHLTComponentDataType
151AliHLTMUONConstants::fgkTracksBlockDataType = AliHLTComponentDataTypeInitializer("TRACKS ", kAliHLTDataOriginMUON);
152
26a4668d 153const AliHLTComponentDataType
e5c0542d 154AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = AliHLTComponentDataTypeInitializer("DECIDSIN", kAliHLTDataOriginMUON);
26a4668d 155
156const AliHLTComponentDataType
e5c0542d 157AliHLTMUONConstants::fgkPairsDecisionBlockDataType = AliHLTComponentDataTypeInitializer("DECIDPAR", kAliHLTDataOriginMUON);
b12fe461 158
73ed798e 159const AliHLTComponentDataType
160AliHLTMUONConstants::fgkRootifiedEventDataType = AliHLTComponentDataTypeInitializer("ROOTEVNT", kAliHLTDataOriginMUON);
161
649ab027 162const AliHLTComponentDataType
e5c0542d 163AliHLTMUONConstants::fgkESDDataType = AliHLTComponentDataTypeInitializer(kAliHLTDataTypeESDObject.fID, kAliHLTDataOriginMUON);
649ab027 164
17d68f2a 165const AliHLTComponentDataType
e5c0542d 166AliHLTMUONConstants::fgkClusterStoreDataType = AliHLTComponentDataTypeInitializer("CLUSTORE", kAliHLTDataOriginMUON);
17d68f2a 167
a63da6d6 168const AliHLTComponentDataType
169AliHLTMUONConstants::fgkHistogramDataType = AliHLTComponentDataTypeInitializer("ROOTHIST", kAliHLTDataOriginMUON);
649ab027 170
7272c66b 171const char* AliHLTMUONConstants::fgkRecHitsSourceId = "MUONRecHitsSource";
172const char* AliHLTMUONConstants::fgkTriggerRecordsSourceId = "MUONTriggerRecordsSource";
887a669c 173const char* AliHLTMUONConstants::fgkTracksSourceId = "MUONTracksSource";
174const char* AliHLTMUONConstants::fgkDigitPublisherId = "MUONDigitPublisher";
7272c66b 175const char* AliHLTMUONConstants::fgkTriggerReconstructorId = "MUONTriggerReconstructor";
176const char* AliHLTMUONConstants::fgkHitReconstructorId = "MUONHitReconstructor";
177const char* AliHLTMUONConstants::fgkMansoTrackerFSMId = "MUONMansoTrackerFSM";
52c6d8aa 178const char* AliHLTMUONConstants::fgkFullTrackerId = "MUONFullTracker";
7272c66b 179const char* AliHLTMUONConstants::fgkDecisionComponentId = "MUONDecisionComponent";
649ab027 180const char* AliHLTMUONConstants::fgkESDMakerId = "MUONESDMaker";
450e0b36 181const char* AliHLTMUONConstants::fgkRootifierComponentId = "MUONRootifier";
dba14d7d 182const char* AliHLTMUONConstants::fgkEmptyEventFilterComponentId = "MUONEmptyEventFilter";
183const char* AliHLTMUONConstants::fgkDataCheckerComponentId = "MUONDataChecker";
17d68f2a 184const char* AliHLTMUONConstants::fgkClusterFinderId = "MUONClusterFinder";
a63da6d6 185const char* AliHLTMUONConstants::fgkRawDataHistogrammerId = "MUONRawDataHistogrammer";
f064ef44 186const char* AliHLTMUONConstants::fgkClusterHistogrammerId = "MUONClusterHistogrammer";
0528e93a 187
2b7af22a 188const char* AliHLTMUONConstants::fgkTriggerReconstructorCDBPath = "HLT/ConfigMUON/TriggerReconstructor";
887a669c 189const char* AliHLTMUONConstants::fgkHitReconstructorCDBPath = "HLT/ConfigMUON/HitReconstructor";
190const char* AliHLTMUONConstants::fgkMansoTrackerFSMCDBPath = "HLT/ConfigMUON/MansoTrackerFSM";
c9537879 191const char* AliHLTMUONConstants::fgkDecisionComponentCDBPath = "HLT/ConfigMUON/DecisionComponent";
bc5cb6d6 192const char* AliHLTMUONConstants::fgkFieldIntegralsCDBPath = "HLT/ConfigMUON/FieldIntegrals";