* @param pDetector 4 byte Detector identifier
* @param pFileID name of the file to which the data shall be stored
* @param pDDLList pointer to ReadoutList ( struct @ref AliHLTEventDDL) of
- * participating DDLs. Have to be set with @ref EnableDLLBit(),
- * or unset with @ref DisableDLLBit.
+ * participating DDLs. Have to be set or unset with @ref
+ * AliHLTComponent::EnableDDLBit() and @ref AliHLTComponent::DisableDDLBit().
* Will be filled automatically if not supplied by the component.
* @return neg. error code if failed
*/
* @param pDetector 4 byte Detector identifier
* @param pFileID name of the file to which the data shall be stored
* @param pDDLList pointer to ReadoutList ( struct @ref AliHLTEventDDL) of
- * participating DDLs. Have to be set with @ref EnableDLLBit(),
- * or unset with @ref DisableDLLBit.
+ * participating DDLs. Have to be set or unset with @ref
+ * AliHLTComponent::EnableDDLBit() and @ref AliHLTComponent::DisableDDLBit().
* Will be filled automatically if not supplied by the component.
* @return neg. error code if failed
*/
* would have been prepared if there was enough space in the array<br>
* The method is used by the consumer component.
* @param pConsumer the component which subscribes to the buffer
- * @param arrayBlockDesc pointer to block descriptor to be filled
- * @param iArraySize size of the block descriptor array
+ * @param blockDescList block descriptor vector to be filled
* @return: number of matching data blocks, neg. error code if failed<br>
* -EACCESS the consumer state can't be changed (activated)
* -EBADF unresolved data segments <br>
if (fRawReader)
return EINPROGRESS;
-#if defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
fRawReader = new AliRawReaderMemory();
-#else
- HLTFatal("AliRawReader not available - check your build");
- return -ENODEV;
-#endif
return 0;
}
if (fRawReader)
return EINPROGRESS;
-#if defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
fRawReader = new AliRawReaderMemory();
-#else
- HLTFatal("AliRawReader not available - check your build");
- return -ENODEV;
-#endif
return 0;
#else // HAVE_NOT_ALITPCCALIBPULSER
if (fPackedSwitch) {
if (rawreadermode == -2) {
-#if defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
HLTDebug("using AliHLTTPCDigitReaderPacked");
fReader = new AliHLTTPCDigitReaderPacked();
if(oldRCUFormat==1){
fReader->SetUnsorted(kTRUE);
}
fClusterFinder->SetReader(fReader);
-#else // ! defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
- HLTFatal("DigitReaderPacked not available - check your build");
- return -ENODEV;
-#endif // defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
} else {
#if defined(HAVE_TPC_MAPPING)
HLTDebug("using AliHLTTPCDigitReaderRaw mode %d", rawreadermode);
break;
case kDigitReaderPacked:
HLTInfo("create DigitReaderPacked");
-#if defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
pReader=new AliHLTTPCDigitReaderPacked;
-#else // ! defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
- HLTFatal("DigitReaderPacked not available - check your build");
-#endif // defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
break;
case kDigitReaderRaw:
HLTInfo("create DigitReaderRaw");
iResult=-EFAULT;
break;
}
- pReader->SetUnsorted(kTRUE);
iResult=pReader->InitBlock(pDesc->fPtr,pDesc->fSize,firstRow,lastRow,part,slice);
int iPrintedRow=-1;
* Optional arguments: <br>
* <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formating -->
* \li -rawreadermode <i> mode </i> <br>
- * data mode of the AliHLTTPCDigitReaderRaw</i>
+ * data mode of the <b>AliHLTTPCDigitReaderRaw</b>
* \li -digitreader <i> reader </i> <br>
* type of the digit reader: <i>unpacked, packed, raw</i>
*
// $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: 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. *
+//*************************************************************************/
/** @file AliHLTTPCDigitReaderPacked.cxx
@author Timm Steinbeck, Jochen Thaeder, Matthias Richter, Kenneth Aamodt
ClassImp(AliHLTTPCDigitReaderPacked)
-#if defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
AliHLTTPCDigitReaderPacked::AliHLTTPCDigitReaderPacked()
:
//#if ENABLE_PAD_SORTING
//#endif // ENABLE_PAD_SORTING
}
-Int_t AliHLTTPCDigitReaderPacked::InitBlock(void* ptr,unsigned long size, Int_t patch, Int_t slice){
+Int_t AliHLTTPCDigitReaderPacked::InitBlock(void* ptr,ULong_t size, Int_t patch, Int_t slice)
+{
fRawMemoryReader->SetMemory( reinterpret_cast<UChar_t*>( ptr ), size );
return fTPCRawStream->GetTime();
}
}
-#endif //defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
#ifndef ALIHLTTPCDIGITREADERPACKED_H
#define ALIHLTTPCDIGITREADERPACKED_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 AliHLTTPCDigitReaderPacked.h
@author Timm Steinbeck, Jochen Thaeder, Matthias Richter, Kenneth Aamodt
#include "AliHLTTPCDigitReader.h"
-#if defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
-
class AliRawReaderMemory;
-
class AliTPCRawStream;
/**
* A digit reader implementation for simulated, packed TPC 'raw' data.
* Includes reordering of the pads by default, sorting (and time and
* memory consuming intermediate storing of the data) can be disabled
- * by @ref SetUnsorted(kTRUE).
+ * by @ref SetUnsorted() with argument <b>kTRUE</b>.
* @ingroup alihlt_tpc
*/
class AliHLTTPCDigitReaderPacked : public AliHLTTPCDigitReader{
/**
* Init the reader with a data block.
* The function fetches the first and last row for the readout partition
- * from @ref AliHLTTransform.
+ * from @ref AliHLTTPCTransform.
* @param ptr pointer to data buffer
* @param size size of the data buffer
* @param patch patch (readout partition) number within the slice
};
-#else
-// add a dummy class to make CINT happy
-class AliHLTTPCDigitReaderPacked : public AliHLTLogging{
-public:
- AliHLTTPCDigitReaderPacked()
- {
- HLTFatal("AliHLTTPCDigitReaderPacked not build");
- }
-
- ClassDef(AliHLTTPCDigitReaderPacked, 0)
-};
-#endif //defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
-
#endif
class AliHLTTPCDigitRowData;
/**
- * @class AliHLTTPCDigitReaderPacked
+ * @class AliHLTTPCDigitReaderUnpacked
* A digit reader implementation for unpacked TPC data.
* @ingroup alihlt_tpc
*/
* @param pESD ESD to be filled
* @param blocks data block descriptor array
* @param nBlocks size of the array
- * @param pMinSize [OUT] receives the minimum slice no
- * @param pMaxSize [OUT] receives the maximum slice no
+ * @param pMinSlice [OUT] receives the minimum slice no
+ * @param pMaxSlice [OUT] receives the maximum slice no
* @return neg. error code if failed
*/
int ProcessBlocks(TTree* pTree, AliESDEvent* pESD, const AliHLTComponentBlockData* blocks,
// @(#) $Id$
// Original: AliHLTDisplay.cxx,v 1.26 2005/06/14 10:55:21 cvetan
-/**
-<pre>
-//_____________________________________________________________
-// AliHLTTPCDisplay
-//
-// Display class for the HLT TPC events.
-</pre>
+//*************************************************************************
+// This file is property of and copyright by the ALICE HLT Project *
+// ALICE Experiment at CERN, All rights reserved. *
+// *
+// Primary Authors: Jochen Thaeder <mailto:thaeder@kip.uni-heidelberg.de> *
+// 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. *
+//*************************************************************************/
+
+/** @file AliHLTTPCDisplay.cxx
+ @author Jochen Thaeder, Anders Vestbo
+ @date
+ @brief Display class for the HLT TPC events.
*/
-// Author: Jochen Thaeder <mailto:thaeder@kip.uni-heidelberg.de>
-// Anders Vestbo <mailto:vestbo@fi.uib.no>
-//*-- Copyright © ALICE HLT Group
#define TRACKHELIX 0
#define TRACKPOLYMARKER 0
// ####################################################################################################
void AliHLTTPCDisplay::FillPadRow(Int_t patch, ULong_t dataBlock, ULong_t dataLen){
-#if defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
AliHLTTPCDigitReader* digitReader = new AliHLTTPCDigitReaderPacked();
bool readValue = true;
Int_t rowOffset = 0;
fHistrawcl->Fill(xyz[1],xyz[2]);
}
}
-#else //! if defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
- HLTFatal("DigitReaderPacked not available - check your build");
-#endif //defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H)
}
// #############################################################################
// @(#) $Id$
// Original: AliHLTDisplay.h,v 1.14 2004/06/30 08:30:14 loizides
+//* 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 AliHLTTPCDisplay.h
+ @author Jochen Thaeder, Anders Vestbo
+ @date
+ @brief Display class for the HLT TPC events.
+*/
+
#ifndef ALIHLTTPCDISPLAY_H
#define ALIHLTTPCDISPLAY_H
-/** \class AliHLTTPCDisplay
-<pre>
-//_____________________________________________________________
-// AliHLTTPCDisplay
-//
-// Display class for the HLT TPC events.
-</pre>
-*/
-// Author: Jochen Thaeder <mailto:thaeder@kip.uni-heidelberg.de>
-// Anders Vestbo <mailto:vestbo@fi.uib.no>
-//*-- Copyright © ALICE HLT Group
-
#include <TGeometry.h>
#include <TObject.h>
#include <TCanvas.h>
}
-void AliHLTTPCCATrackPar::Filter( const Double_t m[], const Double_t V[], const Double_t V1[6] )
+void AliHLTTPCCATrackPar::Filter( const Double_t m[3], const Double_t V[6], const Double_t V1[6] )
{
//* !
Double_t
CHECKLIB=RAWDatarec
AC_CHECK_LIB([$CHECKLIB],[_init],
[ALIROOT_LIBS="$ALIROOT_LIBS -l$CHECKLIB"
- AC_DEFINE(HAVE_ALIRAWDATA)
have_alirawdata=$CHECKLIB])],
[# second pass with -RAWData
CHECKLIB="-lRAWData"
AliRawReaderFile freader;
AliRawReaderDate dreader(NULL,0);
AliRawReaderRoot rreader(NULL,0);])],
- [AC_DEFINE(HAVE_ALIRAWDATA)
- ALIROOT_LIBS="$ALIROOT_LIBS $CHECKLIB"
+ [ALIROOT_LIBS="$ALIROOT_LIBS $CHECKLIB"
have_alirawdata=$CHECKLIB],
[have_alirawdata=no])
]) dnl AC_CHECK_LIB RAWDatabase
# the HLTTPCLib needs to link agains TPCbase and TPCrec
# TPC library for AliTPCParam and AliSimDigits used in
# AliHLTTPCFileHandler.h and AliHLTTPCDisplay.cxx
- # fram May 07 TPCbase depends on libGui.so
+ # from May 07 TPCbase depends on libGui.so
CPPFLAGS="$save_CPPFLAGS $ALIROOT_CPPFLAGS -I${ALICE_ROOT}/TPC"
have_alitpc=yes
AC_MSG_CHECKING(for required classes in TPC libraries)
AC_MSG_CHECKING([for TPC mapping layout])
AC_MSG_RESULT([$have_tpc_mapping])
- if test ! "x$have_alirawdata" = "xno" ; then
- # check for header files needed by the TPCLib/AliHLTTPCDigitReaderPacket
- # the header file has been moved to the TPC module
- CPPFLAGS="$save_CPPFLAGS $ALIROOT_CPPFLAGS -I${ALICE_ROOT}/TPC"
- # AliRawReaderMemory.h AliRawReaderFile.h already checked
- #AC_CHECK_HEADERS([AliRawReaderMemory.h AliRawReaderFile.h AliTPCRawStream.h])
- AC_CHECK_HEADERS([AliTPCRawStream.h])
- fi
-
dnl
dnl Check for the interface of AliExternalTrackParam which has been changed
dnl in revision 1.17 of AliExternalTrackParam.h (AliRoot version v4-05-04
AH_TEMPLATE([HLT_TPC],[hlt tpc library])
CHECK_HLTMODULE([tpc],
- [], [],
+ [AliTPCRawStream.h],
+ [$ALIROOT_CPPFLAGS -I$ALICE_ROOT/TPC],
[], [-L$ROOTLIBDIR], [$ROOTLIBS $ADD_ROOTLIBS],
[], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
[$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
ClassImp(AliHLTPreprocessor)
-const Int_t AliHLTPreprocessor::fgkHuffmanTablesNum = 6;
-
-const char* AliHLTPreprocessor::fgkHLTPreproc = "HLT";
-
-const char* AliHLTPreprocessor::fgkHuffmanFileBase = "huffmanData_";
-
-const char* AliHLTPreprocessor::fgkHuffmanFileDetector = "TPC_"; // at the moment only one
-
-const char* AliHLTPreprocessor::fgkTempHistoFileName = "HLTTemperatureHistograms.root";
-
AliHLTPreprocessor::AliHLTPreprocessor(AliShuttleInterface* shuttle)
:
AliPreprocessor(fgkHLTPreproc, shuttle),
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
}
+const Int_t AliHLTPreprocessor::fgkHuffmanTablesNum = 6;
+
+const char* AliHLTPreprocessor::fgkHLTPreproc = "HLT";
+
+const char* AliHLTPreprocessor::fgkHuffmanFileBase = "huffmanData_";
+
+const char* AliHLTPreprocessor::fgkHuffmanFileDetector = "TPC_"; // at the moment only one
+
+const char* AliHLTPreprocessor::fgkTempHistoFileName = "HLTTemperatureHistograms.root";
AliHLTPreprocessor::~AliHLTPreprocessor() {
// see header file for function documentation