Changeset 9226 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 01/17/09 14:52:43 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mpedestal
- Files:
-
- 2 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> -
trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.h
r8571 r9226 20 20 { 21 21 private: 22 MArrayF fSamples; // list of all samples with pedestal subtracted23 MArrayS fSamplesRaw; // list of all samples (raw)22 MArrayF fSamples; // list of all samples with pedestal subtracted 23 MArrayS fSamplesRaw; // list of all samples (raw) 24 24 25 UInt_t fNumSamples; // number of samples per pixel26 UInt_t fNumPixels; // number of pixels25 UInt_t fNumSamples; // number of samples per pixel 26 UInt_t fNumPixels; // number of pixels 27 27 28 28 public: … … 114 114 } 115 115 116 void Print(Option_t *o="") const; 117 116 118 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const { return kTRUE; } 117 119 void DrawPixelContent(Int_t num) const { }
Note:
See TracChangeset
for help on using the changeset viewer.