]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCDigitReader.cxx
removing unnecessary include files, updating description
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCDigitReader.cxx
index a061621bf54076aaed12a8d4efc0dbca46694f97..de3ef49930975f976220f975e180195e07bfe67b 100644 (file)
@@ -87,7 +87,7 @@ void AliHLTTPCDigitReader::SetUnsorted(Bool_t /*unsorted*/)
   HLTWarning("common sorting functionality has not yet been implemented");
 }
 
-bool AliHLTTPCDigitReader::Next(int type)
+bool AliHLTTPCDigitReader::Next(int /*type*/)
 {
   // see header file for class documentation
   if (!CheckFlag(kLocked)) return NextSignal();
@@ -107,21 +107,36 @@ bool AliHLTTPCDigitReader::Next(int type)
 bool AliHLTTPCDigitReader::NextChannel()
 {
   // see header file for class documentation
-  PrintMissingFastAccessWarning();
+  PrintWarningOnce(kWarnMissFastAccess,"\n"
+                  "      !!! This digit reader does not implement the methods for       !!!\n"
+                  "      !!! fast data access on channel/bunch basis. Data is discarded !!!");
   return false;
 }
 
 int AliHLTTPCDigitReader::NextBunch()
 {
   // see header file for class documentation
-  PrintMissingFastAccessWarning();
+  PrintWarningOnce(kWarnMissFastAccess,"\n"
+                  "      !!! This digit reader does not implement the methods for       !!!\n"
+                  "      !!! fast data access on channel/bunch basis. Data is discarded !!!");
   return false;
 }
 
 const UInt_t* AliHLTTPCDigitReader::GetSignals()
 {
   // see header file for class documentation
-  PrintMissingFastAccessWarning();
+  PrintWarningOnce(kWarnMissFastAccess,"\n"
+                  "      !!! This digit reader does not implement the methods for       !!!\n"
+                  "      !!! fast data access on channel/bunch basis. Data is discarded !!!");
+  return 0;
+}
+
+const UShort_t* AliHLTTPCDigitReader::GetSignalsShort()
+{
+  // see header file for class documentation
+  PrintWarningOnce(kWarnMissFastAccess,"\n"
+                  "      !!! This digit reader does not implement the methods for       !!!\n"
+                  "      !!! fast data access on channel/bunch basis. Data is discarded !!!");
   return 0;
 }
 
@@ -176,14 +191,55 @@ int AliHLTTPCDigitReader::RewindToPrevChannel()
 int AliHLTTPCDigitReader::GetBunchSize()
 {
   // see header file for class documentation
-  PrintMissingFastAccessWarning();
+  PrintWarningOnce(kWarnMissFastAccess,"\n"
+                  "      !!! This digit reader does not implement the methods for       !!!\n"
+                  "      !!! fast data access on channel/bunch basis. Data is discarded !!!");
+  return 0;
+}
+
+int AliHLTTPCDigitReader::GetRowOffset() const
+{
+  // see header file for class documentation
+  return 0;
+}
+
+AliHLTUInt32_t AliHLTTPCDigitReader::GetAltroBlockHWaddr() const
+{
+  // see header file for class documentation
+  return 0;
+}
+
+AliHLTUInt32_t AliHLTTPCDigitReader::GetAltroBlockHWaddr(Int_t /*row*/, Int_t /*pad*/) const
+{
+  // see header file for class documentation
+  return 0;
+}
+
+int AliHLTTPCDigitReader::GetRCUTrailerSize()
+{
+  // see header file for class documentation
+  PrintWarningOnce(kWarnMissTrailerGetters,"\n"
+                  "      !!! This digit reader does not implement the Getters       !!!\n"
+                  "      !!! for RCU trailer. Ignoring call.                        !!!");
+  return 0;
+}
+
+bool AliHLTTPCDigitReader::GetRCUTrailerData(UChar_t*& trData)
+{
+  // see header file for class documentation
+  PrintWarningOnce(kWarnMissTrailerGetters,"\n"
+                  "      !!! This digit reader does not implement the Getters       !!!\n"
+                  "      !!! for RCU trailer. Ignoring call.                        !!!");
+  if (trData) trData=NULL;
   return 0;
 }
 
-void AliHLTTPCDigitReader::PrintMissingFastAccessWarning()
+
+void AliHLTTPCDigitReader::PrintWarningOnce(int type, const char* message)
 {
   // see header file for class documentation
-  if (CheckFlag(kWarnMissFastAccess)) return;
-  SetFlag(kWarnMissFastAccess);
-  HLTWarning("This digit reader does not implement the metghods for fast data access on channel/bunch basis. Data is discarded");
+  if (CheckFlag(type)) return;
+  SetFlag(type);
+  HLTWarning(message);
 }
+