]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDspHeader.cxx
PWGPP-3, PWGPP-4, ATO-20, ATO-71 - Extended test to check integrity AliAnalysistask...
[u/mrichter/AliRoot.git] / MUON / AliMUONDspHeader.cxx
index 303920fa5c04d56b65aaf4d843a7afc7fe43b8cc..482542393a8e986ae39db117d78677186fd98bc0 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.
 /// 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
@@ -35,6 +40,27 @@ ClassImp(AliMUONDspHeader)
   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(),
@@ -139,3 +165,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;
+
+}