Ignore:
Timestamp:
10/02/01 14:46:56 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mdatacheck/MDumpEvtHeader.cc

    r956 r959  
    2424\* ======================================================================== */
    2525
     26//////////////////////////////////////////////////////////////////////////////
     27//
     28//  MDumpEvtHeader
     29//
     30//  Print out some event header information to the screen. This maybe useful
     31//  if you are not sure what the events in the file conatins or you
     32//  want to check for the contents.
     33//
     34//  Input Containers:
     35//   MRawEvtHeader, MRawEvtData
     36//
     37//  Output Containers:
     38//   -/-
     39//
     40//////////////////////////////////////////////////////////////////////////////
     41
    2642#include "MDumpEvtHeader.h"
    2743
     
    3349#include "MRawEvtPixelIter.h"
    3450
    35 ClassImp(MDumpEvtHeader)
     51ClassImp(MDumpEvtHeader);
    3652
     53// --------------------------------------------------------------------------
     54//
     55// Preprocessing of class. Check for the two container which should
     56// get printed by the Process-function: MRawEvtHeader and MRawEvtData.
     57// If one of the two doesn't exist (input containers) stop processing of
     58// data.
     59//
    3760Bool_t MDumpEvtHeader::PreProcess (MParList *pList)
    3861{
     
    5477}
    5578
     79// --------------------------------------------------------------------------
     80//
     81// Print out information of the actual event (header) and print the
     82// pixel ID's of all pixels in this event.
     83//
    5684Bool_t MDumpEvtHeader::Process()
    5785{
    58   fRawEvtHeader->Print();
     86    fRawEvtHeader->Print();
    5987
    60   MRawEvtPixelIter pixel(fRawEvtData);
     88    MRawEvtPixelIter pixel(fRawEvtData);
    6189
    62   while (pixel.Next())
    63       *fLog << " " << pixel.GetPixelId();
     90    while (pixel.Next())
     91        *fLog << " " << pixel.GetPixelId();
    6492
    65   *fLog << endl;
    66  
    67   return kTRUE;
    68 } 
     93    *fLog << endl;
     94
     95    return kTRUE;
     96}
Note: See TracChangeset for help on using the changeset viewer.