]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/EMCAL/AliHLTEMCALDefinitions.cxx
Refactoring: rempved the usage of AliHLTEMCALConstant
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALDefinitions.cxx
index 55cb1e9dc21c2e23f0fa136fe86c016ef76f2235..b6bf0445163548000e9bfe9370035af9f24e9bd0 100644 (file)
 
 ClassImp(AliHLTEMCALDefinitions)
 
-const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkDDLRawDataType = { sizeof(AliHLTComponentDataType), {'D','D','L','_','R','A','W',' '},{'E','M','C','A'}};;
+const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkDDLRawDataType = 
+AliHLTComponentDataTypeInitializer("DDL_RAW ", kAliHLTDataOriginEMCAL);
 
-const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkDigitDataType = { sizeof(AliHLTComponentDataType), {'D','I','G','I','T',' ',' ',' '},{'E','M','C','A'}};;
+const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkDigitDataType =
+AliHLTComponentDataTypeInitializer("DIGITTYP", kAliHLTDataOriginEMCAL);
 
-const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkClusterDataType = { sizeof(AliHLTComponentDataType), {'C','L','U','S','T','E','R','S'},{'E','M','C','A'}};;
+const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkClusterDataType =
+AliHLTComponentDataTypeInitializer("CLUSTERS", kAliHLTDataOriginEMCAL);
 
-const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkESDDataType = { sizeof(AliHLTComponentDataType), {'G','L','O','B','L','E','S','D'},{'E','M','C','A'}};;
+const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkESDDataType = 
+AliHLTComponentDataTypeInitializer("GLOBALESD", kAliHLTDataOriginEMCAL);
 
-const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkEMCALESDDataType = { sizeof(AliHLTComponentDataType), {'E','M','C','A','L','E','S','D'},{'E','M','C','A'}};;
+const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkEMCALESDDataType =
+AliHLTComponentDataTypeInitializer("EMCALESD", kAliHLTDataOriginEMCAL);
 
-const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkCalibrationDataType = { sizeof(AliHLTComponentDataType), {'C','A','L','I','B','R','A','H'},{'E','M','C','A'}};;
+const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkCalibrationDataType = 
+AliHLTComponentDataTypeInitializer("CALIBRAH", kAliHLTDataOriginEMCAL);
+
+const AliHLTComponentDataType AliHLTEMCALDefinitions::fgkChannelDataType = 
+AliHLTComponentDataTypeInitializer("CHANNELT", kAliHLTDataOriginEMCAL);
 
 AliHLTEMCALDefinitions::AliHLTEMCALDefinitions()
 {