Ignore:
Timestamp:
01/17/09 14:52:43 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.cc

    r8565 r9226  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MPedestalSubtractedEvt.cc,v 1.6 2007-06-16 22:08:00 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MPedestalSubtractedEvt.cc,v 1.7 2009-01-17 14:52:41 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    3232//
    3333/////////////////////////////////////////////////////////////////////////////
    34 
    3534#include "MPedestalSubtractedEvt.h"
     35
     36#include "MLogManip.h"
    3637
    3738ClassImp(MPedestalSubtractedEvt);
     
    185186}
    186187
     188void MPedestalSubtractedEvt::Print(Option_t *o) const
     189{
     190    *fLog << all << GetDescriptor() << endl;
     191    *fLog << " Num Pixels:  " << fNumPixels << " (" << fNumSamples << " samples)" << endl;
     192    *fLog << " Samples raw:" << hex << endl;;
     193    for (UInt_t idx=0; idx<fNumPixels; idx++)
     194    {
     195        *fLog << setw(4) << dec << idx << hex << ":";
     196        for (UInt_t i=0; i<fNumSamples; i++)
     197            *fLog << " " << fSamplesRaw[idx*fNumSamples+i];
     198        *fLog << endl;
     199    }
     200    *fLog << dec << endl;
     201    *fLog << " Samples:" << endl;;
     202    for (UInt_t idx=0; idx<fNumPixels; idx++)
     203    {
     204        *fLog << setw(4) << idx << ":";
     205        for (UInt_t i=0; i<fNumSamples; i++)
     206            *fLog << " " << fSamples[idx*fNumSamples+i];
     207        *fLog << endl;
     208    }
     209    *fLog << endl;
     210}
     211
    187212/*
    188213#include <TSpline.h>
Note: See TracChangeset for help on using the changeset viewer.