Changeset 9226 for trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.cc
- Timestamp:
- 01/17/09 14:52:43 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.cc
r8565 r9226 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MPedestalSubtractedEvt.cc,v 1. 6 2007-06-16 22:08:00tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MPedestalSubtractedEvt.cc,v 1.7 2009-01-17 14:52:41 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 32 32 // 33 33 ///////////////////////////////////////////////////////////////////////////// 34 35 34 #include "MPedestalSubtractedEvt.h" 35 36 #include "MLogManip.h" 36 37 37 38 ClassImp(MPedestalSubtractedEvt); … … 185 186 } 186 187 188 void 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 187 212 /* 188 213 #include <TSpline.h>
Note:
See TracChangeset
for help on using the changeset viewer.