]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCHWCFDataReverterComponent.cxx
code cleanup, removing unused functionality; fully implemented in the AliHLTTPCDataCo...
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCHWCFDataReverterComponent.cxx
index 7223265fe871d574ef095ddf0a7b3aebb188c8f7..639e07549aeeeff27dceb7da33a90bbcb1b7e0ce 100755 (executable)
@@ -1,24 +1,25 @@
-/**************************************************************************
- * This file is property of and copyright by the ALICE HLT Project        * 
- * ALICE Experiment at CERN, All rights reserved.                         *
- *                                                                        *
- * Primary Authors: Kenneth Aamodt <Kenneth.Aamodt@student.uib.no>        *
- *                  for The ALICE HLT Project.                            *
- *                                                                        *
- * Permission to use, copy, modify and distribute this software and its   *
- * documentation strictly for non-commercial purposes is hereby granted   *
- * without fee, provided that the above copyright notice appears in all   *
- * copies and that both the copyright notice and this permission notice   *
- * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
- * provided "as is" without express or implied warranty.                  *
- **************************************************************************/
-
-/** @file   AliHLTTPCHWCFDataReverterComponent.cxx
-    @author Kenneth Aamodt
-    @date   
-    @brief  Component for reverting data for the HW clusterfinder
-*/
+// $Id$
+//**************************************************************************
+//* This file is property of and copyright by the ALICE HLT Project        * 
+//* ALICE Experiment at CERN, All rights reserved.                         *
+//*                                                                        *
+//* Primary Authors: Kenneth Aamodt <Kenneth.Aamodt@student.uib.no>        *
+//*                  for The ALICE HLT Project.                            *
+//*                                                                        *
+//* Permission to use, copy, modify and distribute this software and its   *
+//* documentation strictly for non-commercial purposes is hereby granted   *
+//* without fee, provided that the above copyright notice appears in all   *
+//* copies and that both the copyright notice and this permission notice   *
+//* appear in the supporting documentation. The authors make no claims     *
+//* about the suitability of this software for any purpose. It is          *
+//* provided "as is" without express or implied warranty.                  *
+//**************************************************************************
+
+/// @file   AliHLTTPCHWCFDataReverterComponent.cxx
+/// @author Kenneth Aamodt
+/// @date   
+/// @brief  Component for reverting data for the HW clusterfinder
+///
 
 // see header file for class documentation                                   //
 // or                                                                        //
@@ -30,7 +31,7 @@
 using namespace std;
 #endif
 #include "AliHLTTPCHWCFDataReverterComponent.h"
-#include "AliHLTTPCDigitReaderDecoder.h"
+#include "AliHLTTPCDigitReader32Bit.h"
 #include "AliHLTTPCTransform.h"
 #include "AliHLTTPCDefinitions.h"
 #include "AliHLTTPCDigitData.h"
@@ -167,8 +168,7 @@ int AliHLTTPCHWCFDataReverterComponent::DoInit( int argc, const char** argv )
     return EINVAL;
   }
 
-  HLTDebug("using AliHLTTPCDigitReaderDecoder");
-  fDigitReader = new AliHLTTPCDigitReaderDecoder();
+  fDigitReader = new AliHLTTPCDigitReader32Bit();
 
   return 0;
 }
@@ -409,8 +409,8 @@ int AliHLTTPCHWCFDataReverterComponent::DoEvent( const AliHLTComponentEventData&
                    }
                  }
                }
+               altroEncoder->SetChannel(fMapping->GetHwAddress(row,padHighIndex));
              }
-             altroEncoder->SetChannel(fMapping->GetHwAddress(row,padHighIndex));
            }
            padLowIndex++;
            padHighIndex++;