]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDspHeader.cxx
new functionality and new class added
[u/mrichter/AliRoot.git] / MUON / AliMUONDspHeader.cxx
index 303920fa5c04d56b65aaf4d843a7afc7fe43b8cc..8de2119a7cac0eea18310bc10545fd3123938870 100644 (file)
@@ -17,7 +17,9 @@
  
 #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.
@@ -26,6 +28,7 @@
 /// and event word (1 for nb of word is odd and 0 if not 
 ///
 /// \author Christian Finck
+//-----------------------------------------------------------------------------
 
 /// \cond CLASSIMP
 ClassImp(AliMUONDspHeader)
@@ -139,3 +142,22 @@ void AliMUONDspHeader::Clear(Option_t* )
   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;
+
+}