]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/MUON/AliHLTMUONConstants.cxx
Fixing warnings
[u/mrichter/AliRoot.git] / HLT / MUON / AliHLTMUONConstants.cxx
index c598307d35d2c43b42598ed67b67cb37662b221e..ca4eaaf2298c0f76caf91122232e4e8431a339bc 100644 (file)
@@ -1,5 +1,5 @@
 /**************************************************************************
- * This file is property of and copyright by the ALICE HLT Project        * 
+ * This file is property of and copyright by the ALICE HLT Project        *
  * All rights reserved.                                                   *
  *                                                                        *
  * Primary Authors:                                                       *
  * without fee, provided that the above copyright notice appears in all   *
  * copies and that both the copyright notice and this permission notice   *
  * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          * 
+ * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/* $Id$ */
+// $Id$
 
 /**
  * @file   AliHLTMUONConstants.cxx
  * @author Indranil Das <indra.das@saha.ac.in>,
  *         Artur Szostak <artursz@iafrica.com>
- * @date   
+ * @date   17 May 2007
  * @brief  Definitions of the various dimuon HLT constants.
  */
 
@@ -36,6 +36,7 @@
 #include "AliHLTMUONSinglesDecisionBlockStruct.h"
 #include "AliHLTMUONPairsDecisionBlockStruct.h"
 
+ClassImp(AliHLTMUONConstants);
 
 const AliHLTMUONTriggerRecordStruct
 AliHLTMUONConstants::fgkNilTriggerRecordStruct = {
@@ -56,7 +57,7 @@ AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0, 0};
 
 const AliHLTMUONClusterStruct
 AliHLTMUONConstants::fgkNilClusterStruct = {
-       0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0
+       0, AliHLTMUONConstants::fgkNilRecHitStruct, 0, 0, 0, 0, 0
 };
 
 const AliHLTMUONChannelStruct
@@ -96,78 +97,46 @@ AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0};
 
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkDDLRawDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       kAliHLTDDLRawDataTypeID,
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkDDLRawDataType = AliHLTComponentDataTypeInitializer(kAliHLTDataTypeDDLRaw.fID, kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'T','R','I','G','R','E','C','S'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkTriggerRecordsBlockDataType = AliHLTComponentDataTypeInitializer("TRIGRECS", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'T','R','I','G','R','D','B','G'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkTrigRecsDebugBlockDataType = AliHLTComponentDataTypeInitializer("TRIGRDBG", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkRecHitsBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'R','E','C','H','I','T','S',' '},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkRecHitsBlockDataType = AliHLTComponentDataTypeInitializer("RECHITS ", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkClusterBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'C','L','U','S','T','E','R','S'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkClusterBlockDataType = AliHLTComponentDataTypeInitializer("CLUSTERS", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkChannelBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'C','H','A','N','N','E','L','S'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkChannelBlockDataType = AliHLTComponentDataTypeInitializer("CHANNELS", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkMansoTracksBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'M','A','N','T','R','A','C','K'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkMansoTracksBlockDataType = AliHLTComponentDataTypeInitializer("MANTRACK", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'M','N','C','A','N','D','I','D'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = AliHLTComponentDataTypeInitializer("MNCANDID", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'D','E','C','I','D','S','I','N'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = AliHLTComponentDataTypeInitializer("DECIDSIN", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkPairsDecisionBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'D','E','C','I','D','P','A','R'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkPairsDecisionBlockDataType = AliHLTComponentDataTypeInitializer("DECIDPAR", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkESDDataType = kAliHLTDataTypeESDObject | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkRootifiedEventDataType = AliHLTComponentDataTypeInitializer("ROOTEVNT", kAliHLTDataOriginMUON);
 
+const AliHLTComponentDataType
+AliHLTMUONConstants::fgkESDDataType = AliHLTComponentDataTypeInitializer(kAliHLTDataTypeESDObject.fID, kAliHLTDataOriginMUON);
+
+const AliHLTComponentDataType
+AliHLTMUONConstants::fgkClusterStoreDataType = AliHLTComponentDataTypeInitializer("CLUSTORE", kAliHLTDataOriginMUON);
+
+const AliHLTComponentDataType
+AliHLTMUONConstants::fgkHistogramDataType = AliHLTComponentDataTypeInitializer("ROOTHIST", kAliHLTDataOriginMUON);
 
 const char* AliHLTMUONConstants::fgkRecHitsSourceId = "MUONRecHitsSource";
 const char* AliHLTMUONConstants::fgkTriggerRecordsSourceId = "MUONTriggerRecordsSource";
@@ -181,7 +150,10 @@ const char* AliHLTMUONConstants::fgkESDMakerId = "MUONESDMaker";
 const char* AliHLTMUONConstants::fgkRootifierComponentId = "MUONRootifier";
 const char* AliHLTMUONConstants::fgkEmptyEventFilterComponentId = "MUONEmptyEventFilter";
 const char* AliHLTMUONConstants::fgkDataCheckerComponentId = "MUONDataChecker";
+const char* AliHLTMUONConstants::fgkClusterFinderId = "MUONClusterFinder";
+const char* AliHLTMUONConstants::fgkRawDataHistogrammerId = "MUONRawDataHistogrammer";
 
+const char* AliHLTMUONConstants::fgkTriggerReconstructorCDBPath = "HLT/ConfigMUON/TriggerReconstructor";
 const char* AliHLTMUONConstants::fgkHitReconstructorCDBPath = "HLT/ConfigMUON/HitReconstructor";
 const char* AliHLTMUONConstants::fgkMansoTrackerFSMCDBPath = "HLT/ConfigMUON/MansoTrackerFSM";
 const char* AliHLTMUONConstants::fgkDecisionComponentCDBPath = "HLT/ConfigMUON/DecisionComponent";