-
-const int
-AliHLTEMCALMapper::GetDDLFromSpec( const AliHLTUInt32_t specification )
-{
- Int_t index = -1;
- if(specification == 0x00001) index = 0;
- else if(specification == 0x00002) index = 1;
- else if(specification == 0x00004) index = 2;
- else if(specification == 0x00008) index = 3;
-
- else if(specification == 0x00010) index = 4;
- else if(specification == 0x00020) index = 5;
- else if(specification == 0x00040) index = 6;
- else if(specification == 0x00080) index = 7;
-
- else if(specification == 0x00100) index = 8;
- else if(specification == 0x00200) index = 9;
- else if(specification == 0x00400) index = 10;
- else if(specification == 0x00800) index = 11;
-
- else if(specification == 0x01000) index = 12;
- else if(specification == 0x02000) index = 13;
- else if(specification == 0x04000) index = 14;
- else if(specification == 0x08000) index = 15;
-
- else if(specification == 0x10000) index = 16;
- else if(specification == 0x20000) index = 17;
- else if(specification == 0x40000) index = 18;
- else if(specification == 0x80000) index = 19;
-
- else HLTError("Specification 0x%X not consistent with single DDL in PHOS", specification);
-
- return index;
-}
-
-
-const int
-AliHLTEMCALMapper::GetChannelID(const AliHLTUInt32_t specification, const Int_t hwAddress )