]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCEsdWriterComponent.h
Major update required to handle old and new AliHLTEventDDL structures within HLT...
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCEsdWriterComponent.h
index ee58b938c932dbde4b3c2b3a892a44da64bf89bc..ea67c80384e4564c55e4128646f335fde5dc4154 100644 (file)
@@ -2,21 +2,16 @@
 
 #ifndef ALIHLTTPCESDWRITERCOMPONENT_H
 #define ALIHLTTPCESDWRITERCOMPONENT_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
+//* 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   AliHLTTPCEsdWriterComponent.h
     @author Matthias Richter
     @date   
     @brief  Writer component to store tracks of the HLT TPC conformal
             mapping tracker in the AliESD format
-
-                                                                          */
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
+*/
 
 #include "AliHLTRootFileWriterComponent.h"
 #include "AliHLTProcessor.h"
@@ -53,11 +48,13 @@ class AliHLTTPCTrackArray;
  *
  * Arguments TPCEsdConverter: <br>
  * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
- * \li -notree
+ * \li -notree                                                          <br>
  *      write ESD directly to output (::kAliHLTDataTypeESDObject)
- * \li -tree
- *      write ESD directly to TTree and to output (::kAliHLTDataTypeESDTree),
- *      this is the default behavior.
+ *      this has been made the default behavior in Sep 2008.
+ * \li -tree                                                            <br>
+ *      write ESD directly to TTree and to output (::kAliHLTDataTypeESDTree)
+ * \li -solenoidBz                                                      <br>
+ *      magnetic field like -solenoidBz 5.0
  *
  * <pre>
  * Example usage (HLT configuration file):
@@ -205,6 +202,9 @@ class AliHLTTPCEsdWriterComponent : public AliHLTLogging
     /** assignment operator prohibited */
     AliConverter& operator=(const AliConverter&);
 
+    /** the ESD */
+    AliESDEvent* fESD; //! transient value
+
     /** pointer to the basic ESD conversion methods */
     AliHLTTPCEsdWriterComponent* fBase; //! transient value
 
@@ -232,7 +232,7 @@ class AliHLTTPCEsdWriterComponent : public AliHLTLogging
    * @param pESD     pointer to ESD
    * @return neg. error code if failed
    */
-  int Tracks2ESD(AliHLTTPCTrackArray* pTracks, AliESDEvent* pESD);
+  int Tracks2ESD(AliHLTTPCTrackArray* pTracks, AliESDEvent* pESD );
 
  private:
   /** copy constructor prohibited */
@@ -257,6 +257,6 @@ class AliHLTTPCEsdWriterComponent : public AliHLTLogging
   /** solenoid b field */
   Double_t fSolenoidBz; //! transient
 
-  ClassDef(AliHLTTPCEsdWriterComponent, 2)
+  ClassDef(AliHLTTPCEsdWriterComponent, 3)
 };
 #endif