6 //* This file is property of and copyright by the *
7 //* ALICE Experiment at CERN, All rights reserved. *
8 //* See cxx source for full Copyright notice *
11 /// @author Matthias Richter
13 /// @brief The control class for HLTOUT data.
17 #include "AliHLTLogging.h"
18 #include "AliHLTModuleAgent.h"
20 class AliHLTOUTHandler;
21 class AliHLTOUTHandlerDesc; // AliHLTModuleAgent.h
23 class AliHLTReconstructor;
27 #define AliHLTOUTInvalidIndex (~(AliHLTUInt32_t)0)
29 typedef vector<AliHLTUInt32_t> AliHLTOUTIndexList;
33 * The control class for HLTOUT data.
34 * The output of the HLT, either from the HLTOUT nodes or simulated output,
35 * is transferred and stored in the HOMER format. The AliHLTOUT class
36 * implements scanning of the HOMER data for all HLTOUT DDL links and
37 * abstracts access to the complete HLTOUT data.
42 /** standard constructor */
44 /** standard destructor */
47 typedef const AliHLTUInt8_t* AliConstExternalBuffer;
50 * Create an AliHLTOUTRawReader instance.
51 * Helper function to transparently access classes from the
54 static AliHLTOUT* New(AliRawReader* pRawReader);
57 * Create an AliHLTOUTDigitReader instance
58 * Helper function to transparently access classes from the
61 static AliHLTOUT* New(TTree* pDigitTree, int event=-1);
64 * Create an AliHLTOUTDigitReader instance
65 * Helper function to transparently access classes from the
68 static AliHLTOUT* New(const char* filename, int event=-1);
71 * Get the global instance.
72 * The global instance is set temporarily by the AliHLTOUTGlobalInstanceGuard
73 * mainly for the sake of data input to an analysis chain. The
74 * AliHLTOUTPublisherComponent objects can access the global instance.
76 static AliHLTOUT* GetGlobalInstance() {return fgGlobalInstance;}
79 * Delete an instance of the HLTOUT.
80 * Helper function to transparently access classes from the
81 * libHLTrec library. Before deleting, the availability of the
84 static void Delete(AliHLTOUT* pInstance);
87 * Locking guard for the AliHLTOUT object.
88 * If the object is locked, the selection of data blocks can not be changed.
90 class AliHLTOUTLockGuard {
93 AliHLTOUTLockGuard(AliHLTOUT* pInstance) : fpInstance(pInstance)
94 {if (fpInstance) fpInstance->SetStatusFlag(kLocked);}
97 {if (fpInstance) fpInstance->ClearStatusFlag(kLocked);}
100 /** standard constructor prohibited */
101 AliHLTOUTLockGuard();
102 /** copy constructor prohibited */
103 AliHLTOUTLockGuard(const AliHLTOUTLockGuard&);
104 /** assignment operator prohibited */
105 AliHLTOUTLockGuard& operator=(const AliHLTOUTLockGuard&);
107 /** the AliHLTOUT instance the guard is locking */
108 AliHLTOUT* fpInstance; //!transient
112 * Guard for handling of global AliHLTOUT instance.
113 * The global HLTOUT instance can be set for certain steps of the
114 * processing. The initial objective is to support input to the
115 * AliHLTOUTPublisherComponent running in a kChain handler.
117 * The Guard restores the original instance when closed.
119 class AliHLTOUTGlobalInstanceGuard {
122 AliHLTOUTGlobalInstanceGuard(AliHLTOUT* pInstance) : fpLastInstance(AliHLTOUT::fgGlobalInstance)
123 {AliHLTOUT::fgGlobalInstance=pInstance;}
125 ~AliHLTOUTGlobalInstanceGuard()
126 {AliHLTOUT::fgGlobalInstance=fpLastInstance;}
129 /** standard constructor prohibited */
130 AliHLTOUTGlobalInstanceGuard();
131 /** copy constructor prohibited */
132 AliHLTOUTGlobalInstanceGuard(const AliHLTOUTGlobalInstanceGuard&);
133 /** assignment operator prohibited */
134 AliHLTOUTGlobalInstanceGuard& operator=(const AliHLTOUTGlobalInstanceGuard&);
136 /** the AliHLTOUT instance the guard is locking */
137 AliHLTOUT* fpLastInstance; //!transient
141 * The HLT OUT Event Header.
142 * Defined between HLT and DAQ.
144 struct AliHLTOUTEventHeader {
145 /**Total length of the data in bytes, including HLT event header, excluding CDH. */
146 AliHLTUInt32_t fLength; //! see above
147 /** version of the header */
148 AliHLTUInt32_t fVersion; //! see above
149 /** High 32 bit word of event id */
150 AliHLTUInt32_t fEventIDHigh; //! see above
151 /** Low 32 bit word of event id */
152 AliHLTUInt32_t fEventIDLow; //! see above
156 /// versions 1 of the HLT header
158 /// versions 2 of the HLT header
163 /// size of HLT decision in data format version 1: 29x4
164 kSizeDecisionVersion1 = 116,
165 /// size of HLT decision in data format version 2: 30x4
166 kSizeDecisionVersion2 = 120
169 // definitions from ALICE internal notes ALICE-INT-2002-010 and
170 // ALICE-INT-2006-XXX
172 /** the 32bit word in the CDH containing the status flags */
173 kCDHStatusWord=4, //! see above
174 /** start of the flags in word fgkCDHStatusWord */
175 kCDHStatusFlagsOffset=12, //! see above
176 /** bit indicating HLT decision in the HLTOUT*/
177 kCDHFlagsHLTDecision=6, //! see above
178 /** bit indicating HLT payload in the HLTOUT*/
179 kCDHFlagsHLTPayload=7 //! see above
182 class AliHLTOUTHandlerListEntry;
186 class AliHLTOUTBlockDescriptor {
188 AliHLTOUTBlockDescriptor(AliHLTComponentDataType dt, AliHLTUInt32_t spec, AliHLTUInt32_t index, AliHLTOUT* pCollection)
189 : fDataType(dt), fSpecification(spec), fIndex(index), fSelected(false), fProcessed(false), fpCollection(pCollection) {};
190 AliHLTOUTBlockDescriptor(const AliHLTOUTBlockDescriptor& src)
191 : fDataType(src.fDataType), fSpecification(src.fSpecification), fIndex(src.fIndex), fSelected(false), fProcessed(false), fpCollection(src.fpCollection) {}
192 AliHLTOUTBlockDescriptor& operator=(const AliHLTOUTBlockDescriptor& src) {
193 if (this==&src) return *this;
194 fDataType=src.fDataType; fSpecification=src.fSpecification; fIndex=src.fIndex; fSelected=false; fProcessed=false; fpCollection=src.fpCollection; return *this;
196 ~AliHLTOUTBlockDescriptor() {}
198 operator AliHLTComponentDataType() const {return fDataType;}
199 operator AliHLTUInt32_t() const {return fSpecification;}
200 int operator==(AliHLTComponentDataType dt) const {return dt==fDataType;}
201 int operator==(AliHLTUInt32_t spec) const {return spec==fSpecification;}
202 int operator==(AliHLTOUT* collection) const {return collection==fpCollection;}
204 AliHLTUInt32_t GetIndex() const {return fIndex;}
205 AliHLTOUT* GetCollection() const {return fpCollection;}
207 bool IsSelected() const {return fSelected;}
208 void Select(bool selected=true) {fSelected=selected;}
209 bool IsProcessed() const {return fProcessed;}
210 void MarkProcessed() {fProcessed=true;}
213 * Get the data buffer
214 * @param [out] pBuffer buffer of the selected data block
215 * @param [out] size size of the selected data block
217 int GetDataBuffer(const AliHLTUInt8_t* &pBuffer, AliHLTUInt32_t& size) {
218 if (fpCollection) return fpCollection->GetDataBuffer(GetIndex(), pBuffer, size);
223 * Get the handler descriptor
225 const AliHLTOUTHandlerListEntry& GetHandlerDesc();
228 void Print(const char* option="") const;
231 /** data type of the block */
232 AliHLTComponentDataType fDataType; //!transient
233 /** data specification of the block */
234 AliHLTUInt32_t fSpecification; //!transient
235 /** index in the data stream */
236 AliHLTUInt32_t fIndex; //!transient
237 /** selection flag */
238 bool fSelected; //!transient
239 /** processed flag */
240 bool fProcessed; //!transient
241 /** the collection */
242 AliHLTOUT* fpCollection; //!transient
245 class AliHLTOUTHandlerListEntry {
247 AliHLTOUTHandlerListEntry(AliHLTOUTHandler* pHandler,
248 AliHLTModuleAgent::AliHLTOUTHandlerDesc& handlerDesc,
249 AliHLTModuleAgent* pAgent,
250 AliHLTUInt32_t index);
252 /** copy constructor for vector handling */
253 AliHLTOUTHandlerListEntry(const AliHLTOUTHandlerListEntry& src);
255 /** assignment operator for vector handling */
256 AliHLTOUTHandlerListEntry& operator=(const AliHLTOUTHandlerListEntry& src);
258 ~AliHLTOUTHandlerListEntry();
260 static const AliHLTOUTHandlerListEntry& VoidHandlerListEntry() {return fgkVoidHandlerListEntry;}
262 operator AliHLTOUTHandler*() const {return fpHandler;}
264 // please note that fpHandlerDesc is really a pointer and is created
265 // in the constructor. Thats why it is dereferenced here. The pointer
266 // type is on purpose, even though it is a bit confusing with the
267 // argument by reference in the AliHLTOUTHandlerListEntry constructor.
268 operator const AliHLTModuleAgent::AliHLTOUTHandlerDesc&() const
269 {return fpHandlerDesc?*fpHandlerDesc:AliHLTModuleAgent::fgkVoidHandlerDesc;}
270 operator AliHLTModuleAgent*() const {return fpAgent;}
273 * Two list entries are considered to be equal if the handlers
276 bool operator==(const AliHLTOUTHandlerListEntry& entry) const;
278 bool operator==(const AliHLTModuleAgent::AliHLTOUTHandlerType handlerType) const;
281 * Compare the handler descriptor of this list entry with another
283 * @return true if both handler and agent match
285 bool operator==(const AliHLTModuleAgent::AliHLTOUTHandlerDesc desc) const;
287 AliHLTUInt32_t operator[](int i) const;
290 * Add a block index to this descriptor.
291 * One descriptor can serve multiple blocks if the agent returns the
292 * same handler for all of the blocks. Instead of creating a new entry
293 * the block index ist just added
295 void AddIndex(AliHLTUInt32_t index);
298 * Add all indices of the descriptor.
300 void AddIndex(const AliHLTOUTHandlerListEntry &desc);
303 * Check if an index is served by this descriptor.
304 * @return true if the index is in the table
306 bool HasIndex(AliHLTUInt32_t index) const;
309 * Invalidate all block indices
311 void InvalidateBlocks() {fBlocks.clear();}
314 * Check whether the entry has valid blocks.
316 bool IsEmpty() {return fBlocks.size()==0;}
319 void Print(const char* option="") const;
322 /** standard constructor prohibited */
323 AliHLTOUTHandlerListEntry();
325 static const AliHLTOUTHandlerListEntry fgkVoidHandlerListEntry; //! initializer
327 /** pointer to the handler */
328 AliHLTOUTHandler* fpHandler; //! transient
330 /** pointer to handler description */
331 AliHLTModuleAgent::AliHLTOUTHandlerDesc* fpHandlerDesc; //! transient
333 /** pointer to module agent */
334 AliHLTModuleAgent* fpAgent; //! transient
336 /** list of block indices */
337 AliHLTOUTIndexList fBlocks; //!transient
340 typedef vector<AliHLTOUTHandlerListEntry> AliHLTOUTHandlerListEntryVector;
341 typedef vector<AliHLTOUTBlockDescriptor> AliHLTOUTBlockDescriptorVector;
342 typedef vector<AliHLTOUT*> AliHLTOUTPVector;
345 * Selection guard for the AliHLTOUT object.
346 * If the object is locked, the selection of data blocks can not be changed.
348 class AliHLTOUTSelectionGuard {
351 AliHLTOUTSelectionGuard(AliHLTOUT* pInstance) : fpInstance(pInstance)
352 {if (fpInstance) fpInstance->SelectDataBlock();}
354 AliHLTOUTSelectionGuard(AliHLTOUT* pInstance, const AliHLTOUTHandlerListEntry* pHandlerDesc) : fpInstance(pInstance)
355 {if (fpInstance) fpInstance->SelectDataBlocks(pHandlerDesc);}
357 ~AliHLTOUTSelectionGuard()
358 {if (fpInstance) fpInstance->DisableBlockSelection();}
361 /** standard constructor prohibited */
362 AliHLTOUTSelectionGuard();
363 /** copy constructor prohibited */
364 AliHLTOUTSelectionGuard(const AliHLTOUTSelectionGuard&);
365 /** assignment operator prohibited */
366 AliHLTOUTSelectionGuard& operator=(const AliHLTOUTSelectionGuard&);
368 /** the AliHLTOUT instance the guard is locking */
369 AliHLTOUT* fpInstance; //!transient
373 * Init for processing.
374 * The HLTOUT is scanned for all available data blocks and the
375 * AliHLTOUTHandler objects for the data blocks are created according
376 * to the module agents (see AliHLTModuleAgent).
381 * Reset and clear all data block descriptors.
382 * @note Since sub-collections are only referred via the block
383 * descriptors, all information on sub-collections is also lost.
384 * Child classes should implement ResetInput in order to cleanup
390 * Get the current event id
392 AliHLTUInt64_t EventId() const {return fCurrentEventId;}
395 * Get number of data blocks in the HLTOUT data
397 int GetNofDataBlocks();
400 * Select the first data block of a certain data type and specification.
401 * The selection criteria can be of kAliHLTAnyDataType and/or
402 * kAliHLTVoidDataSpec in order to be ignored and just match any data block.
404 * The search criteria can be combined with a handler type (e.g. kRawReader)
405 * @param [in] dt data type to match <br>
406 * @param [in] spec data specification to match <br>
407 * @param [in] handlerType type of the handler
408 * @param [in] skipProcessed skip all block marked processed
409 * @return block index: >= 0 if success, -ENOENT if no block found <br>
410 * neg. error code if failed <br>
411 * -EPERM if access denied (object locked)
413 int SelectFirstDataBlock(AliHLTComponentDataType dt=kAliHLTAnyDataType,
414 AliHLTUInt32_t spec=kAliHLTVoidDataSpec,
415 AliHLTModuleAgent::AliHLTOUTHandlerType handlerType=AliHLTModuleAgent::kUnknownOutput,
416 bool skipProcessed=true);
419 * Select the next data block of data type and specification of the previous
420 * call to @ref SelectFirstDataBlock.
421 * @return block index: >= 0 if success, -ENOENT if no block found <br>
422 * neg. error code if failed <br>
423 * -EPERM if access denied (object locked)
425 int SelectNextDataBlock();
428 * Get properties of the selected data block.
429 * @param [out] dt data type of the selected block
430 * @param [out] spec data specification of the selected block
432 int GetDataBlockDescription(AliHLTComponentDataType& dt, AliHLTUInt32_t& spec);
435 * Get handler description of the current data block.
437 const AliHLTOUTHandlerListEntry& GetDataBlockHandlerDesc();
440 * Get handler type of the selected data block.
441 * @return handler type for the selected data block
443 AliHLTModuleAgent::AliHLTOUTHandlerType GetDataBlockHandlerType();
446 * Get the index of the current data block.
447 * @return index, AliHLTOUTInvalidIndex if no block selected
449 AliHLTUInt32_t GetDataBlockIndex();
452 * Get buffer of the selected data block.
453 * Buffer has to be released using ReleaseDataBuffer
454 * @param [out] desc block data descriptor
456 int GetDataBuffer(AliHLTComponentBlockData& desc);
459 * Get buffer of the selected data block.
460 * Buffer has to be released using ReleaseDataBuffer
461 * @param [out] pBuffer buffer of the selected data block
462 * @param [out] size size of the selected data block
464 int GetDataBuffer(const AliHLTUInt8_t* &pBuffer, AliHLTUInt32_t& size);
467 * Release buffer after use.
468 * @param [in] pBuffer buffer of the selected data block
470 int ReleaseDataBuffer(const AliHLTUInt8_t* pBuffer);
473 * Get a TObject from the data buffer
474 * @return TObject pointer if data block is a streamed object
476 TObject* GetDataObject();
479 * Release data object
481 int ReleaseDataObject(TObject* pObject);
484 * Add the current data block to the selection.
485 * Note: enables also the block selection
487 int SelectDataBlock();
490 * Add the all data blocks of a certain handler to the selection.
491 * Note: enables also the block selection
493 int SelectDataBlocks(const AliHLTOUTHandlerListEntry* pHandlerDesc);
496 * Enable the selection of data blocks.
498 int EnableBlockSelection();
501 * Disable the selection of data blocks.
503 int DisableBlockSelection();
506 * Reset the data block selection.
507 * Resets the selection list, none of the blocks is selected.
509 int ResetBlockSelection();
512 * Mark the current block as processed.
514 int MarkDataBlockProcessed();
517 * Mark all data blocks of a certain handler processed.
519 int MarkDataBlocksProcessed(const AliHLTOUTHandlerListEntry* pHandlerDesc);
522 * Add a sub collection to the HLTOUT.
524 int AddSubCollection(AliHLTOUT* pCollection);
527 * Release a previously added sub collection.
529 int ReleaseSubCollection(AliHLTOUT* pCollection);
532 * Get module agent for the selected data block.
534 AliHLTModuleAgent* GetAgent();
537 * Get handler for the selected data block.
539 AliHLTOUTHandler* GetHandler();
542 * Convert data buffer to ESD.
543 * The buffer is supposed to describe a streamed AliESDEvent object.
544 * If no target object is specified, the ESD is written to a file AliHLTdetESDs.root,
545 * where 'det' is derived from the data type origin. Each time the function is invoked
546 * a new event is created. Dummy events are added if the previous events did not contain
548 * The function needs AliRoot and might not be implemented by all AliHLTOUT
550 * a data block of this specification.
551 * @param [in] pBuffer the data buffer
552 * @param [in] size data buffer size
553 * @param [in] dt data type of the block
554 * @param [out] tgtesd optional target
556 virtual int WriteESD(const AliHLTUInt8_t* pBuffer, AliHLTUInt32_t size, AliHLTComponentDataType dt, AliESDEvent* tgtesd=NULL) const;
558 enum AliHLTOUTByteOrder {
559 /** no data block selected */
560 kInvalidByteOrder=-1,
566 enum AliHLTOUTDataType {
576 * Check byte order of selected block
578 AliHLTOUTByteOrder CheckByteOrder();
581 * Check alignment of selected block
583 int CheckAlignment(AliHLTOUT::AliHLTOUTDataType type);
586 * Helper function to byte swap a 64 bit value.
588 static AliHLTUInt64_t ByteSwap64(AliHLTUInt64_t src);
591 * Helper function to byte swap a 32 bit value.
593 static AliHLTUInt32_t ByteSwap32(AliHLTUInt32_t src);
596 * Insert a handler item.
597 * The current list entries are checked if the handler is already in
598 * the list. It is added if not in the list, otherwise the block index
599 * is added to the existing entry.
600 * @param list the handler list
601 * @param entry handler list entry
602 * @return 0 if added, EEXIST (non negative!) if merged with existing entry <br>
603 * neg. error code if failed
605 static int InsertHandler(AliHLTOUTHandlerListEntryVector& list, const AliHLTOUTHandlerListEntry &entry);
608 * Insert all handlers of the specified type to the list.
610 int FillHandlerList(AliHLTOUTHandlerListEntryVector& list, AliHLTModuleAgent::AliHLTOUTHandlerType handlerType);
613 * Remove empty items which have a duplicate in the list.
615 static int RemoveEmptyDuplicateHandlers(AliHLTOUTHandlerListEntryVector& list);
618 * Find an entry of a certain description in the list.
619 * @return index of the entry if found, -ENOENT if not found
621 static int FindHandler(AliHLTOUTHandlerListEntryVector& list, const AliHLTModuleAgent::AliHLTOUTHandlerDesc desc);
624 * Invalidate all blocks of the handlers in the list
626 static int InvalidateBlocks(AliHLTOUTHandlerListEntryVector& list);
630 * Add a block descriptor.
631 * This is done by the child classes generating the index. The AliHLTOUT
632 * object must be locked for index generation.
633 * @param desc the block descriptor
634 * @return 0 if success, -EPERM if access denied
636 int AddBlockDescriptor(const AliHLTOUTBlockDescriptor desc);
639 * Set the event id, only for child classes
641 void SetEventId(AliHLTUInt64_t id);
644 * Print output or suppress.
646 bool BeVerbose() const {return fbVerbose;}
651 void SwitchVerbosity(bool verbose) {fbVerbose=verbose;}
654 void Print(const char* option="") const;
657 /** copy constructor prohibited */
658 AliHLTOUT(const AliHLTOUT&);
659 /** assignment operator prohibited */
660 AliHLTOUT& operator=(const AliHLTOUT&);
663 * Internal status flags
666 /** the HLTOUT object is locked with the current data block selection */
668 /** childs can add block descriptors */
670 /** user of the data block has checked the byte order */
671 kByteOrderChecked = 0x4,
672 /** warning on byte order missmatch has been printed */
673 kByteOrderWarning = 0x8,
674 /** user of the data block has checked the alignment */
675 kAlignmentChecked = 0x10,
676 /** warning on alignment missmatch has been printed */
677 kAlignmentWarning = 0x20,
678 /** enable block selection list */
679 kBlockSelection = 0x40,
680 /** skip processed data blocks */
681 kSkipProcessed = 0x80,
682 /** marked as sub collection */
683 kIsSubCollection = 0x100
687 * Generate the index of the HLTOUT data.
688 * Must be implemented by the child classes.
690 virtual int GenerateIndex()=0;
693 * Find AliHLTOUTHandler objects for the data blocks.
694 * The available AliHLTModuleAgents are probed whether they provide
695 * handlers for data processing.
700 * Cleanup and reset the data input.
702 virtual int ResetInput();
705 * Get the data buffer
706 * @param [in] index index of the block
707 * @param [out] pBuffer buffer of the selected data block
708 * @param [out] size size of the selected data block
710 virtual int GetDataBuffer(AliHLTUInt32_t index, const AliHLTUInt8_t* &pBuffer,
711 AliHLTUInt32_t& size)=0;
714 * Check byte order of data block
716 virtual AliHLTOUTByteOrder CheckBlockByteOrder(AliHLTUInt32_t index)=0;
719 * Check alignment of data block
721 virtual int CheckBlockAlignment(AliHLTUInt32_t index, AliHLTOUT::AliHLTOUTDataType type)=0;
724 * Select the data block of data type and specification of the previous
725 * call to @ref SelectFirstDataBlock. Core function of @ref SelectFirstDataBlock
726 * and @ref SelectNextDataBlock, starts to find a block at the current list
729 * The data block is searched from the conditions of fSearchDataType,
730 * fSearchSpecification, fSearchHandlerType and the selection list.
732 * @return identifier >=0 if success, neg. error code if failed <br>
733 * -ENOENT if no block found <br>
734 * -EPERM if access denied (object locked)
736 int FindAndSelectDataBlock();
740 * @param flag flag to set
741 * @return current status flags
743 unsigned int SetStatusFlag(unsigned int flag) {return fFlags|=flag;}
747 * @param flag flag to clear
748 * @return current status flags
750 unsigned int ClearStatusFlag(unsigned int flag) {return fFlags&=~flag;}
754 * @param flag flag to check
755 * @return 1 if flag is set
757 int CheckStatusFlag(unsigned int flag) const {return (fFlags&flag)==flag;}
760 * Find handler description for a certain block index.
762 const AliHLTOUTHandlerListEntry& FindHandlerDesc(AliHLTUInt32_t blockIndex);
765 * Set the RawReader as parameter.
766 * The function is for internal use only in conjunction with the
769 virtual void SetParam(AliRawReader* pRawReader);
772 * Set the RunLoader as parameter
773 * The function is for internal use only in conjunction with the
776 virtual void SetParam(TTree* pDigitTree, int event=-1);
779 * Set name of the digit file as parameter
780 * The function is for internal use only in conjunction with the
783 virtual void SetParam(const char* filename, int event=-1);
785 /** data type for the current block search, set from @ref SelectFirstDataBlock */
786 AliHLTComponentDataType fSearchDataType; //!transient
788 /** data specification for the current block search */
789 AliHLTUInt32_t fSearchSpecification; //!transient
791 /** handler type for the current block search */
792 AliHLTModuleAgent::AliHLTOUTHandlerType fSearchHandlerType; // !transient
794 /** instance flags: locked, collecting, ... */
795 unsigned int fFlags; //!transient
797 /** list of block descriptors */
798 AliHLTOUTBlockDescriptorVector fBlockDescList; //!transient
800 /** current position in the list */
801 unsigned int fCurrent; //!transient
803 /** data buffer under processing */
804 AliConstExternalBuffer fpBuffer; //!transient
806 /** list of AliHLTOUTHandlers */
807 AliHLTOUTHandlerListEntryVector fDataHandlers; // !transient
809 /** verbose or silent output */
810 bool fbVerbose; //!transient
812 /** gobal instance set for certain steps of the analysis */
813 static AliHLTOUT* fgGlobalInstance; //! transient
815 /** logging methods */
816 AliHLTLogging fLog; //! transient
818 /** current buffer converted to a TObject */
819 TObject* fpDataObject; //!
820 AliConstExternalBuffer fpObjectBuffer; //!
821 AliHLTUInt32_t fObjectBufferSize; //!
823 /** current event id */
824 AliHLTUInt64_t fCurrentEventId; //!
826 ClassDef(AliHLTOUT, 6)