-#ifndef ALIHLTMUONRECHITSDEBUGBLOCKSTRUCT_H
-#define ALIHLTMUONRECHITSDEBUGBLOCKSTRUCT_H
+#ifndef ALIHLTMUONCHANNELSBLOCKSTRUCT_H
+#define ALIHLTMUONCHANNELSBLOCKSTRUCT_H
/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/* $Id$ */
+// $Id$
-/**
- * @file AliHLTMUONChannelsBlockStruct.h
- * @author Artur Szostak <artursz@iafrica.com>
- * @date
- * @brief Definition of internal dimuon HLT block structure containing
- * debugging information about channels that belong to reconstructed
- * hit clusters.
- *
- * The structures are defined with C linkage since C generally gives us more
- * binary compatibility between compilers.
- */
+///
+/// @file AliHLTMUONChannelsBlockStruct.h
+/// @author Artur Szostak <artursz@iafrica.com>
+/// @date 18 May 2007
+/// @brief Definition of internal dHLT channels block structure corresponding to clusters.
+///
+/// The structures are defined with C linkage since C generally gives us more
+/// binary compatibility between compilers.
+///
#include "AliHLTMUONDataTypes.h"
#include <ostream>
*/
struct AliHLTMUONChannelStruct
{
- AliHLTUInt32_t fClusterId; // ID corresponding to the cluster this
- // channel is part of.
+ AliHLTInt32_t fClusterId; // ID corresponding to the cluster this
+ // channel is part of. -1 == invalid.
+ AliHLTUInt16_t fBusPatch; // Bus patch to which this is connected.
AliHLTUInt16_t fManu; // The MANU address on electronics.
AliHLTUInt16_t fChannelAddress; // The channel address on electronics.
AliHLTUInt16_t fSignal; // ADC value of signal.
{
AliHLTMUONDataBlockHeader fHeader; // Common data block header
- // Array of trigger records.
- AliHLTMUONChannelStruct fChannel[/*fHeader.fNrecords*/];
+ // Array of cluster channels/pads.
+ //AliHLTMUONChannelStruct fChannel[/*fHeader.fNrecords*/];
};
} // extern "C"
/**
* Stream operator for usage with std::ostream classes which prints the
* AliHLTMUONChannelStruct in the following format:
- * {fClusterId = xx, fManu = yy, fChannelAddress = zz, fSignal = ww,
+ * {fClusterId = xx, fBusPatch = yy, fManu = zz, fChannelAddress = uu, fSignal = ww,
* fRawDataWord = 0xXXXXXXXX}
*/
std::ostream& operator << (
const AliHLTMUONChannelStruct& b
)
{
- return a.fClusterId == b.fClusterId and a.fManu == b.fManu and
- a.fChannelAddress == b.fChannelAddress and
+ return a.fClusterId == b.fClusterId and a.fBusPatch == b.fBusPatch and
+ a.fManu == b.fManu and a.fChannelAddress == b.fChannelAddress and
a.fSignal == b.fSignal and a.fRawDataWord == b.fRawDataWord;
}
return not operator == (a, b);
}
-#endif // ALIHLTMUONRECHITSDEBUGBLOCKSTRUCT_H
+#endif // ALIHLTMUONCHANNELSBLOCKSTRUCT_H