From: richterm Date: Mon, 11 Jul 2011 19:18:49 +0000 (+0000) Subject: adding more functions to get data type definitions X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=4f82526d3d9d874c5015ee89b9b8c63dd7488ef6 adding more functions to get data type definitions --- diff --git a/HLT/TPCLib/AliHLTTPCDefinitions.cxx b/HLT/TPCLib/AliHLTTPCDefinitions.cxx index 5b2a259e3b1..a4a2c2f4c78 100644 --- a/HLT/TPCLib/AliHLTTPCDefinitions.cxx +++ b/HLT/TPCLib/AliHLTTPCDefinitions.cxx @@ -56,6 +56,64 @@ const AliHLTComponentDataType AliHLTTPCDefinitions::fgkOfflineCalibTracksDataTyp const AliHLTComponentDataType AliHLTTPCDefinitions::fgkOfflineCalibTracksGainDataType = AliHLTComponentDataTypeInitializer("CALGAIN ", kAliHLTDataOriginTPC); +const AliHLTComponentDataType& AliHLTTPCDefinitions::DDLEncodedEntropyRawDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("DDLENCEN", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::PackedRawDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("RAWPAKED", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::UnpackedRawDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("RAWUNPAK", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::ClustersDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("CLUSTERS", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::RawClustersDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("CLUSTRAW", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::HWClustersDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("HWCLUST1", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::AlterClustersDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("HWCL_ALT", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::VertexDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("VERTEX ", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::TrackSegmentsDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("TRAKSEGS", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::TracksDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("TRACKS ", kAliHLTDataOriginTPC); + return dt; +} + +const AliHLTComponentDataType& AliHLTTPCDefinitions::ClusterTracksModelDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("CLSTRKMD", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::RemainingClustersModelDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("REMCLSMD", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::ClusterTracksCompressedDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("CLSTRKCM", kAliHLTDataOriginTPC); + return dt; +} +const AliHLTComponentDataType& AliHLTTPCDefinitions::RemainingClustersCompressedDataType() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("REMCLSCM", kAliHLTDataOriginTPC); + return dt; +} + const AliHLTComponentDataType& AliHLTTPCDefinitions::CalibPedestalDataType() { static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("CAL_PED ", kAliHLTDataOriginTPC); return dt; @@ -83,6 +141,10 @@ const AliHLTComponentDataType& AliHLTTPCDefinitions::OfflineCalibTracksGainDataT return dt; } +const AliHLTComponentDataType& AliHLTTPCDefinitions::AliHLTDataTypeClusterMCInfo() { + static AliHLTComponentDataType dt = AliHLTComponentDataTypeInitializer("CLMCINFO", kAliHLTDataOriginTPC); + return dt; +} const AliHLTComponentDataType AliHLTTPCDefinitions::fgkAliHLTDataTypeClusterMCInfo = AliHLTComponentDataTypeInitializer("CLMCINFO", kAliHLTDataOriginTPC); diff --git a/HLT/TPCLib/AliHLTTPCDefinitions.h b/HLT/TPCLib/AliHLTTPCDefinitions.h index 4223e214c4f..f5b97eb0de0 100644 --- a/HLT/TPCLib/AliHLTTPCDefinitions.h +++ b/HLT/TPCLib/AliHLTTPCDefinitions.h @@ -87,34 +87,48 @@ public: /** DDL entropy encoded data */ static const AliHLTComponentDataType fgkDDLEncodedEntropyRawDataType; // see above + static const AliHLTComponentDataType& DDLEncodedEntropyRawDataType(); /** packed RAW data */ static const AliHLTComponentDataType fgkPackedRawDataType; // see above + static const AliHLTComponentDataType& PackedRawDataType(); /** unpacked RAW data */ static const AliHLTComponentDataType fgkUnpackedRawDataType; // see above + static const AliHLTComponentDataType& UnpackedRawDataType(); /** cluster data */ static const AliHLTComponentDataType fgkClustersDataType; // see above + static const AliHLTComponentDataType& ClustersDataType(); /** raw cluster data (not transformed) */ static const AliHLTComponentDataType fgkRawClustersDataType; // see above + static const AliHLTComponentDataType& RawClustersDataType(); /** HW cluster data */ static const AliHLTComponentDataType fgkHWClustersDataType; // see above + static const AliHLTComponentDataType& HWClustersDataType(); /** HW alternative output cluster data */ static const AliHLTComponentDataType fgkAlterClustersDataType; // see above + static const AliHLTComponentDataType& AlterClustersDataType(); /** track segments in local coordinates */ static const AliHLTComponentDataType fgkTrackSegmentsDataType; // see above + static const AliHLTComponentDataType& TrackSegmentsDataType(); /** tracks in global koordinates */ static const AliHLTComponentDataType fgkTracksDataType; // see above + static const AliHLTComponentDataType& TracksDataType(); /** vertex data structure */ static const AliHLTComponentDataType fgkVertexDataType; // see above + static const AliHLTComponentDataType& VertexDataType(); // Cluster & Tracks model data /** cluster tracks model data type */ static const AliHLTComponentDataType fgkClusterTracksModelDataType; // see above + static const AliHLTComponentDataType& ClusterTracksModelDataType(); /** remaining clusters model data type */ static const AliHLTComponentDataType fgkRemainingClustersModelDataType; // see above + static const AliHLTComponentDataType& RemainingClustersModelDataType(); /** cluster tracks compressed data type */ static const AliHLTComponentDataType fgkClusterTracksCompressedDataType; // see above + static const AliHLTComponentDataType& ClusterTracksCompressedDataType(); /** remaining clusters compressed data type */ static const AliHLTComponentDataType fgkRemainingClustersCompressedDataType; // see above + static const AliHLTComponentDataType& RemainingClustersCompressedDataType(); // Calibration data /** pedestal calibration data */ @@ -140,6 +154,7 @@ public: static const AliHLTComponentDataType& OfflineCalibTracksGainDataType(); /** cluster monte carlo information */ static const AliHLTComponentDataType fgkAliHLTDataTypeClusterMCInfo; // see above + static const AliHLTComponentDataType& AliHLTDataTypeClusterMCInfo(); private: