]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
minor coding rule corrections and documentation
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 30 Jun 2012 08:36:50 +0000 (08:36 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 30 Jun 2012 08:36:50 +0000 (08:36 +0000)
12 files changed:
HLT/BASE/AliHLTOUT.cxx
HLT/BASE/AliHLTOUT.h
HLT/BASE/AliHLTOUTHandler.cxx
HLT/BASE/AliHLTOUTHandler.h
HLT/BASE/AliHLTOUTHandlerChain.cxx
HLT/BASE/AliHLTOUTHandlerChain.h
HLT/BASE/AliHLTOUTHandlerDetectorDDL.cxx
HLT/BASE/AliHLTOUTHandlerDetectorDDL.h
HLT/BASE/AliHLTOUTHandlerEquId.cxx
HLT/BASE/AliHLTOUTHandlerEquId.h
HLT/BASE/AliHLTOUTHandlerEsdBranch.cxx
HLT/BASE/AliHLTOUTHandlerEsdBranch.h

index 8357ae465678fd0c48eee6b3b4bddc8541218a6e..dd049fd99782ddddc0c786e140d8af3be09b9f7d 100644 (file)
@@ -1,7 +1,7 @@
 // $Id$
 
 //**************************************************************************
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* 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>        *
@@ -453,7 +453,7 @@ const AliHLTOUT::AliHLTOUTHandlerListEntry& AliHLTOUT::FindHandlerDesc(AliHLTUIn
   if (blockIndex<fBlockDescList.size()) {
     return fBlockDescList[blockIndex].GetHandlerDesc();
   }
-  return const_cast<AliHLTOUT::AliHLTOUTHandlerListEntry&>(AliHLTOUT::AliHLTOUTHandlerListEntry::fgkVoidHandlerListEntry);
+  return const_cast<AliHLTOUT::AliHLTOUTHandlerListEntry&>(AliHLTOUT::AliHLTOUTHandlerListEntry::VoidHandlerListEntry());
 }
 
 AliHLTOUT::AliHLTOUTHandlerListEntry::AliHLTOUTHandlerListEntry()
@@ -541,10 +541,10 @@ bool AliHLTOUT::AliHLTOUTHandlerListEntry::operator==(const AliHLTModuleAgent::A
   return *fpHandlerDesc==desc;
 }
 
-void AliHLTOUT::AliHLTOUTHandlerListEntry::AddIndex(AliHLTOUT::AliHLTOUTHandlerListEntry &desc)
+void AliHLTOUT::AliHLTOUTHandlerListEntry::AddIndex(const AliHLTOUT::AliHLTOUTHandlerListEntry &desc)
 {
   // add block index, a handler can serve multiple blocks
-  AliHLTOUTIndexList::iterator element;
+  AliHLTOUTIndexList::const_iterator element;
   for (element=desc.fBlocks.begin(); element!=desc.fBlocks.end(); element++) {
     AddIndex(*element);
   }  
@@ -869,7 +869,7 @@ const AliHLTOUT::AliHLTOUTHandlerListEntry& AliHLTOUT::AliHLTOUTBlockDescriptor:
       element++;
     }
   }
-  return const_cast<AliHLTOUT::AliHLTOUTHandlerListEntry&>(AliHLTOUT::AliHLTOUTHandlerListEntry::fgkVoidHandlerListEntry);
+  return const_cast<AliHLTOUT::AliHLTOUTHandlerListEntry&>(AliHLTOUT::AliHLTOUTHandlerListEntry::VoidHandlerListEntry());
 }
 
 TObject* AliHLTOUT::GetDataObject()
index 5dd7d3d41ce6a56c5931e760970988eb88b14bb6..6462a1672d46af984f56317467b0a708d24f42a1 100644 (file)
@@ -3,7 +3,7 @@
 
 #ifndef ALIHLTOUT_H
 #define ALIHLTOUT_H
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* This file is property of and copyright by the                          * 
 //* ALICE Experiment at CERN, All rights reserved.                         *
 //* See cxx source for full Copyright notice                               *
 
@@ -44,6 +44,8 @@ class AliHLTOUT {
   /** standard destructor */
   virtual ~AliHLTOUT();
 
+  typedef const AliHLTUInt8_t* AliConstExternalBuffer;
+
   /**
    * Create an AliHLTOUTRawReader instance.
    * Helper function to transparently access classes from the
@@ -255,7 +257,7 @@ class AliHLTOUT {
 
     ~AliHLTOUTHandlerListEntry();
 
-    static const AliHLTOUTHandlerListEntry fgkVoidHandlerListEntry; //! initializer
+    static const AliHLTOUTHandlerListEntry& VoidHandlerListEntry() {return fgkVoidHandlerListEntry;}
 
     operator AliHLTOUTHandler*() const {return fpHandler;}
 
@@ -295,7 +297,7 @@ class AliHLTOUT {
     /**
      * Add all indices of the descriptor.
      */
-    void AddIndex(AliHLTOUTHandlerListEntry &desc);
+    void AddIndex(const AliHLTOUTHandlerListEntry &desc);
 
     /**
      * Check if an index is served by this descriptor.
@@ -320,6 +322,8 @@ class AliHLTOUT {
     /** standard constructor prohibited */
     AliHLTOUTHandlerListEntry();
 
+    static const AliHLTOUTHandlerListEntry fgkVoidHandlerListEntry; //! initializer
+
     /** pointer to the handler */
     AliHLTOUTHandler* fpHandler; //! transient
 
@@ -385,7 +389,7 @@ class AliHLTOUT {
   /**
    * Get the current event id
    */
-  AliHLTUInt64_t EventId() {return fCurrentEventId;}
+  AliHLTUInt64_t EventId() const {return fCurrentEventId;}
 
   /**
    * Get number of data blocks in the HLTOUT data
@@ -639,7 +643,7 @@ class AliHLTOUT {
   /**
    * Print output or suppress.
    */
-  bool BeVerbose() {return fbVerbose;}
+  bool BeVerbose() const {return fbVerbose;}
 
   /**
    * Switch output.
@@ -797,7 +801,7 @@ class AliHLTOUT {
   unsigned int fCurrent; //!transient
 
   /** data buffer under processing */
-  const AliHLTUInt8_t* fpBuffer; //!transient
+  AliConstExternalBuffer fpBuffer; //!transient
 
   /** list of AliHLTOUTHandlers */
   AliHLTOUTHandlerListEntryVector fDataHandlers; // !transient
@@ -813,7 +817,7 @@ class AliHLTOUT {
 
   /** current buffer converted to a TObject */
   TObject* fpDataObject; //!
-  const AliHLTUInt8_t* fpObjectBuffer; //!
+  AliConstExternalBuffer fpObjectBuffer; //!
   AliHLTUInt32_t fObjectBufferSize; //!
 
   /** current event id */
index cbec6ef8dad1fb4ebf33597d3706416a9b856abe..fa7f925804bb5c6847beff8cad22e1ab260a333a 100644 (file)
@@ -1,7 +1,7 @@
 // $Id$
 
 //**************************************************************************
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* 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>        *
 //* provided "as is" without express or implied warranty.                  *
 //**************************************************************************
 
-/** @file   AliHLTOUTHandler.cxx
-    @author Matthias Richter
-    @date   
-    @brief  Base class implementation of HLTOUT handlers.
-*/
+/// @file   AliHLTOUTHandler.cxx
+/// @author Matthias Richter
+/// @date   
+/// @brief  Base class implementation of HLTOUT handlers.
+///
 
 #include "AliHLTOUTHandler.h"
 
@@ -31,33 +31,33 @@ AliHLTOUTHandler::AliHLTOUTHandler()
   :
   fState(kHandlerOK)
 { 
-  // see header file for class documentation
-  // or
-  // refer to README to build package
-  // or
-  // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
+  // Base class declaration of HLT output handlers.
+  // The library implementation of the AliHLTModuleAgent allows to generate
+  // handlers for data blocks of the HLT output. This can be the output of
+  // the real HLT coming from the HLTOUT nodes, or simulated HLT output.
+  // Note: The created instance of AliHLTOUTHandler is deleted by the framework.
 }
 
 AliHLTOUTHandler::~AliHLTOUTHandler()
 {
-  // see header file for class documentation
+  // destructor
 }
 
 int AliHLTOUTHandler::GetProcessedData(const AliHLTUInt8_t* &pData)
 {
-  // see header file for class documentation
+  // get pointer to processed data
   pData=NULL;
   return 0;
 }
 
 int AliHLTOUTHandler::ReleaseProcessedData(const AliHLTUInt8_t* /*pData*/, int /*size*/)
 {
-  // see header file for class documentation
+  // release the data pointer previously retrieved by GetProcessedData
   return 0;
 }
 
 int AliHLTOUTHandler::FinishEvent()
 {
-  // see header file for class documentation
+  // cleanup the current event processing.
   return 0;
 }
index b401f83540476ae7a0e7bb3a092c1210e2aafeae..ad04f9484893d00d08bf6cb9cf6e0c0f52b33699 100644 (file)
@@ -1,23 +1,17 @@
 //-*- Mode: C++ -*-
-// @(#) $Id$
+// $Id$
 
 #ifndef ALIHLTOUTHANDLER_H
 #define ALIHLTOUTHANDLER_H
-/* This file is property of and copyright by the ALICE HLT Project        * 
- * ALICE Experiment at CERN, All rights reserved.                         *
- * See cxx source for full Copyright notice                               */
-
-/** @file   AliHLTOUTHandler.h
-    @author Matthias Richter
-    @date   
-    @brief  Base class declaration of HLTOUT handlers
-
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-                                                                          */
+///* This file is property of and copyright by the                          * 
+///* ALICE Experiment at CERN, All rights reserved.                         *
+///* See cxx source for full Copyright notice                               *
+
+/// @file   AliHLTOUTHandler.h
+/// @author Matthias Richter
+/// @date   
+/// @brief  Base class declaration of HLTOUT handlers
+
 #include "AliHLTLogging.h"
 
 class AliHLTOUT;
@@ -95,7 +89,7 @@ class AliHLTOUTHandler : public AliHLTLogging {
    * Check state flag of the handler.
    * @return true if flag matches
    */
-  bool CheckStatus(unsigned int flag) {
+  bool CheckStatus(unsigned int flag) const {
     return (fState&flag)!=0;
   }
 
index 6a0417e3398fa13159d16c204ea39e1eee7d34f5..1b82a62d0243d8c394d703197113ddfbacaf1499 100644 (file)
@@ -1,7 +1,7 @@
 // $Id$
 
 //**************************************************************************
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* 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>        *
 //* provided "as is" without express or implied warranty.                  *
 //**************************************************************************
 
-/** @file   AliHLTOUTHandlerChain.cxx
-    @author Matthias Richter
-    @date   24.06.2008
-    @brief  HLTOUT handler of type kChain.
-*/
+/// @file   AliHLTOUTHandlerChain.cxx
+/// @author Matthias Richter
+/// @date   24.06.2008
+/// @brief  HLTOUT handler of type kChain.
+///
 
 #include "AliHLTOUTHandlerChain.h"
 #include "AliHLTOUT.h"
@@ -41,11 +41,13 @@ AliHLTOUTHandlerChain::AliHLTOUTHandlerChain(const char* arguments)
   fpSystem(NULL),
   fbHaveOutput(false)
 { 
-  // see header file for class documentation
-  // or
-  // refer to README to build package
-  // or
-  // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
+  // The handler implements the kChain processing of HLTOUT data.
+  // The ids of the chains to be run during processing are provided
+  // as parameter to the constructor. The AliHLTModuleAgent
+  // can just create a new instance and specify the chains in order
+  // to define the HLTOUT handling of type kChain for a certain data
+  // block. The same instance can be returned for multiple data blocks.
+  // The handler will run once on all data blocks.
   if (arguments) {
     TString args=arguments;
     TObjArray* pTokens=args.Tokenize(" ");
@@ -68,7 +70,7 @@ AliHLTOUTHandlerChain::AliHLTOUTHandlerChain(const char* arguments)
 
 AliHLTOUTHandlerChain::~AliHLTOUTHandlerChain()
 {
-  // see header file for class documentation
+  // destructor
   if (fpSystem) {
     // TODO: the EOR is currenttly not send because the reconstruction
     // chian is not stopped. Trying it here gives an error, there is
@@ -84,7 +86,7 @@ AliHLTOUTHandlerChain::~AliHLTOUTHandlerChain()
 
 int AliHLTOUTHandlerChain::ProcessData(AliHLTOUT* pData)
 {
-  // see header file for class documentation
+  // data processing function
   if (!pData) return -EINVAL;
   int iResult=0;
 
@@ -151,7 +153,7 @@ int AliHLTOUTHandlerChain::CreateConfigurations(AliHLTConfigurationHandler* /*ha
 
 int AliHLTOUTHandlerChain::InitSystem()
 {
-  // see header file for class documentation
+  // initialize the AliHLTSystem instance
   int iResult=0;
   if (!fpSystem) {
     // init AliHLTSystem
index 8a3e780535591063cdfe859ddbbe646f2204a813..ec2b9245d81155053e61cd29e7c458160e312190 100644 (file)
@@ -3,15 +3,15 @@
 
 #ifndef ALIHLTOUTHANDLERCHAIN_H
 #define ALIHLTOUTHANDLERCHAIN_H
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* This file is property of and copyright by the                          * 
 //* ALICE Experiment at CERN, All rights reserved.                         *
 //* See cxx source for full Copyright notice                               *
 
-/** @file   AliHLTOUTHandlerChain.h
-    @author Matthias Richter
-    @date   24.06.2008
-    @brief  HLTOUT handler of type kChain.
-*/
+/// @file   AliHLTOUTHandlerChain.h
+/// @author Matthias Richter
+/// @date   24.06.2008
+/// @brief  HLTOUT handler of type kChain.
+///
 
 #include "AliHLTOUTHandler.h"
 #include "TString.h"
index cb38b9e6131ea183629a5cbd94118d4bc15e1327..804c83406f04e83f69f47c107ebae45e1e7db2f7 100644 (file)
@@ -1,7 +1,7 @@
 // $Id$
 
 //**************************************************************************
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* 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>        *
 //* provided "as is" without express or implied warranty.                  *
 //**************************************************************************
 
-/** @file   AliHLTOUTHandlerDetectorDDL.cxx
-    @author Matthias Richter
-    @date   2008-09-09
-    @brief  HLTOUT handler returning equipment id from data type and spec.
-*/
+/// @file   AliHLTOUTHandlerDetectorDDL.cxx
+/// @author Matthias Richter
+/// @date   2008-09-09
+/// @brief  HLTOUT handler returning equipment id from data type and spec.
+///
 
 #include "AliHLTOUTHandlerDetectorDDL.h"
 #include "AliHLTOUT.h"
@@ -35,11 +35,13 @@ AliHLTOUTHandlerDetectorDDL::AliHLTOUTHandlerDetectorDDL(const char* detector, A
   fNumberOfDDLs(-1),
   fDt(dt)
 { 
-  // see header file for class documentation
-  // or
-  // refer to README to build package
-  // or
-  // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
+  // A default handler class for DDL raw data redirection handlers.
+  //
+  // This class implements an AliHLTOUTHandlerEquId which extracts the
+  // equipment Id from the bit pattern in the specification. All detectors
+  // with up to 32 DDL links follow this convention. The bit no in the
+  // data specification word corresponds to the DDL number within the
+  // sub-detector.
   
   fDDLOffset=AliHLTDAQ::DdlIDOffset(detector);
   fNumberOfDDLs=AliHLTDAQ::NumberOfDdls(detector);
@@ -47,12 +49,14 @@ AliHLTOUTHandlerDetectorDDL::AliHLTOUTHandlerDetectorDDL(const char* detector, A
 
 AliHLTOUTHandlerDetectorDDL::~AliHLTOUTHandlerDetectorDDL()
 {
-  // see header file for class documentation
+  // destructor
 }
 
 int AliHLTOUTHandlerDetectorDDL::ProcessData(AliHLTOUT* pData)
 {
-  // see header file for class documentation
+  // extract the ddl no from the data specification of the data
+  // block and return it
+  // negative error code if failed
   if (!pData) return -EINVAL;
   if (fDDLOffset<0 || fNumberOfDDLs<0) return -ENODEV;
 
index 150ddf9da8d1d2845b5b78358b9017704ff39722..ca50f35ca8a64972ec8f329fba4ded8520b25ead 100644 (file)
@@ -3,16 +3,15 @@
 
 #ifndef ALIHLTOUTHANDLERDETECTORDDL_H
 #define ALIHLTOUTHANDLERDETECTORDDL_H
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* This file is property of and copyright by the                          * 
 //* ALICE Experiment at CERN, All rights reserved.                         *
 //* See cxx source for full Copyright notice                               *
 
-/** @file   AliHLTOUTHandlerDetectorDDL.h
-    @author Matthias Richter
-    @date   2008-09-09
-    @brief  Default HLTOUT handler returning equipment id from data type and
-            bit pattern in spec.
-*/
+/// @file   AliHLTOUTHandlerDetectorDDL.h
+/// @author Matthias Richter
+/// @date   2008-09-09
+/// @brief  Default HLTOUT handler returning equipment id from data type and
+///         bit pattern in spec.
 
 #include "AliHLTOUTHandlerEquId.h"
 
index ef7b71504e1d6cb02201aff1dcbb53e3ac1c7954..18c6d93e9a8d31a8039e4c88ed0a907d06cb93f5 100644 (file)
@@ -1,7 +1,7 @@
 // $Id$
 
 //**************************************************************************
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* 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>        *
@@ -30,21 +30,22 @@ ClassImp(AliHLTOUTHandlerEquId)
 
 AliHLTOUTHandlerEquId::AliHLTOUTHandlerEquId()
 { 
-  // see header file for class documentation
-  // or
-  // refer to README to build package
-  // or
-  // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
+  // Base class for DDL raw data redirection handlers.
+  //
+  // HLTOUT handlers of this type are used for the replacement of detector
+  // reconstruction input by the corresponding data from the HLT output.
+  // From the data type and specification of an HLT output block the
+  // corresponding equipment id of the original detector streams is determined.
 }
 
 AliHLTOUTHandlerEquId::~AliHLTOUTHandlerEquId()
 {
-  // see header file for class documentation
+  // destructor
 }
 
 int AliHLTOUTHandlerEquId::ProcessData(AliHLTOUT* pData)
 {
-  // see header file for class documentation
+  // process data
   if (!pData) return -EINVAL;
   AliHLTComponentDataType dt=kAliHLTVoidDataType;
   AliHLTUInt32_t spec=kAliHLTVoidDataSpec;
index c02de55244940ccb3946608c0aa11308df4a10f5..7b2e7c19acd36c1644d6ef6a2a19a88da7fa049b 100644 (file)
@@ -3,15 +3,15 @@
 
 #ifndef ALIHLTOUTHANDLEREQUID_H
 #define ALIHLTOUTHANDLEREQUID_H
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* This file is property of and copyright by the                          * 
 //* ALICE Experiment at CERN, All rights reserved.                         *
 //* See cxx source for full Copyright notice                               *
 
-/** @file   AliHLTOUTHandlerEquId.h
-    @author Matthias Richter
-    @date   
-    @brief  HLTOUT handler returning equipment id from data type and spec.
-*/
+/// @file   AliHLTOUTHandlerEquId.h
+/// @author Matthias Richter
+/// @date   
+/// @brief  HLTOUT handler returning equipment id from data type and spec.
+///
 
 #include "AliHLTOUTHandler.h"
 
index 859dd8795c8dab76a57b9f0f3e166f460b8b0ed1..935b70966de8d4daf352fa03d740f289acb392ad 100644 (file)
@@ -1,7 +1,7 @@
 // $Id$
 
 //**************************************************************************
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* 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>        *
@@ -45,16 +45,19 @@ AliHLTOUTHandlerEsdBranch::AliHLTOUTHandlerEsdBranch(const char* branchname)
   , fSize(0)
   , fManager(NULL)
 { 
-  // see header file for class documentation
-  // or
-  // refer to README to build package
-  // or
-  // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
+  // The handler extracts objects from HLTOUT data blocks or converts
+  // data to objects to be added to hltEsd branches. The default implementation
+  // covers the first case right away, the class can be used directly for single
+  // objects streamed to the HLTOUT.
+  //
+  // The handler produces a partial ESD containing the data objects. The framework
+  // merges all the different partial ESDs in the AliHLTEsdManager, respectively the
+  // specific implementation AliHLTEsdManagerImplementation.
 }
 
 AliHLTOUTHandlerEsdBranch::~AliHLTOUTHandlerEsdBranch()
 {
-  // see header file for class documentation
+  // destructor
   if (fESD) fManager->DestroyEsdEvent(fESD);
   fESD=NULL;
   if (fpData) delete fpData;
@@ -65,7 +68,7 @@ AliHLTOUTHandlerEsdBranch::~AliHLTOUTHandlerEsdBranch()
 
 int AliHLTOUTHandlerEsdBranch::ProcessData(AliHLTOUT* pData)
 {
-  // see header file for class documentation
+  // data processing function
   if (!pData) return -EINVAL;
   int iResult=0;
 
@@ -163,7 +166,7 @@ int AliHLTOUTHandlerEsdBranch::ExtractAndAddObjects(AliHLTOUT* pData)
 
 int AliHLTOUTHandlerEsdBranch::GetProcessedData(const AliHLTUInt8_t* &pData)
 {
-  // see header file for class documentation
+  // get processed data
   if (!fpData) {
     pData=NULL;
     return 0;
@@ -175,7 +178,7 @@ int AliHLTOUTHandlerEsdBranch::GetProcessedData(const AliHLTUInt8_t* &pData)
 
 int AliHLTOUTHandlerEsdBranch::ReleaseProcessedData(const AliHLTUInt8_t* pData, int size)
 {
-  // see header file for class documentation
+  // release pointer instance
   int iResult=0;
   if (!fpData || size != fSize ||
       const_cast<AliHLTUInt8_t*>(pData) != reinterpret_cast<AliHLTUInt8_t*>(fpData->GetArray())) {
index 2393d5b54f76705b0e0ca9af86385e3f88619d81..993685415ea1681471ca043fdd3111d2cf818fe9 100644 (file)
@@ -3,7 +3,7 @@
 
 #ifndef ALIHLTOUTHANDLERESDBRANCH_H
 #define ALIHLTOUTHANDLERESDBRANCH_H
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* This file is property of and copyright by the                          * 
 //* ALICE Experiment at CERN, All rights reserved.                         *
 //* See cxx source for full Copyright notice                               *
 
@@ -32,7 +32,7 @@ class AliHLTEsdManager;
  * The method ExtractAndAddObjects() has to loop over all input blocks and
  * provide an appropriate conversion. If the data block simply contains a
  * streamed object it just needs to be extracted and added to the ESD using
- * the function Add(). Thhis case is covered by the default implementation.
+ * the function Add(). This case is covered by the default implementation.
  * Child classes can overload ExtractAndAddObjects() if there is further
  * conversion/formatting required.
  *