Index: trunk/MagicSoft/Mars/mraw/MRawFileRead.cc
===================================================================
--- trunk/MagicSoft/Mars/mraw/MRawFileRead.cc	(revision 761)
+++ trunk/MagicSoft/Mars/mraw/MRawFileRead.cc	(revision 762)
@@ -49,5 +49,5 @@
 
 
-/*/  ----------- please don't delete ------------
+/*/  ----------- please don't delete and don't care about (Thomas) ------------
 #define kBUFSZ 1024
 
@@ -79,4 +79,8 @@
 */
 
+// --------------------------------------------------------------------------
+//
+// Default constructor. It tries to open the given file.
+//
 MRawFileRead::MRawFileRead(const char *fname, const char *name, const char *title)
 {
@@ -93,4 +97,8 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// Destructor. Delete input stream.
+//
 MRawFileRead::~MRawFileRead()
 {
@@ -98,4 +106,20 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// The PreProcess of this task checks for the following containers in the
+// list:
+//   MRawRunHeader <output>   if not found it is created
+//   MRawEvtHeader <output>   if not found it is created
+//   MRawEvtData <output>     if not found it is created
+//   MRawCrateArray <output>  if not found it is created
+//   MRawEvtTime <output>     if not found it is created (MTime)
+//
+// If all containers are found or created the run header is read from the
+// binary file and printed.  If the Magic-Number (file identification)
+// doesn't match we stop the eventloop.
+//
+// Now the EvtHeader and EvtData containers are initialized.
+//
 Bool_t MRawFileRead::PreProcess(MParList *pList)
 {
@@ -124,5 +148,5 @@
         return kFALSE;
 
-    fRawEvtTime = (MTime*)pList->FindCreateObj("MRawEvtTime");
+    fRawEvtTime = (MTime*)pList->FindCreateObj("MTime", "MRawEvtTime");
     if (!fRawEvtTime)
         return kTRUE;
@@ -146,4 +170,12 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// The Process reads one event from the binary file:
+//  - The event header is read
+//  - the run header is read
+//  - all crate information is read
+//  - the raw data information of one event is read
+//
 Bool_t MRawFileRead::Process()
 {
