}
/** Comparison operator for HLT component data types
- * invers of @ref operator==( const AliHLTComponentDataType& dt1, const AliHLTComponentDataType& dt2 )
+ * Invers of operator==
* @ingroup alihlt_component_datatypes
*/
inline bool operator!=( const AliHLTComponentDataType& dt1, const AliHLTComponentDataType& dt2 )
@brief Encoder class for 10/40bit Altro Data 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 "AliHLTDataTypes.h"
#include "AliHLTLogging.h"
#include <vector>
* The class allows to encodes data sets of channel, timebin and signal
* value into the 10bit/40bit Altro format. It works on a provided buffer.
*
- * Signal values can be added by using the ::AddSignal function. This
- * functions works on a 'current channel'. If data is supposed to go into
- * a new channel, the ::SetChannel function has to be used.
+ * Signal values can be added by using the AddSignal(AliHLTUInt16_t, AliHLTUInt16_t)
+ * function. It functions works on a 'current channel'. If data is supposed to go into
+ * a new channel, SetChannel(AliHLTUInt16_t) has to be used.
+ *
+ * <pre>
+ * AliHLTAltroEncoder encoder;
+ * encoder.SetBuffer(pBuffer, size);
+ *
+ * for (channel ...) {
+ * int channelAddress=...;
+ * ...
+ * for (int bunch=0; bunch<nofBunches; bunch++) {
+ * int bunchLength=...;
+ * int startTime=...;
+ * int time=startTime;
+ * for (; time<startTime+bunchLength; time++) {
+ * iResult=encoder.AddSignal(signal, time);
+ * }
+ * }
+ *
+ * encoder.SetChannel(channelAddress);
+ * }
+ * </pre>
+ *
+ * @ingroup alihlt_rcu
*/
class AliHLTAltroEncoder : AliHLTLogging {
public:
int time=startTime;
for (; time<startTime+bunchLength; time++) {
iResult=encoder.AddSignal(fpSimData->At(dataPos++), time);
- //iResult=encoder.AddChannelSignal(fpSimData->At(dataPos++), time, channelAddress);
}
assert(time-1==fpSimData->At(dataPos));
dataPos++; // DO NOT PUT INTO ASSERT
}
encoder.SetChannel(channelAddress);
}
- if (iResult>=0 && channelAddress>=0) {
- //encoder.SetChannel(channelAddress);
- }
if (iResult>=0) {
iResult=(encoder.GetTotal40bitWords()*5)/4;
/**
* @class AliHLTAltroGenerator
+ * Helper class to generate data in the Altro format.
+ *
+ * The class can be configured through the parameters of the
+ * AliHLTAltroGenerator(int, int, int, int, int) constructor.
+ * The data is generated by the Generate() method and stored internally
+ * for subsequent use. The data is encoded into a buffer with the
+ * GetData(AliHLTUInt8_t) or GetData(AliHLTUInt8_t, int) methods.
+ *
+ * A couple of functions provide access to the simulated data on a
+ * signal by signal basis (Next()) or a bunch by bunch basis
+ * (NextChannel() / NextBunch()). The scheme follows pretty much the
+ * AliRawReader or AliAltroDecoder scheme respectively.
+ *
+ * @ingroup alihlt_rcu
*/
class AliHLTAltroGenerator : AliHLTLogging {
public:
+++ /dev/null
-// @(#) $Id$
-
-// Author: Uli Frankenfeld <mailto:franken@fi.uib.no>
-//*-- Copyright © ALICE HLT Group
-
-/** \class AliHLTTPCBenchmark
-<pre>
-//_____________________________________________________________
-//
-// AliHLTTPCBenchmark
-//
-// Benchmark class for level3 code
-//
-//
-</pre>
-*/
-
-#ifndef no_root
-#include <TFile.h>
-#include <TGraphAsymmErrors.h>
-#include <TString.h>
-#include <TStopwatch.h>
-#include <TMath.h>
-#endif
-#include "AliHLTTPCRootTypes.h"
-#include "AliHLTTPCLogging.h"
-#include "AliHLTTPCBenchmark.h"
-
-#if __GNUC__ >= 3
-using namespace std;
-#endif
-
-ClassImp(AliHLTTPCBenchmark)
-
-AliHLTTPCBenchmark::AliHLTTPCBenchmark()
- :
- fNbench(0),
- fNmax(20),
- fNames(NULL),
- fTimer(NULL),
- fSum(NULL),
- fMin(NULL),
- fMax(NULL),
- fCount(NULL)
-{
- //Constructor
-}
-
-AliHLTTPCBenchmark::~AliHLTTPCBenchmark()
-{
- //deconstructor
- fNbench = 0;
- if (fNames) {delete [] fNames; fNames = 0;}
- if (fTimer) {delete [] fTimer; fTimer = 0;}
- if (fSum) {delete [] fSum; fSum = 0;}
- if (fMin) {delete [] fMin; fMin = 0;}
- if (fMax) {delete [] fMax; fMax = 0;}
- if (fCount) {delete [] fCount; fCount =0;}
-}
-
-Int_t AliHLTTPCBenchmark::GetBench(const Char_t *name)
-{
- //get bench with name
- for (Int_t i=0;i<fNbench;i++) {
- if (!strcmp(name,(const Char_t*)fNames[i])) return i;
- }
- return -1;
-}
-
-
-void AliHLTTPCBenchmark::Start(const Char_t *name)
-{
- //start the benchmark with name
- if (!fNbench) {
-#ifdef no_root
- fNames=new Char_t*[fNmax];
- fTimer = new AliHLTTPCStopwatch[fNmax];
-#else
- fNames = new TString[fNmax];
- fTimer = new TStopwatch[fNmax];
-#endif
-
- fSum = new Float_t[fNmax];
- fMin = new Float_t[fNmax];
- fMax = new Float_t[fNmax];
- fCount = new Int_t[fNmax];
- for(Int_t i =0;i<fNmax;i++){
- fSum[i]=0;
- fMin[i]=0;
- fMax[i]=0;
- fCount[i]=0;
- }
- }
- Int_t bench = GetBench(name);
- if (bench < 0 && fNbench < fNmax ) {
- // define a new benchmark to Start
-#ifdef no_root
- fNames[fNbench]=new Char_t[strlen(name)+1];
- strcpy(fNames[fNbench],name);
-#else
- fNames[fNbench] = name;
-#endif
- bench = fNbench;
- fNbench++;
- fTimer[bench].Reset();
- fTimer[bench].Start();
- } else if (bench >=0) {
- // Resume the existent benchmark
- fTimer[bench].Reset();
- fTimer[bench].Start();
- }
- else
- LOG(AliHLTTPCLog::kWarning,"AliHLTTPCBenchmark::Start","Start")
- <<"too many benches"<<ENDLOG;
-}
-
-void AliHLTTPCBenchmark::Stop(const char *name)
-{
- //stop the benchmark with name
- Int_t bench = GetBench(name);
- if (bench < 0) return;
-
- fTimer[bench].Stop();
- Float_t val = fTimer[bench].CpuTime();
-
- fSum[bench] += val;
- fCount[bench]++;
- if(fCount[bench]==1){
- fMin[bench] = val;
- fMax[bench] = val;
- }
- else{
- if(val<fMin[bench])fMin[bench]=val;
- if(val>fMax[bench])fMax[bench]=val;
- }
-}
-
-void AliHLTTPCBenchmark::Analyze(const Char_t* name)
-{
- //get results of benchmark
- Float_t *x = new Float_t[fNbench];
- Float_t *y = new Float_t[fNbench];
- Float_t *eyl = new Float_t[fNbench];
- Float_t *eyh = new Float_t[fNbench];
- Char_t filename[256];
- sprintf(filename,"%s.dat",name);
- FILE *f= fopen(filename,"w");
- for (Int_t i=0;i<fNbench;i++) {
- Float_t av =0;
- if(fCount[i]) av = fSum[i]/fCount[i];
- x[i]=i+1;
- y[i]=av*1000;
- eyl[i]=(av-fMin[i])*1000;
- eyh[i]=(fMax[i]-av)*1000;
-#ifdef no_root
- fprintf(f,"%2d. %s: ",i+1,fNames[i]);
-#else
- fprintf(f,"%2d. %s: ",i+1,fNames[i].Data());
-#endif
- fprintf(f,"total %4.0f patch %4.0f -%4.0f +%4.0f ms\n",fSum[i],av*1000,eyl[i],eyh[i]);
- }
- fclose(f);
- sprintf(filename,"%s.tmp",name);
-/* only a workaround!!
- FILE *f2= fopen(filename,"w");
- for (Int_t i=0;i<fNbench;i++) fprintf(f2,"%f ",x[i]); fprintf(f2,"\n");
- for (Int_t i=0;i<fNbench;i++) fprintf(f2,"%f ",y[i]); fprintf(f2,"\n");
- for (Int_t i=0;i<fNbench;i++) fprintf(f2,"%f ",eyl[i]); fprintf(f2,"\n");
- for (Int_t i=0;i<fNbench;i++) fprintf(f2,"%f ",eyh[i]); fprintf(f2,"\n");
- fclose(f2);
-*/
-#ifndef no_root
- sprintf(filename,"%s.root",name);
- TFile *file = new TFile(filename,"RECREATE");
- TGraphAsymmErrors *gr = new TGraphAsymmErrors(fNbench,x,y,0,0,eyl,eyh);
- gr->SetTitle("benchmark");
- gr->SetMarkerStyle(8);
- gr->SetMinimum(0);
- //gr->Draw("ALP");
- gr->Write();
- file->Close();
- delete file;
- file=0;
-#endif
- delete[] x;
- delete[] y;
- delete[] eyl;
- delete[] eyh;
-}
-
-Double_t AliHLTTPCBenchmark::GetCpuTime()
-{
- //get cpu time
- {return (Double_t)(clock()) / CLOCKS_PER_SEC;}
-}
+++ /dev/null
-// @(#) $Id$
-// Original: AliHLTBenchmark.h,v 1.6 2004/06/26 11:39:40 loizides
-
-#ifndef ALIHLTTPCBENCHMARK_H
-#define ALIHLTTPCBENCHMARK_H
-
-//_____________________________________________________________
-//
-// AliHLTTPCBenchmark
-//
-// Benchmark class for level3 code
-//
-//
-
-#ifndef no_root
-class TStopwatch;
-class TString;
-#else
-class AliHLTTPCStopwatch;
-#endif
-
-class AliHLTTPCBenchmark {
-
-public:
- /** standard constructor */
- AliHLTTPCBenchmark();
- /** destructor */
- virtual ~AliHLTTPCBenchmark();
- Int_t GetBench(const Char_t *name);
- void Start(const Char_t *name);
- void Stop(const char *name);
- void Analyze(const Char_t* name);
-
- static Double_t GetCpuTime();
-
-private:
- /** copy constructor prohibited */
- AliHLTTPCBenchmark(const AliHLTTPCBenchmark&);
- /** assignment operator prohibited */
- AliHLTTPCBenchmark& operator=(const AliHLTTPCBenchmark&);
-
- Int_t fNbench; //Number of active benchmarks
- Int_t fNmax; //Maximum number of benchmarks initialized
-#ifndef no_root
- TString *fNames; //! Names of benchmarks
- TStopwatch *fTimer; //! Timers
-#else
- Char_t **fNames; //! Names of benchmarks
- AliHLTTPCStopwatch *fTimer; //! Timers
-#endif
- Float_t *fSum; //! sum of time
- Float_t *fMin; //! min of time
- Float_t *fMax; //! max of time
- Int_t *fCount;//! counter
-
- ClassDef(AliHLTTPCBenchmark,0) //HLTTPC benchmark
-};
-
-#endif // ALIHLTTPCBENCHMARK_H
+// $Id$
#ifndef _ALIHLTTPCCLUSTERFORMAT_H_
#define _ALIHLTTPCCLUSTERFORMAT_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. *
#include "AliHLTTPCSpacePointData.h"
-/* AliHLTTPCClusterData
+/**
+ * @struct AliHLTTPCClusterData
+ * Primitive data exchange structure for TPC clusters.
+ * The data format contains one 32bit count member and the array
+ * of spacepoint data structures.
+ *
+ * @ingroup alihlt_tpc_datastructs
*/
struct AliHLTTPCClusterData
{
// @(#) $Id$
// Original: AliHLTClustFinderNew.cxx,v 1.29 2005/06/14 10:55:21 cvetan Exp
-/**************************************************************************
- * This file is property of and copyright by the ALICE HLT Project *
- * ALICE Experiment at CERN, All rights reserved. *
- * *
- * Primary Authors: Kenneth Aamodt, Kalliopi Kanaki *
- * 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 HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* *
+//* Primary Authors: Anders Vestbo, Constantin Loizides *
+//* Developers: Kenneth Aamodt <kenneth.aamodt@student.uib.no> *
+//* Kalliopi Kanaki *
+//* 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 AliHLTTPCClusterFinder.cxx
@author Kenneth Aamodt, Kalliopi Kanaki
using namespace std;
#endif
-/** \class AliHLTTPCClusterFinder
-//
-// The current cluster finder for HLT
-// (Based on STAR L3)
-//
-//Basically we have two versions for the cluster finder now.
-//The default version, reads the data pad by pad, and find the
-//clusters as it reads the data. The other version has now been
-//developed to cope with unsorted data. New methods for the unsorted
-//version can be found at the end of the default one i the source file.
-//Currently the new version is only build to manage zero-suppressed data.
-//More functionality will be added later.
-//
-// The cluster finder is initialized with the Init function,
-// providing the slice and patch information to work on.
-//
-// The input is a provided by the AliHLTTPCDigitReader class,
-// using the init() funktion, and the next() funktion in order
-// to get the next bin. Either packed or unpacked data can be
-// processed, dependent if one uses AliHLTTPCDigitReaderPacked
-// class or AliHLTTPCDigitReaderUnpacked class in the
-// Clusterfinder Component.
-// The resulting space points will be in the
-// array given by the SetOutputArray function.
-//
-// There are several setters which control the behaviour:
-//
-// - SetXYError(Float_t): set fixed error in XY direction
-// - SetZError(Float_t): set fixed error in Z direction
-// (used if errors are not calculated)
-// - SetDeconv(Bool_t): switch on/off deconvolution
-// - SetThreshold(UInt_t): set charge threshold for cluster
-// - SetMatchWidth(UInt_t): set the match distance in
-// time for sequences to be merged
-// - SetSTDOutput(Bool_t): switch on/off output about found clusters
-// - SetCalcErr(Bool_t): switch on/off calculation of
-// space point errors (or widths in raw system)
-// - SetRawSP(Bool_t): switch on/off convertion to raw system
-//
-//
-// Example Usage:
-//
-// AliHLTTPCFileHandler *file = new AliHLTTPCFileHandler();
-// file->SetAliInput(digitfile); //give some input file
-// for(int slice=0; slice<=35; slice++){
-// for(int patch=0; pat<6; pat++){
-// file->Init(slice,patch);
-// UInt_t ndigits=0;
-// UInt_t maxclusters=100000;
-// UInt_t pointsize = maxclusters*sizeof(AliHLTTPCSpacePointData);
-// AliHLTTPCSpacePointData *points = (AliHLTTPCSpacePointData*)memory->Allocate(pointsize);
-// AliHLTTPCDigitRowData *digits = (AliHLTTPCDigitRowData*)file->AliAltroDigits2Memory(ndigits,event);
-// AliHLTTPCClusterFinder *cf = new AliHLTTPCClusterFinder();
-// cf->SetMatchWidth(2);
-// cf->InitSlice( slice, patch, row[0], row[1], maxPoints );
-// cf->SetSTDOutput(kTRUE); //Some output to standard IO
-// cf->SetRawSP(kFALSE); //Convert space points to local system
-// cf->SetThreshold(5); //Threshold of cluster charge
-// cf->SetDeconv(kTRUE); //Deconv in pad and time direction
-// cf->SetCalcErr(kTRUE); //Calculate the errors of the spacepoints
-// cf->SetOutputArray(points); //Move the spacepoints to the array
-// cf->Read(iter->fPtr, iter->fSize ); //give the data to the cf
-// cf->ProcessDigits(); //process the rows given by init
-// Int_t npoints = cf->GetNumberOfClusters();
-// AliHLTTPCMemHandler *out= new AliHLTTPCMemHandler();
-// out->SetBinaryOutput(fname);
-// out->Memory2Binary(npoints,points); //store the spacepoints
-// out->CloseBinaryOutput();
-// delete out;
-// file->free();
-// delete cf;
-// }
-// }
-*/
-
ClassImp(AliHLTTPCClusterFinder)
AliHLTTPCClusterFinder::AliHLTTPCClusterFinder()
#ifndef AliHLTTPC_CLUSTERFINDER
#define AliHLTTPC_CLUSTERFINDER
-/* 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 */
+//* 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 AliHLTTPCClusterFinder.h
- @author Anders Vestbo, Constantin Loizides, Jochen Thaeder
+ @author Anders Vestbo, Constantin Loizides
Kenneth Aamodt kenneth.aamodt@student.uib.no
- @date
@brief Cluster Finder for the TPC
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
-
#include "AliHLTLogging.h"
-#include "AliHLTTPCPad.h"
+#include <vector>
+
+class AliHLTTPCPad;
class AliHLTTPCSpacePointData;
class AliHLTTPCDigitReader;
-
+class AliHLTTPCClusters;
+
+/**
+ * @class AliHLTTPCClusterFinder
+ *
+ * The current cluster finder for HLT
+ * (Based on STAR L3)
+ *
+ * Basically we have two versions for the cluster finder now.
+ * The default version, reads the data pad by pad, and find the
+ * clusters as it reads the data. The other version has now been
+ * developed to cope with unsorted data. New methods for the unsorted
+ * version can be found at the end of the default one i the source file.
+ * Currently the new version is only build to manage zero-suppressed data.
+ * More functionality will be added later.
+ *
+ * The cluster finder is initialized with the Init function,
+ * providing the slice and patch information to work on.
+ *
+ * The input is a provided by the AliHLTTPCDigitReader class,
+ * using the init() funktion, and the next() funktion in order
+ * to get the next bin. Either packed or unpacked data can be
+ * processed, dependent if one uses AliHLTTPCDigitReaderPacked
+ * class or AliHLTTPCDigitReaderUnpacked class in the
+ * Clusterfinder Component.
+ * The resulting space points will be in the
+ * array given by the SetOutputArray function.
+ *
+ * There are several setters which control the behaviour:
+ *
+ * - SetXYError(Float_t): set fixed error in XY direction
+ * - SetZError(Float_t): set fixed error in Z direction
+ * (used if errors are not calculated)
+ * - SetDeconv(Bool_t): switch on/off deconvolution
+ * - SetThreshold(UInt_t): set charge threshold for cluster
+ * - SetMatchWidth(UInt_t): set the match distance in
+ * time for sequences to be merged
+ * - SetSTDOutput(Bool_t): switch on/off output about found clusters
+ * - SetCalcErr(Bool_t): switch on/off calculation of
+ * space point errors (or widths in raw system)
+ * - SetRawSP(Bool_t): switch on/off convertion to raw system
+ *
+ *
+ * Example Usage:
+ *
+ * <pre>
+ * AliHLTTPCFileHandler *file = new AliHLTTPCFileHandler();
+ * file->SetAliInput(digitfile); //give some input file
+ * for(int slice=0; slice<=35; slice++){
+ * for(int patch=0; pat<6; pat++){
+ * file->Init(slice,patch);
+ * UInt_t ndigits=0;
+ * UInt_t maxclusters=100000;
+ * UInt_t pointsize = maxclusters*sizeof(AliHLTTPCSpacePointData);
+ * AliHLTTPCSpacePointData *points = (AliHLTTPCSpacePointData*)memory->Allocate(pointsize);
+ * AliHLTTPCDigitRowData *digits = (AliHLTTPCDigitRowData*)file->AliAltroDigits2Memory(ndigits,event);
+ * AliHLTTPCClusterFinder *cf = new AliHLTTPCClusterFinder();
+ * cf->SetMatchWidth(2);
+ * cf->InitSlice( slice, patch, row[0], row[1], maxPoints );
+ * cf->SetSTDOutput(kTRUE); //Some output to standard IO
+ * cf->SetRawSP(kFALSE); //Convert space points to local system
+ * cf->SetThreshold(5); //Threshold of cluster charge
+ * cf->SetDeconv(kTRUE); //Deconv in pad and time direction
+ * cf->SetCalcErr(kTRUE); //Calculate the errors of the spacepoints
+ * cf->SetOutputArray(points); //Move the spacepoints to the array
+ * cf->Read(iter->fPtr, iter->fSize ); //give the data to the cf
+ * cf->ProcessDigits(); //process the rows given by init
+ * Int_t npoints = cf->GetNumberOfClusters();
+ * AliHLTTPCMemHandler *out= new AliHLTTPCMemHandler();
+ * out->SetBinaryOutput(fname);
+ * out->Memory2Binary(npoints,points); //store the spacepoints
+ * out->CloseBinaryOutput();
+ * delete out;
+ * file->free();
+ * delete cf;
+ * }
+ * }
+ * </pre>
+ * @ingroup alihlt_tpc
+ */
class AliHLTTPCClusterFinder : public AliHLTLogging {
public:
// $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> *
- * Timm Steinbeck <timm@kip.uni-heidelberg.de> *
- * Jochen Thaeder <thaeder@kip.uni-heidelberg.de> *
- * 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 HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* *
+//* Primary Authors: Timm Steinbeck, Matthias Richter *
+//* Developers: Kenneth Aamodt <kenneth.aamodt@student.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 AliHLTTPCClusterFinderComponent.cxx
- @author Timm Steinbeck, Matthias Richter, Jochen Thaeder, Kenneth Aamodt
+ @author Kenneth Aamodt <kenneth.aamodt@student.uib.no>
@date
@brief The TPC cluster finder processing component
*/
-// see header file for class documentation //
-// or //
-// refer to README to build package //
-// or //
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt //
-
#if __GNUC__>= 3
using namespace std;
#endif
#ifndef ALIHLTTPCCLUSTERFINDERCOMPONENT_H
#define ALIHLTTPCCLUSTERFINDERCOMPONENT_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 */
+//* 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 AliHLTTPCClusterFinderComponent.h
- @author Timm Steinbeck, Matthias Richter, Jochen Thaeder
+ @author Timm Steinbeck, Matthias Richter, Kenneth Aamodt
@date
@brief The TPC cluster finder component.
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTProcessor.h"
class AliHLTTPCClusterFinder;
#ifndef ALIHLTTPCCONFMAPFIT_H
#define ALIHLTTPCCONFMAPFIT_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 AliHLTTPCConfMapFit.h
@author Anders Vestbo, maintained by Matthias Richter
@brief Fit class for conformal mapping tracking.
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
class AliHLTTPCConfMapTrack;
class AliHLTTPCVertex;
*
* Fit class for conformal mapping tracking
*
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCConfMapFit {
#ifndef ALIHLTTPCCONFMAPPOINT_H
#define ALIHLTTPCCONFMAPPOINT_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 AliHLTTPCConfMapPoint.h
@author Anders Vestbo, maintained by Matthias Richter
* @class AliHLTTPCConfMapPoint
* Hit class for conformal mapper
*
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCConfMapPoint {
// @(#) $Id$
// Original: AliHLTConfMapTrack.cxx,v 1.16 2005/06/14 10:55:21 cvetan
-/**************************************************************************
- * This file is property of and copyright by the ALICE HLT Project *
- * ALICE Experiment at CERN, All rights reserved. *
- * *
- * Primary Authors: Anders Vestbo, maintained by *
- * 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 HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* *
+//* Primary Authors: Anders Vestbo, maintained by *
+//* 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 AliHLTTPCConfMapTrack.cxx
@author Anders Vestbo, maintained by Matthias Richter
#include "AliHLTTPCConfMapFit.h"
#include "AliHLTTPCConfMapTrack.h"
#include "AliHLTTPCTransform.h"
-//#include "AliHLTTPC.h"
#if __GNUC__ >= 3
using namespace std;
#ifndef ALIHLTTPCCONFMAPTRACK_H
#define ALIHLTTPCCONFMAPTRACK_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 AliHLTTPCConfMapTrack.h
@author Anders Vestbo, maintained by Matthias Richter
@brief Track class for conformal mapper
*/
-#include <string.h>
-
#include "AliHLTTPCTrack.h"
-
-#include "AliHLTTPCRootTypes.h"
#include "AliHLTTPCConfMapPoint.h"
class AliHLTTPCVertex;
* @class AliHLTTPCConfMapTrack
* Track class for conformal mapper
*
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCConfMapTrack :public AliHLTTPCTrack {
*/
#include <vector>
+#include "AliHLTTPCConfMapPoint.h"
-class AliHLTTPCConfMapPoint;
class AliHLTTPCConfMapTrack;
class AliHLTTPCVertex;
class AliHLTTPCTrackArray;
/**
* @class AliHLTTPCConfMapper
* Conformal mapping base class.
+ *
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCConfMapper {
// @(#) $Id$
// Original: AliHLTDataCompressorHelper.cxx,v 1.5 2004/06/15 10:26:57 hristov Exp $
-// Author: Anders Vestbo <mailto:vestbo@fi.uib.no>
-//*-- Copyright © ALICE HLT Group
+//**************************************************************************
+//* This file is property of and copyright by the ALICE HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* *
+//* Primary Authors: Anders Vestbo *
+//* 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. *
+//**************************************************************************
#include "AliHLTStdIncludes.h"
#include "AliHLTTPCRootTypes.h"
// @(#) $Id$
// Original: AliHLTDataCompressorHelper.h,v 1.4 2004/06/15 10:26:57 hristov Exp $
+//* 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 *
+
#ifndef AliHLTTPC_DataCompressorHelper
#define AliHLTTPC_DataCompressorHelper
-#include "AliHLTTPCRootTypes.h"
-
+/**
+ * @class AliHLTTPCDataCompressorHelper
+ *
+ * @ingroup alihlt_tpc
+ */
class AliHLTTPCDataCompressorHelper {
public:
/**
* @class AliHLTTPCDefinitions
* Data type definitions for the libAliHLTTPC library.
+ *
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCDefinitions
{
*
* The exact meaning of the 3 track ID fields is currently not known to me.
* (Matthias 18.09.2007)
- * @ingroup alihlt-tpc-datastructs
+ * @ingroup alihlt_tpc_datastructs
*/
struct AliHLTTPCDigitData
{
* @struct AliHLTTPCDigitRowData
* A container for TPC raw data organized in rows.
* This is the 3rd coordinate which is missing in @ref AliHLTTPCDigitData.
- * @ingroup alihlt-tpc-datastructs
+ * @ingroup alihlt_tpc_datastructs
*/
struct AliHLTTPCDigitRowData
{
*
* The structure is not used for data exchange between components,
* it's here for legacy reasons.
- * @ingroup alihlt-tpc-datastructs
+ * @ingroup alihlt_tpc_datastructs
*/
struct AliHLTTPCRandomDigitData{
UChar_t fRow;
* @struct AliHLTTPCPackedRawData
* Container structure for TPC data.
* It contains an array of TPC data objects, organized by pad rows.
- * @ingroup alihlt-tpc-datastructs
+ * @ingroup alihlt_tpc_datastructs
*/
struct AliHLTTPCUnpackedRawData
{
#ifndef ALIHLTTPCDIGITDUMPCOMPONENT_H
#define ALIHLTTPCDIGITDUMPCOMPONENT_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 */
+//* 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 AliHLTTPCDigitDumpComponent.h
@author Matthias Richter
@brief Special file writer converting TPC digit input to ASCII.
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTFileWriter.h"
/**
#ifndef ALIHLTTPCDIGITREADER_H
#define ALIHLTTPCDIGITREADER_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 */
+//* 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 AliHLTTPCDigitReader.h
@author Timm Steinbeck, Jochen Thaeder, Matthias Richter, Kenneth Aamodt
@brief An abstract reader class for TPC data.
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTLogging.h"
#include "TObject.h"
@brief DigitReader for the fast ALTRO Decoder
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTTPCDigitReader.h"
#include "AliAltroData.h"
class AliHLTTPCMapping;
* @class AliHLTTPCDigitReaderDecoder
* Digit reader implementation for real ALTRO/RCU data using the fast
* AliAltroDecoder class.
+ *
* @ingroup alihlt_tpc
*/
class AliHLTTPCDigitReaderDecoder : public AliHLTTPCDigitReader {
* Includes reordering of the pads by default, sorting (and time and
* memory consuming intermediate storing of the data) can be disabled
* by @ref SetUnsorted() with argument <b>kTRUE</b>.
+ *
* @ingroup alihlt_tpc
*/
class AliHLTTPCDigitReaderPacked : public AliHLTTPCDigitReader{
#ifndef ALIHLTTPCDIGITREADERRAW_H
#define ALIHLTTPCDIGITREADERRAW_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 AliHLTTPCDigitReaderRaw.h
@author Timm Steinbeck, Jochen Thaeder, Matthias Richter
* - 3: As 1, but RCU trailer is 3 32 bit words.
* - 4: As 0, but RCU trailer is 2 32 bit words.
* - 5: As 1, but RCU trailer is 2 32 bit words.
+ *
+ * @note This class is deprecated!
+ *
* @ingroup alihlt_tpc
*/
class AliHLTTPCDigitReaderRaw : public AliHLTTPCDigitReader {
#ifndef ALIHLTTPCDIGITREADERUNPACKED_H
#define ALIHLTTPCDIGITREADERUNPACKED_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 AliHLTTPCDigitReaderUnpacked.h
@author Timm Steinbeck, Jochen Thaeder, Matthias Richter
#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"
#ifndef ALIHLTTPCFILEHANDLER_H
#define ALIHLTTPCFILEHANDLER_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 */
+//* 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 AliHLTTPCFileHandler.h
@author U. Frankenfeld, A. Vestbo, C. Loizides, maintained by
@date
@brief file input for the TPC tracking code before migration to the
HLT component framework
+*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
- */
#include "AliHLTTPCMemHandler.h"
class TClonesArray;
class AliHLTTPCTrackArray;
/**
- * class AliHLTTPCFileHandler
+ * @class AliHLTTPCFileHandler
* This is the input interface class for the TPC tracking code before conversion to
* the HLT component framework.
*
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCFileHandler:public AliHLTTPCMemHandler {
#ifndef ALIHLTTPCFITTER_H
#define ALIHLTTPCFITTER_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 AliHLTTPCFitter.h
@author Anders Vestbo, maintained by Matthias Richter
/**
* @class AliHLTTPCFitter
* Fit class HLT for helix
+ *
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCFitter {
#ifndef ALIHLTTPC_GLOBALMERGER_H
#define ALIHLTTPC_GLOBALMERGER_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 AliHLTTPCGlobalMerger.h
@author Uli Frankenfeld, maintained by Matthias Richter
/**
* @class AliHLTTPCGlobalMerger
* The HLTTPC Slice merger
+ *
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCGlobalMerger : public AliHLTTPCMerger{
#ifndef ALIHLTTPCGLOBALMERGERCOMPONENT_H
#define ALIHLTTPCGLOBALMERGERCOMPONENT_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 AliHLTTPCGlobalMergerComponent.h
@author Timm Steinbeck, Matthias Richter
@brief HLT TPC global merger component.
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTProcessor.h"
class AliHLTTPCGlobalMerger;
#ifndef ALIHLTTPCINTERMERGER_H
#define ALIHLTTPCINTERMERGER_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 AliHLTTPCInterMerger.h
@author Uli Frankenfeld, maintained by Matthias Richter
/**
* @class AliHLTTPCInterMerger
* The HLTTPC track segment merger
+ *
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCInterMerger : public AliHLTTPCMerger {
// $Id$
-/**************************************************************************
- * This file is property of and copyright by the ALICE HLT Project *
- * ALICE Experiment at CERN, All rights reserved. *
- * *
- * Primary Authors: Kenneth Aamodt <kenneth.aamodt@student.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 HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* *
+//* Primary Authors: Kenneth Aamodt <kenneth.aamodt@student.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 AliHLTTPCKryptonClusterFinder.cxx
@author Kenneth Aamodt, Kalliopi Kanaki
#include "AliHLTTPCDigitReader.h"
#include "AliHLTTPCKryptonClusterFinder.h"
#include "AliHLTTPCTransform.h"
+#include "AliHLTTPCPad.h"
+#include "AliHLTTPCClusters.h"
#include "TFile.h"
#if __GNUC__ >= 3
#ifndef AliHLTTPC_KRYPTONCLUSTERFINDER
#define AliHLTTPC_KRYPTONCLUSTERFINDER
-/* 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 */
+//* 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 AliHLTTPCKryptonClusterFinder.h
@author Kenneth Aamodt kenneth.aamodt@student.uib.no
@brief Krypton Cluster Finder for the TPC
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
-
//#include "AliHLTLogging.h"
//#include "AliHLTTPCPad.h"
#include "AliHLTTPCClusterFinder.h"
class AliHLTTPCSpacePointData;
class AliHLTTPCDigitReader;
+/**
+ * @class AliHLTTPCKryptonClusterFinder
+ *
+ * @ingroup alihlt_tpc
+ */
class AliHLTTPCKryptonClusterFinder : public AliHLTTPCClusterFinder {
public:
#ifndef ALIHLTTPCKRYPTONCLUSTERFINDERCOMPONENT_H
#define ALIHLTTPCKRYPTONCLUSTERFINDERCOMPONENT_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 */
+//* 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 AliHLTTPCKryptonClusterFinderComponent.h
@author Kenneth Aamodt, Kalliopi Kanaki
@brief The TPC krypton cluster finder component.
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTProcessor.h"
class AliHLTTPCKryptonClusterFinder;
// @(#) $Id$
// Original: AliHLTLog.h,v 1.2 2004/06/11 16:06:33 loizides Exp $
+//* 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 *
+
#ifndef ALIHLTTPCLOG_H
#define ALIHLTTPCLOG_H
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include <sstream>
#include <iostream>
#include "AliHLTLogging.h"
* \em Note: the old LOG and ENDLOG macros should be used any longer,
* use the HLT logging macros or AliRoot logging macros instead.
* @see AliHLTLogging
+ *
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCLog {
public:
// @(#) $Id$
// Original: AliHLTMemHandler.cxx,v 1.52 2005/06/14 10:55:21 cvetan
-/**************************************************************************
- * This file is property of and copyright by the ALICE HLT Project *
- * ALICE Experiment at CERN, All rights reserved. *
- * *
- * Primary Authors: U. Frankenfeld, A. Vestbo, C. Loizides *
- * 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 HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* *
+//* Primary Authors: U. Frankenfeld, A. Vestbo, C. Loizides *
+//* 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 AliHLTTPCMemHandler.cxx
@author U. Frankenfeld, A. Vestbo, C. Loizides, maintained by
@date
@brief input interface base class for the TPC tracking code before
migration to the HLT component framework
+*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
- */
-/** \class AliHLTTPCMemHandler
-<pre>
-//_____________________________________________________________
-// AliHLTTPCMemHandler
-//
-// The HLT Binary File handler
-//
-// This class does all the memory I/O handling of HLT binary files.
-//
-// Examples:
-// ---------
-//
-// 1) Reading a binary file:
-//
-// AliHLTTPCMemHandler file;
-// file.SetBinaryInput(filename);
-// file.Init(slice,patch);
-//
-// UInt_t nrowss;
-// AliHLTTPCDigitRowData *data = file.CompBinary2Memory(nrows);
-//
-// for(int i=0; i<nrows; i++)
-// {
-//
-// AliHLTTPCDigitData *dataPt = (AliHLTTPCDigitData*)data->fDigitData;
-// for(int j=0; j<data->fNDigit; j++)
-// {
-// pad = dataPt[j].fPad;
-// time = dataPt[j].fTime;
-// charge = dataPt[j].fCharge;
-// }
-//
-// file.UpdateRowPointer(data);
-//
-// }
-// file.CloseBinaryInput();
-// ________________________
-//
-// 2) Writing a binary file:
-//
-// //First of all you need to store the data in memory,
-// //and have a pointer to it of type AliHLTTPCDigitRowData.
-// //E.g. if you just want to write the data you read in example 1)
-// //into a new file, you can do the following:
-//
-// AliHLTTPCMemHandler newfile;
-// newfile.Init(slice,patch);
-// newfile.SetBinaryOutput(newfilename);
-// newfile.Memory2CompBinary((UInt_t)NumberOfRowsInPatch,(AliHLTTPCDigitRowData*)data);
-// newfile.CloseBinaryOutput();
-//
-//
-// Compressed file format:
-// -----------------------
-//
-// The data is RLE encoded and currently using _10_ bit range for the ADC-values.
-</pre>
-*/
#include <cassert>
#include "AliHLTTPCRootTypes.h"
// Original: AliHLTMemHandler.h,v 1.30 2004/10/06 08:51:20 cvetan
#ifndef ALIHLTTPC_MEMHANDLER_H
#define ALIHLTTPC_MEMHANDLER_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 */
+//* 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 AliHLTTPCMemHandler.h
@author U. Frankenfeld, A. Vestbo, C. Loizides, maintained by
@date
@brief input interface base class for the TPC tracking code before
migration to the HLT component framework
-
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
- */
-//_____________________________________________________________
-// AliHLTTPCMemHandler
-//
-// The HLT Binary File handler
-//
-// This class does all the memory I/O handling of HLT binary files.
-//
-// Author: Uli Frankenfeld <mailto:franken@fi.uib.no>,
-// Anders Vestbo <mailto:vestbo$fi.uib.no>,
-// Constantin Loizides <mailto:loizides@ikf.uni-frankfurt.de>
-// *-- Copyright © ALICE HLT Group
+*/
class AliHLTTPCDigitData;
class AliHLTTPCSpacePointData;
class AliRawEvent;
#include "AliTPCRawStream.h"
+/**
+ * @class AliHLTTPCMemHandler
+ * The HLT Binary File handler
+ *
+ * This class is the old memory I/O handler of HLT binary files.
+ * Some functionality is still used in the current code, mainly
+ * conversion of TPC digits into the format understandable by the
+ * components.
+ * <pre>
+ * Examples:
+ * ---------
+ *
+ * 1) Reading a binary file:
+ *
+ * AliHLTTPCMemHandler file;
+ * file.SetBinaryInput(filename);
+ * file.Init(slice,patch);
+ *
+ * UInt_t nrowss;
+ * AliHLTTPCDigitRowData *data = file.CompBinary2Memory(nrows);
+ *
+ * for(int i=0; i<nrows; i++)
+ * {
+ *
+ * AliHLTTPCDigitData *dataPt = (AliHLTTPCDigitData*)data->fDigitData;
+ * for(int j=0; j<data->fNDigit; j++)
+ * {
+ * pad = dataPt[j].fPad;
+ * time = dataPt[j].fTime;
+ * charge = dataPt[j].fCharge;
+ * }
+ *
+ * file.UpdateRowPointer(data);
+ *
+ * }
+ * file.CloseBinaryInput();
+ * ________________________
+ *
+ * 2) Writing a binary file:
+ *
+ * //First of all you need to store the data in memory,
+ * //and have a pointer to it of type AliHLTTPCDigitRowData.
+ * //E.g. if you just want to write the data you read in example 1)
+ * //into a new file, you can do the following:
+ *
+ * AliHLTTPCMemHandler newfile;
+ * newfile.Init(slice,patch);
+ * newfile.SetBinaryOutput(newfilename);
+ * newfile.Memory2CompBinary((UInt_t)NumberOfRowsInPatch,(AliHLTTPCDigitRowData*)data);
+ * newfile.CloseBinaryOutput();
+ *
+ *
+ * Compressed file format:
+ * -----------------------
+ *
+ * The data is RLE encoded and currently using _10_ bit range for the ADC-values.
+ * </pre>
+ *
+ * @ingroup alihlt_tpc
+ */
class AliHLTTPCMemHandler {
public:
// Original: AliHLTMerger.h,v 1.8 2004/06/11 16:06:33 loizides
#ifndef ALIHLTTPCMERGER_H
#define ALIHLTTPCMERGER_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 AliHLTTPCMerger.h
@author Uli Frankenfeld, maintained by Matthias Richter
/**
* @class AliHLTTPCMerger
* The HLTTPC merger base class
-*/
+ *
+ * @ingroup alihlt_tpc
+ */
class AliHLTTPCMerger {
public:
AliHLTTPCMerger();
// @(#) $Id$
// Original: AliHLTModelTrack.h,v 1.13 2004/06/15 10:26:57 hristov
+//* 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 *
+
#ifndef AliHLTTPCModel_Track
#define AliHLTTPCModel_Track
#include "AliHLTTPCTrack.h"
#include "AliHLTTPCModels.h"
+/**
+ * @class AliHLTTPCModelTrack
+ *
+ * @ingroup alihlt_tpc
+ */
class AliHLTTPCModelTrack : public AliHLTTPCTrack {
public:
@brief Component for Noise Map
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTProcessor.h"
//forward declarations
#ifndef ALIHLTTPCPAD_H
#define ALIHLTTPCPAD_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 */
+//* 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 AliHLTTPCPad.h
@author Matthias Richter
@brief Container Class for TPC Pads.
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTLogging.h"
#include "AliHLTTPCClusters.h"
#include "TH1F.h"
#ifndef ALIHLTTPCRAWDATAUNPACKERCOMPONENT_H
#define ALIHLTTPCRAWDATAUNPACKERCOMPONENT_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice */
-
-// 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 HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* See cxx source for full Copyright notice *
#include "AliHLTProcessor.h"
/**
* @class AliHLTTPCRawDataUnpackerComponent
* Unpacker component for TPC RAW data.
+ *
+ * @note Old remnant and never used in the new online interface. Became
+ * obsolete with the introduction of DigitReaders. Maybe we want to
+ * convert this component into a tool.
+ * @ingroup alihlt_tpc_components
*/
class AliHLTTPCRawDataUnpackerComponent : public AliHLTProcessor
{
#ifndef ALIHLTTPCSLICETRACKERCOMPONENT_H
#define ALIHLTTPCSLICETRACKERCOMPONENT_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 AliHLTTPCSliceTrackerComponent.h
@author Timm Steinbeck, Matthias Richter
@brief The TPC conformal mapping tracker component.
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTProcessor.h"
class AliHLTTPCConfMapper;
#define SPACEPOINTDATA_H
#include "AliHLTTPCRootTypes.h"
+
+/**
+ * @struct AliHLTTPCSpacePointData
+ * Primitive data exchange structure for TPC clusters.
+ * Together with the AliHLTTPCClusterDataFormat this defines
+ * the output of the TPC online Cluster Finder.
+ *
+ * @ingroup alihlt_tpc_datastructs
+ */
struct AliHLTTPCSpacePointData{
#ifdef do_mc
Int_t fTrackID[3];
#ifndef ALIHLTTPCTRACK_H
#define ALIHLTTPCTRACK_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 AliHLTTPCTrack.h
@author Anders Vestbo, Uli Frankenfeld, maintained by Matthias Richter
* It was originally separated from the offline TPC track class, but in
* order to adjust the output format to the offline ESD, AliHLTTPCTrack
* now inherits from AliHLTtrack.
+ *
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCTrack : public AliTPCtrack {
#ifndef ALIHLTTPCTRACKARRAY_H
#define ALIHLTTPCTRACKARRAY_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 AliHLTTPCTrackArray.h
@author Uli Frankenfeld, maintained by Matthias Richter
* @class AliHLTTPCTrackArray
* Array of AliHLTTrack objects.
* The class implements a dynamic array and handler methods.
+ *
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCTrackArray {
public:
#ifndef ALIHLTTPCTRACKMERGER_H
#define ALIHLTTPCTRACKMERGER_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 AliHLTTPCTrackMerger.h
@author Uli Frankenfeld, maintained by Matthias Richter
*
* This class is responsible for the merging of the HLT tracks
* between TPC sectors and readout patches
+ *
+ * @ingroup alihlt_tpc
*/
class AliHLTTPCTrackMerger : public AliHLTTPCMerger {
// @(#) $Id$
// Original: AliHLTTrackSegmentData.h,v 1.7 2005/03/31 04:48:59 cvetan
+
+//* 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 *
+
#ifndef _ALIHLTTPCTRACKSEGMENTDATA_H_
#define _ALIHLTTPCTRACKSEGMENTDATA_H_
#include "AliHLTTPCRootTypes.h"
+/**
+ * @struct AliHLTTPCTrackSegmentData
+ * Primitive data exchange structure for TPC tracks.
+ *
+ * @ingroup alihlt_tpc_datastructs
+ */
struct AliHLTTPCTrackSegmentData
{
Float_t fX;
#ifndef _ALIHLTTPCTRACKLETFORMAT_HPP_
#define _ALIHLTTPCTRACKLETFORMAT_HPP_
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice */
-
-/* AliHLTTPCTrackletData
- */
+//* 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 *
#include "AliHLTDataTypes.h"
#include "AliHLTTPCTrackSegmentData.h"
+/**
+ * @struct AliHLTTPCTrackletData
+ * Primitive data exchange structure for TPC tracks.
+ *
+ * @ingroup alihlt_tpc_datastructs
+ */
struct AliHLTTPCTrackletData
{
AliHLTUInt32_t fTrackletCnt;
// fVersion==kVdeprecated: dont use old (before July 2003) style of transformer
//
</pre>
+* @ingroup alihlt_tpc
*/
ClassImp(AliHLTTPCTransform)
// @(#) $Id$
// Original: AliHLTTransform.h,v 1.37 2005/06/14 10:55:21 cvetan
+//* 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 *
+
#ifndef ALIHLTTPCTRANSFORM_H
#define ALIHLTTPCTRANSFORM_H
#ifndef ALIHLTTPCZEROSUPPRESSIONCOMPONENT_H
#define ALIHLTTPCZEROSUPPRESSIONCOMPONENT_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 */
+//* 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 AliHLTTPCZeroSuppressionComponent.h
@author Kenneth Aamodt
@brief Component for ZeroSuppression
*/
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
#include "AliHLTProcessor.h"
#include "AliHLTTPCPad.h"
#include "AliHLTDataTypes.h"
*
* - sort-pads Flag to switch on pad sorting(needed by the SORTED clusterfinder)
*
- * @ingroup alihlt_tpc
+ * @ingroup alihlt_tpc_components
*/
class AliHLTTPCZeroSuppressionComponent : public AliHLTProcessor
{
--- /dev/null
+// $Id$
+/************************************************************************
+**
+** This file is property of and copyright by the ALICE HLT Project
+** ALICE Experiment at CERN, All rights reserved.
+**
+** This file is property of and copyright by the Experimental Nuclear
+** Physics Group, Dep. of Physics and Technology
+** University of Bergen, Norway, 2004
+** This file has been written by Matthias Richter,
+** Matthias.Richter@ift.uib.no
+**
+** 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 docalihlttpc.c
+ @author Matthias Richter
+ @date
+ @brief Library documentation for the libAliHLTTPC library.
+*/
+
+/**
+@defgroup alihlt_tpc The libAliHLTTPC library
+*/
+
+/**
+@defgroup alihlt_tpc_components TPC HLT components
+@ingroup alihlt_tpc
+*/
+
+/**
+@defgroup alihlt_tpc_datastructs TPC components data exchange structures
+@ingroup alihlt_tpc
+*/
+
+#error Not for compilation
+//
+// EOF
+//
the structure has been added to AliHLTTPCDigitData.h
- AliHLTTPCDDLDataFileHandler.cxx/.h removed 17.10.2007
the conversion class to old HLT binary formats, deprecated because of completely
- new framework
\ No newline at end of file
+ new framework
+- AliHLTTPCBenchmark.h/.cxx removed 22.04.2008
+ old benchmark class
AliHLTTPCDataCompressorHelper.h \
AliHLTTPCFitter.h \
AliHLTTPCFileHandler.h \
- AliHLTTPCBenchmark.h \
AliHLTTPCClusterFinder.h \
AliHLTTPCMapping.h \
AliHLTTPCDigitReader.h \