+//-*- Mode: C++ -*-
+// 1
+// 2
+// 3
// XEmacs -*-C++-*-
// @(#) $Id$
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/* AliHLTTPCDefinitions
- */
#include "AliHLTDataTypes.h"
-//#include "TObject.h"
-#include "Rtypes.h"
class AliHLTPHOSDefinitions
- {
- public:
-
- static AliHLTUInt8_t GetMinSliceNr( const AliHLTComponentBlockData& block )
- {
- return (AliHLTUInt8_t)( (block.fSpecification & 0x00FF0000) >> 16 );
- }
- static AliHLTUInt8_t GetMinSliceNr( ULong_t spec )
- {
- return (AliHLTUInt8_t)( (spec & 0x00FF0000) >> 16 );
- }
- static AliHLTUInt8_t GetMaxSliceNr( const AliHLTComponentBlockData& block )
- {
- return (AliHLTUInt8_t)( (block.fSpecification & 0xFF000000) >> 24 );
- }
- static AliHLTUInt8_t GetMaxSliceNr( ULong_t spec )
- {
- return (AliHLTUInt8_t)( (spec & 0xFF000000) >> 24 );
- }
- static AliHLTUInt8_t GetMinPatchNr( const AliHLTComponentBlockData& block )
- {
- return (AliHLTUInt8_t)( (block.fSpecification & 0x000000FF) );
- }
- static AliHLTUInt8_t GetMinPatchNr( ULong_t spec )
- {
- return (AliHLTUInt8_t)( (spec & 0x000000FF) );
- }
- static AliHLTUInt8_t GetMaxPatchNr( const AliHLTComponentBlockData& block )
- {
- return (AliHLTUInt8_t)( (block.fSpecification & 0x0000FF00) >> 8 );
- }
- static AliHLTUInt8_t GetMaxPatchNr( ULong_t spec )
- {
- return (AliHLTUInt8_t)( (spec & 0x0000FF00) >> 8 );
- }
-
- static AliHLTUInt32_t EncodeDataSpecification( AliHLTUInt8_t minSliceNr,
- AliHLTUInt8_t maxSliceNr,
- AliHLTUInt8_t minPatchNr,
- AliHLTUInt8_t maxPatchNr )
- {
- return ((maxSliceNr & 0xFF) << 24) | ((minSliceNr & 0xFF) << 16) | ((maxPatchNr & 0xFF) << 8) | ((minPatchNr & 0xFF));
- }
-
- static const AliHLTComponentDataType gkDDLPackedRawDataType;
- static const AliHLTComponentDataType gkPackedRawDataType;
- static const AliHLTComponentDataType gkUnpackedRawDataType;
- static const AliHLTComponentDataType gkClustersDataType;
- static const AliHLTComponentDataType gkTrackSegmentsDataType;
- static const AliHLTComponentDataType gkVertexDataType;
-
- // ClassDef(AliHLTPHOSDefinitions, 0)
-
- };
+{
+public:
+ static const AliHLTComponentDataType fgkPhosHistDataType; /**Fourier transform of time dependent signals*/
+ static const AliHLTComponentDataType fgkFourierTransform; /**Fourier transform of time dependent signals*/
+ static const AliHLTComponentDataType fgkChannelDataType; /**<Reconstructed channels*/
+ static const AliHLTComponentDataType fgkCellEnergyDataType; /**<Reconstructed cell/crystal energies*/
+ static const AliHLTComponentDataType fgkDDLPackedRawDataType; /**<DDL raw data on the RCU data format*/
+ static const AliHLTComponentDataType fgkCellEnergyHistogramDataType; /**<Histogram for per cell/gain energy distribution*/
+ static const AliHLTComponentDataType fgkCellAverageEnergyDataType; /**<Histogram for per cell/gain energy distribution*/
+ static const AliHLTComponentDataType fgkCellAccumulatedEnergyDataType; /**<Histogram for per cell/gain energy distribution*/
+ static const AliHLTComponentDataType fgkCellTimingHistogramDataType; /**<Histogram for per cell/gain time distribution*/
+ static const AliHLTComponentDataType fgkCellTimingAverageDataType; /**<Histogram for per cell/gain time distribution*/
+ static const AliHLTComponentDataType fgkCellChannelDataDataType; /**<Time dependent signal from the readout channels*/
+ static const AliHLTComponentDataType fgkClusterDataType; //Cluster data type
+ static const AliHLTComponentDataType fgkRecPointDataType; //RecPoint data type
+ static const AliHLTComponentDataType fgkHistDataType; //hist data type
+ static const AliHLTComponentDataType fgkSpectrumDataType; //spectrum data type
+ static const AliHLTComponentDataType fgkDigitDataType; //Digit data type
+ static const AliHLTComponentDataType fgkRootTreeDataType; //Root tree type
+ static const AliHLTComponentDataType fgkBaselineDataType; //Baseline type
+ static const AliHLTComponentDataType fgkMIPDataType; //"MIP" data type
+ static const AliHLTComponentDataType fgkNoiseMapDataType; //Noise map data type
+ static const AliHLTComponentDataType fgkSandboxDataType; //General data type
+ static const AliHLTComponentDataType fgkEmcCalibDataType; //Calibration data type
+ static const AliHLTComponentDataType fgkCaloClusterDataType; //Calo cluster data type
+ static const AliHLTComponentDataType fgkESDCaloClusterDataType; //Calo cluster data type
+ static const AliHLTComponentDataType fgkESDCaloCellsDataType; //Calo cells data type
+ static const AliHLTComponentDataType fgkPhysicsHistogramsDataType; //hist data type
+
+};
#endif