#include "AliMUONDspHeader.h"
#include "AliMUONBusStruct.h"
+#include <Riostream.h>
+//-----------------------------------------------------------------------------
/// \class AliMUONDspHeader
/// DSP structure for tracker raw data.
/// Each block contains at most 5 Dsp structures.
/// and event word (1 for nb of word is odd and 0 if not
///
/// \author Christian Finck
+//-----------------------------------------------------------------------------
+using std::cout;
+using std::endl;
/// \cond CLASSIMP
ClassImp(AliMUONDspHeader)
/// \endcond
const UInt_t AliMUONDspHeader::fgkDefaultDataKey = 0xF000000F;
const UInt_t AliMUONDspHeader::fgkDefaultPaddingWord = 0xBEEFFACE;
+//___________________________________________
+AliMUONDspHeader::AliMUONDspHeader(TRootIOCtor* /*dummy*/)
+: TObject(),
+fDataKey(0),
+fTotalLength(0),
+fLength(0),
+fDspId(0),
+fBlkL1ATrigger(0),
+fMiniEventId(0),
+fL1ATrigger(0),
+fL1RTrigger(0),
+fPaddingWord(0),
+fErrorWord(0),
+fBusPatchArray(0x0)
+{
+ ///
+ ///ctor
+ ///
+
+}
+
//___________________________________________
AliMUONDspHeader::AliMUONDspHeader()
: TObject(),
fBusPatchArray->Clear("C");
}
+
+//___________________________________________
+void AliMUONDspHeader::Print(Option_t* /*opt*/) const
+{
+ /// print out
+
+ cout << "FRT info" << endl;
+ cout << "DataKey: " << fDataKey << endl;
+ cout << "TotalLength: " << fTotalLength << endl;
+ cout << "Length : " << fLength << endl;
+ cout << "DspId: " << fDspId << endl;
+ cout << "BlkL1ATrigger: " << fBlkL1ATrigger << endl;
+ cout << "MiniEventId: " << fMiniEventId << endl;
+ cout << "L1ATrigger: " << fL1ATrigger << endl;
+ cout << "L1RTrigger: " << fL1RTrigger << endl;
+ cout << "PaddingWord: " << fPaddingWord << endl;
+ cout << "ErrorWord: " << fErrorWord << endl;
+
+}