* provided "as is" without express or implied warranty. *
**************************************************************************/
-/* $Id$ */
+// $Id$
/**
* @file AliHLTMUONDataBlockWriter.h
* @author Artur Szostak <artursz@iafrica.com>
- * @date
+ * @date 19 May 2007
* @brief Definition of a writer class for internal dimuon HLT raw data blocks.
*/
#include "AliHLTMUONTriggerRecordsBlockStruct.h"
#include "AliHLTMUONTrigRecsDebugBlockStruct.h"
-#include "AliHLTMUONTriggerChannelsBlockStruct.h"
#include "AliHLTMUONRecHitsBlockStruct.h"
#include "AliHLTMUONClustersBlockStruct.h"
#include "AliHLTMUONChannelsBlockStruct.h"
#include "AliHLTMUONMansoTracksBlockStruct.h"
#include "AliHLTMUONMansoCandidatesBlockStruct.h"
+#include "AliHLTMUONTracksBlockStruct.h"
#include "AliHLTMUONSinglesDecisionBlockStruct.h"
#include "AliHLTMUONPairsDecisionBlockStruct.h"
* variable 'size'. The data block is of type 'block_type', the data block entries
* are of type 'entries_type' and the data block type code is 'type_code'.
* The data block can be written in the following way:
- *
+ * \code
* void* buffer = somebuffer;
* AliHLTUInt32_t size = somebuffer_size;
*
* // fill the new entry...
* entry.somefield = somevalue;
* }
- *
+ * \endcode
* The slightly slower but safer method is to do the following:
- *
+ * \code
* AliHLTMUONDataBlockWriter<block_type, entries_type, type_code>
* block(buffer, size);
* if (not block.InitCommonHeader())
* // fill the new entry...
* entry->somefield = somevalue;
* }
+ * \endcode
*/
template <
class DataBlockType,
kTrigRecsDebugDataBlock
> AliHLTMUONTrigRecsDebugBlockWriter;
-typedef AliHLTMUONDataBlockWriter<
- AliHLTMUONTriggerChannelsBlockStruct,
- AliHLTMUONTriggerChannelStruct,
- kTriggerChannelsDataBlock
- > AliHLTMUONTriggerChannelsBlockWriter;
-
typedef AliHLTMUONDataBlockWriter<
AliHLTMUONRecHitsBlockStruct,
AliHLTMUONRecHitStruct,
AliHLTMUONMansoCandidateStruct,
kMansoCandidatesDataBlock
> AliHLTMUONMansoCandidatesBlockWriter;
+
+typedef AliHLTMUONDataBlockWriter<
+ AliHLTMUONTracksBlockStruct,
+ AliHLTMUONTrackStruct,
+ kTracksDataBlock
+ > AliHLTMUONTracksBlockWriter;
typedef AliHLTMUONDataBlockWriter<
AliHLTMUONSinglesDecisionBlockStruct,