]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/MUON/AliHLTMUONChannelsBlockStruct.h
update EMCal EP v2
[u/mrichter/AliRoot.git] / HLT / MUON / AliHLTMUONChannelsBlockStruct.h
index b62fd1818000fbf01d350451c25465c7dd326bf7..eaba97165e6651988575d7c12848066ddd3aedfc 100644 (file)
@@ -3,19 +3,17 @@
 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* $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.
- */
+// $Id$
+
+///
+/// @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>
@@ -32,9 +30,10 @@ struct AliHLTMUONChannelStruct
        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.
-       AliHLTUInt32_t fSignal;      // ADC value of signal.
+       AliHLTUInt16_t fSignal;      // ADC value of signal.
        AliHLTUInt32_t fRawDataWord; // The raw data word as found in the DDL stream.
 };
 
@@ -56,7 +55,7 @@ struct AliHLTMUONChannelsBlockStruct
 /**
  * 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 << (
@@ -78,8 +77,8 @@ inline bool 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;
 }