]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTConsumerDescriptor.cxx
HLTcalo module
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTConsumerDescriptor.cxx
index 4fe97504202cff8f1fe5ebaef8cc9ef8322ff3c2..78bdda327e29a519af443f2aa03d6956c0d36dc1 100644 (file)
@@ -1,30 +1,26 @@
 // $Id$
 
-/**************************************************************************
- * This file is property of and copyright by the ALICE HLT Project        * 
- * ALICE Experiment at CERN, All rights reserved.                         *
- *                                                                        *
- * Primary Authors: Matthias Richter <Matthias.Richter@ift.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.                  *
- **************************************************************************/
+///**************************************************************************
+// * This file is property of and copyright by the                          * 
+// * ALICE Experiment at CERN, All rights reserved.                         *
+// *                                                                        *
+// * Primary Authors: Matthias Richter <Matthias.Richter@ift.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   AliHLTConsumerDescriptor.cxx
-    @author Matthias Richter
-    @date   
-    @brief  Helper class to describe a consumer component.
-*/
-
-#if __GNUC__>= 3
-using namespace std;
-#endif
+/// @file   AliHLTConsumerDescriptor.cxx
+/// @author Matthias Richter
+/// @date   
+/// @brief  Helper class to describe a consumer component.
+///
 
 #include "AliHLTConsumerDescriptor.h"
 
@@ -75,7 +71,7 @@ int AliHLTConsumerDescriptor::CheckActiveDataSegment(AliHLTDataBuffer::AliHLTDat
   // see header file for function documentation
   int iResult=0;
   if (fSegments.size()>0) {
-    vector<AliHLTDataBuffer::AliHLTDataSegment>::iterator element=fSegments.begin();
+    AliHLTDataBuffer::AliHLTDataSegmentList::iterator element=fSegments.begin();
     while (element!=fSegments.end()) {
       if ((iResult=(segment==(*element)))>0) {
        break;
@@ -94,7 +90,7 @@ int AliHLTConsumerDescriptor::ReleaseActiveDataSegment(AliHLTDataBuffer::AliHLTD
   // see header file for function documentation
   int iResult=0;
   if (fSegments.size()>0) {
-    vector<AliHLTDataBuffer::AliHLTDataSegment>::iterator element=fSegments.begin();
+    AliHLTDataBuffer::AliHLTDataSegmentList::iterator element=fSegments.begin();
     while (element!=fSegments.end()) {
       if ((iResult=(segment==(*element)))>0) {
        fSegments.erase(element);