]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/MUON/AliHLTMUONConstants.cxx
Fixing warnings
[u/mrichter/AliRoot.git] / HLT / MUON / AliHLTMUONConstants.cxx
index c49e3f55667e5838164582ff4f88024614c8f293..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.
  */
 
 #include "AliHLTMUONConstants.h"
 #include "AliHLTMUONTriggerRecordsBlockStruct.h"
 #include "AliHLTMUONTrigRecsDebugBlockStruct.h"
-#include "AliHLTMUONTriggerChannelsBlockStruct.h"
 #include "AliHLTMUONRecHitsBlockStruct.h"
 #include "AliHLTMUONClustersBlockStruct.h"
 #include "AliHLTMUONChannelsBlockStruct.h"
@@ -37,6 +36,7 @@
 #include "AliHLTMUONSinglesDecisionBlockStruct.h"
 #include "AliHLTMUONPairsDecisionBlockStruct.h"
 
+ClassImp(AliHLTMUONConstants);
 
 const AliHLTMUONTriggerRecordStruct
 AliHLTMUONConstants::fgkNilTriggerRecordStruct = {
@@ -50,21 +50,18 @@ AliHLTMUONConstants::fgkNilTriggerRecordStruct = {
 };
 
 const AliHLTMUONTrigRecInfoStruct
-AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {0, {0, 0, 0, 0}, 0, 0};
-
-const AliHLTMUONTriggerChannelStruct
-AliHLTMUONConstants::fgkNilTriggerChannelStruct = {0, 0, 0, 0};
+AliHLTMUONConstants::fgkNilTrigRecInfoStruct = {0, {0, 0, 0, 0}, 0, 0, {0, 0, 0, 0, 0}};
        
 const AliHLTMUONRecHitStruct
-AliHLTMUONConstants::fgkNilRecHitStruct = {0, 0, 0};
+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
-AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0};
+AliHLTMUONConstants::fgkNilChannelStruct = {0, 0, 0, 0, 0, 0};
 
 const AliHLTMUONMansoTrackStruct
 AliHLTMUONConstants::fgkNilMansoTrackStruct = {
@@ -88,99 +85,76 @@ AliHLTMUONConstants::fgkNilMansoCandidateStruct = {
         AliHLTMUONConstants::fgkNilMansoRoIStruct,
         AliHLTMUONConstants::fgkNilMansoRoIStruct,
         AliHLTMUONConstants::fgkNilMansoRoIStruct
-       }
+       },
+       0, 0
 };
 
 const AliHLTMUONTrackDecisionStruct
-AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0};
+AliHLTMUONConstants::fgkNilTrackDecisionStruct = {0, 0, 0};
 
 const AliHLTMUONPairDecisionStruct
 AliHLTMUONConstants::fgkNilPairDecisionStruct = {0, 0, 0, 0};
 
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkDDLRawDataType = kAliHLTDataTypeDDLRaw | 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::fgkTriggerChannelBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'T','R','I','G','C','H','N','L'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkRecHitsBlockDataType = AliHLTComponentDataTypeInitializer("RECHITS ", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkRecHitsBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'R','E','C','H','I','T','S',' '},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkClusterBlockDataType = AliHLTComponentDataTypeInitializer("CLUSTERS", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkClusterBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'C','L','U','S','T','E','R','S'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkChannelBlockDataType = AliHLTComponentDataTypeInitializer("CHANNELS", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkChannelBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'C','H','A','N','N','E','L','S'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkMansoTracksBlockDataType = AliHLTComponentDataTypeInitializer("MANTRACK", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkMansoTracksBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'M','A','N','T','R','A','C','K'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = AliHLTComponentDataTypeInitializer("MNCANDID", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkMansoCandidatesBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'M','N','C','A','N','D','I','D'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = AliHLTComponentDataTypeInitializer("DECIDSIN", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkSinglesDecisionBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'D','E','C','I','D','S','I','N'},
-       kAliHLTDataOriginAny
-} | kAliHLTDataOriginMUON;
+AliHLTMUONConstants::fgkPairsDecisionBlockDataType = AliHLTComponentDataTypeInitializer("DECIDPAR", kAliHLTDataOriginMUON);
 
 const AliHLTComponentDataType
-AliHLTMUONConstants::fgkPairsDecisionBlockDataType = (AliHLTComponentDataType){
-       sizeof(AliHLTComponentDataType),
-       {'D','E','C','I','D','P','A','R'},
-       kAliHLTDataOriginAny
-} | 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";
-const char* AliHLTMUONConstants::fgkMansoTracksSourceId = "MUONMansoTracksSource";
+const char* AliHLTMUONConstants::fgkTracksSourceId = "MUONTracksSource";
+const char* AliHLTMUONConstants::fgkDigitPublisherId = "MUONDigitPublisher";
 const char* AliHLTMUONConstants::fgkTriggerReconstructorId = "MUONTriggerReconstructor";
 const char* AliHLTMUONConstants::fgkHitReconstructorId = "MUONHitReconstructor";
 const char* AliHLTMUONConstants::fgkMansoTrackerFSMId = "MUONMansoTrackerFSM";
 const char* AliHLTMUONConstants::fgkDecisionComponentId = "MUONDecisionComponent";
-const char* AliHLTMUONConstants::fgkTriggerCalibratorId = "MUONTriggerCalibrator";
-const char* AliHLTMUONConstants::fgkTrackerCalibratorId = "MUONTrackerCalibrator";
-const char* AliHLTMUONConstants::fgkEmptyEventFilterComponentId = "MUONEmptyEventFilterComponent";
-
+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";