]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- TPCEsdWriter adapted to new TRACKS/TPC data type
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Mar 2007 23:28:09 +0000 (23:28 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Mar 2007 23:28:09 +0000 (23:28 +0000)
- component documentation

HLT/TPCLib/AliHLTTPCClusterFinderComponent.cxx
HLT/TPCLib/AliHLTTPCClusterFinderComponent.h
HLT/TPCLib/AliHLTTPCEsdWriterComponent.cxx
HLT/TPCLib/AliHLTTPCEsdWriterComponent.h
HLT/TPCLib/AliHLTTPCSliceTrackerComponent.cxx
HLT/TPCLib/AliHLTTPCSliceTrackerComponent.h

index ac82a8854535aa4e297192fe6cf47a5b5aced084..137ff4686cf924a93539a592b56cb273d0d1bf20 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-///////////////////////////////////////////////////////////////////////////////
-//                                                                           //
-// a TPC cluster finder processing component for the HLT                     //
-// useable for packed data or unpacked data                                  //
-//                                                                           //
-///////////////////////////////////////////////////////////////////////////////
-
+/** @file   AliHLTTPCSliceTrackerComponent.cxx
+    @author Timm Steinbeck, Matthias Richter, Jochen Thaeder
+    @date   
+    @brief  The TPC cluster finder processing component
+*/
 
 #if __GNUC__>= 3
 using namespace std;
index f0dd23170148bfe7f65660d8bdf5559a1b4577f9..6e922ef8e221d6ba9121112a8fae2aab4f45d7b8 100644 (file)
@@ -6,8 +6,11 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* AliHLTTPCClusterFinderComponent
- */
+/** @file   AliHLTTPCClusterFinderComponent.h
+    @author Timm Steinbeck, Matthias Richter, Jochen Thaeder
+    @date   
+    @brief  The TPC cluster finder component.
+*/
 
 #include "AliHLTProcessor.h"
 #include "AliHLTTPCDefinitions.h"
@@ -22,6 +25,10 @@ class AliHLTTPCClusterFinder;
  * Implementation of the cluster finder component.
  * The component implements the interface methods of the @ref AliHLTProcessor.
  * The actual cluster finding algorithm is implemented in @ref AliHLTTPCClusterFinder.
+ * The component can handle unpacked and packed data of different formats via the
+ * AliHLTTPCDigitReader implementations. Two components are registered, the
+ * TPCClusterFinderUnpacked and the TPCClusterFinderPacked. The latter one can
+ * instantiate different digit readers depending on the arguments.
  * 
  * The component has the following component arguments:
  * - rawreadermode   the mode for the @ref AliHLTTPCDigitReaderRaw
index 50df9aa77819f941e7abe030c9ba18a15a9afbe8..413c4d141af1f69d6275a70634454103a8fc4354 100644 (file)
@@ -102,12 +102,19 @@ int AliHLTTPCEsdWriterComponent::DumpEvent( const AliHLTComponentEventData& evtD
 
       const AliHLTComponentBlockData* iter = NULL;
       AliHLTTPCTrackletData* inPtr=NULL;
+      int bIsTrackSegs=0;
  
       for (int ndx=0; ndx<(int)evtData.fBlockCnt && iResult>=0; ndx++) {
        iter = blocks+ndx;
-       if ( iter->fDataType == AliHLTTPCDefinitions::gkTrackSegmentsDataType ) {
+       if ( (bIsTrackSegs=(iter->fDataType == AliHLTTPCDefinitions::gkTrackSegmentsDataType))==1 ||
+            iter->fDataType == AliHLTTPCDefinitions::gkTracksDataType ) {
          Int_t minslice=AliHLTTPCDefinitions::GetMinSliceNr(iter->fSpecification);
          Int_t maxslice=AliHLTTPCDefinitions::GetMaxSliceNr(iter->fSpecification);
+         if (bIsTrackSegs==0) {
+           // slice parameter and data specification ignored, tracks already in global coordinates
+           minslice=0;
+           maxslice=0;
+         }
          //HLTDebug("dataspec %#x minslice %d", iter->fSpecification, minslice);
          if (minslice >=0 && minslice<36) {
            if (minslice!=maxslice) {
index 6dfdd106b97d9c5c6ac520d80302312b2d5af51e..4d26c528ce9bc962410895883ae3be26bbb35b6d 100644 (file)
@@ -22,8 +22,14 @@ class AliHLTTPCTrackArray;
 /**
  * @class AliHLTTPCEsdWriterComponent
  * This class translates incoming track segments structures from the TPC
- * conformal mapping tracker into the ESD fromat and writes it to a ROOT
- * file. 
+ * conformal mapping tracker (datatype TRAKSEGS/TPC) or tracks in global 
+ * coordinates from the AliHLTTPCGlobalMergerComponent (TRACKS/TPC) into
+ * the ESD fromat and writes it to a ROOT file. In case of TRAKSEGS, the
+ * component can only process data block containing data of one slice, but
+ * it can read an unlimeted number of data blocks.
+ *
+ * componentid: TPCEsdWriter <br>
+ * componentlibrary libAliHLTTPC.so <br>
  * Arguments: <br>
  * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formating -->
  * \li -datafile     <i> filename   </i> <br>
index 5d72c1dfa9009a60daaa17b06e0e4120f22fbe0c..2d066acdbd85f3ba363ee7e50f0487f191ab99cd 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-///////////////////////////////////////////////////////////////////////////////
-//                                                                           //
-// a TPC sector tracker processing component for the HLT                     //
-//                                                                           //
-///////////////////////////////////////////////////////////////////////////////
+/** @file   AliHLTTPCSliceTrackerComponent.cxx
+    @author Timm Steinbeck, Matthias Richter
+    @date   
+    @brief  The TPC conformal mapping tracker component.
+*/
 
 #if __GNUC__>= 3
 using namespace std;
index 15eef662d803fe8a0424feac7d4831b12d16279a..c4ab9484008a62988a999fef7cf27c5d67efdcf4 100644 (file)
@@ -6,8 +6,11 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* AliHLTTPCSliceTrackerComponent
- */
+/** @file   AliHLTTPCSliceTrackerComponent.h
+    @author Timm Steinbeck, Matthias Richter
+    @date   
+    @brief  The TPC conformal mapping tracker component.
+*/
 
 #include "AliHLTProcessor.h"
 #include "AliHLTTPCDefinitions.h"
@@ -16,6 +19,18 @@ class AliHLTTPCConfMapper;
 class AliHLTTPCVertex;
 class AliHLTTPCInterMerger;
 
+/**
+ * @class AliHLTTPCSliceTrackerComponent
+ * The TPC conformal mapping tracker component.
+ * 
+ * The component has the following component arguments:
+ * - disable-merger  disable merging of track segments
+ * - pp-run          parameter set for pp run
+ * - multiplicity    multiplicity to choose parameter set for
+ * - bfield          magnatic field
+ * 
+ * @ingroup alihlt_tpc
+ */
 class AliHLTTPCSliceTrackerComponent : public AliHLTProcessor
 {
 public: