@date
@brief A dummy processing component for the HLT. */
+// 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
@date
@brief Declaration of a dummy 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"
// component headers
#include "AliHLTAltroChannelSelectorComponent.h"
#include "AliHLTTPCDigitDumpComponent.h"
+#include "AliHLTTPCEsdWriterComponent.h"
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCAgent)
if (!pHandler) return -EINVAL;
pHandler->AddComponent(new AliHLTAltroChannelSelectorComponent);
pHandler->AddComponent(new AliHLTTPCDigitDumpComponent);
+ pHandler->AddComponent(new AliHLTTPCEsdWriterComponent::AliWriter);
+ pHandler->AddComponent(new AliHLTTPCEsdWriterComponent::AliConverter);
+
return 0;
}
@brief An abstract reader class for TPC data.
*/
+// 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
fLckRow(-1),
fLckPad(-1)
{
+ // see header file for class documentation
+ // or
+ // refer to README to build package
+ // or
+ // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
}
AliHLTTPCDigitReader::~AliHLTTPCDigitReader()
{
+ // see header file for class documentation
}
int AliHLTTPCDigitReader::InitBlock(void* ptr,unsigned long size,Int_t firstrow,Int_t lastrow, Int_t patch, Int_t slice)
{
+ // see header file for class documentation
if (patch<0 || patch>=AliHLTTPCTransform::GetNumberOfPatches()) {
HLTError("invalid readout partition number %d", patch);
return -EINVAL;
void AliHLTTPCDigitReader::SetOldRCUFormat(Bool_t /*oldrcuformat*/)
{
+ // default method of the base class
}
-void AliHLTTPCDigitReader::SetUnsorted(Bool_t /*unsorted*/){
+
+void AliHLTTPCDigitReader::SetUnsorted(Bool_t /*unsorted*/)
+{
+ // default method of the base class
}
bool AliHLTTPCDigitReader::Next()
{
+ // see header file for class documentation
if (!CheckFlag(kLocked)) return NextSignal();
bool haveData=false;
void AliHLTTPCDigitReader::EnableCaching(bool bCache)
{
+ // see header file for class documentation
if (bCache) SetFlag(kChannelCaching);
else ClearFlag(kChannelCaching);
}
int AliHLTTPCDigitReader::RewindChannel()
{
+ // see header file for class documentation
int iResult=0;
return iResult;
unsigned int AliHLTTPCDigitReader::SetFlag(unsigned int flag)
{
+ // see header file for class documentation
return fFlags|=flag;
}
unsigned int AliHLTTPCDigitReader::ClearFlag(unsigned int flag)
{
+ // see header file for class documentation
return fFlags&=~flag;
}
int AliHLTTPCDigitReader::RewindCurrentChannel()
{
+ // see header file for class documentation
SetFlag(kNoRewind);
if (!CheckFlag(kChannelCaching)) return -ENODATA;
return -ENOSYS;
int AliHLTTPCDigitReader::RewindToPrevChannel()
{
+ // see header file for class documentation
SetFlag(kNoRewind);
if (!CheckFlag(kChannelCaching)) return -ENODATA;
return -ENOSYS;
@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"
/**
* Check a status flag of the reader.
*/
- inline int CheckFlag(unsigned int flag) {return (fFlags&flag)!=0;}
+ int CheckFlag(unsigned int flag) const {return (fFlags&flag)!=0;}
/**
* Rewind to the beginning.of the current channel.
mapping tracker in the AliESD format
*/
+// see header file for class documentation
+// or
+// refer to README to build package
+// or
+// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
+
#include <cassert>
#include "AliHLTTPCEsdWriterComponent.h"
#include "AliESDEvent.h"
#include "AliHLTTPCDefinitions.h"
#include "AliHLTTPCTransform.h"
-/** global instance for component registration */
-AliHLTTPCEsdWriterComponent::AliWriter gTPCEsdWriter;
-AliHLTTPCEsdWriterComponent::AliConverter gTPCEsdConverter;
-
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCEsdWriterComponent)
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"
/** standard constructor */
AliWriter();
/** destructor */
- ~AliWriter();
+ virtual ~AliWriter();
/**
* The id of the component.
* @param blocks input data block descriptors
* @param trigData trigger data structure
*/
- virtual int DumpEvent( const AliHLTComponentEventData& evtData,
- const AliHLTComponentBlockData* blocks,
- AliHLTComponentTriggerData& trigData );
+ int DumpEvent( const AliHLTComponentEventData& evtData,
+ const AliHLTComponentBlockData* blocks,
+ AliHLTComponentTriggerData& trigData );
using AliHLTRootFileWriterComponent::DumpEvent;
/** standard constructor */
AliConverter();
/** destructor */
- ~AliConverter();
+ virtual ~AliConverter();
// interface methods of base class
const char* GetComponentID() {return "TPCEsdConverter";};