* 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;
/* 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"
* 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
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) {
/**
* @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>
* 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;
/* 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"
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: