Crrected versions of AliAltroBuffer, AliAltroMapping and AliTPCRawStream
[u/mrichter/AliRoot.git] / RAW / AliAltroMapping.cxx
index eaee471126f2b49e3225ef5a9b99b5231263b56d..2145f256bd5e6471266b0e44da8d8ae982245512 100644 (file)
 
 ClassImp(AliAltroMapping)
 
+//_____________________________________________________________________________
+AliAltroMapping::AliAltroMapping():
+  fIn(NULL),
+  fNumberOfChannels(0),
+  fMaxHWAddress(0)
+{
+  // Default constructor
+}
+
 //_____________________________________________________________________________
 AliAltroMapping::AliAltroMapping(const char *mappingFile):
   fIn(NULL),
   fNumberOfChannels(0),
-  fMaxHWAdress(0)
+  fMaxHWAddress(0)
 {
   // Constructor
   // Reads the mapping from an external file
@@ -51,7 +60,7 @@ AliAltroMapping::AliAltroMapping(const AliAltroMapping& mapping):
   TObject(mapping),
   fIn(mapping.fIn),
   fNumberOfChannels(mapping.fNumberOfChannels),
-  fMaxHWAdress(mapping.fMaxHWAdress)
+  fMaxHWAddress(mapping.fMaxHWAddress)
 {
 // Copy Constructor
 
@@ -82,7 +91,7 @@ Bool_t AliAltroMapping::OpenMappingFile(const char *mappingFile)
     AliFatal(Form("Syntax of the mapping file is wrong (%s) !",mappingFile));
     return kFALSE;
   }
-  if (!(*fIn >> fMaxHWAdress)) {
+  if (!(*fIn >> fMaxHWAddress)) {
     AliFatal(Form("Syntax of the mapping file is wrong (%s) !",mappingFile));
     return kFALSE;
   }