Changeset 595 for trunk/MagicSoft/Mars/manalysis/MNphotEvent.cc
- Timestamp:
- 02/02/01 11:28:36 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MNphotEvent.cc
r594 r595 6 6 7 7 #include "MCamGeom.h" 8 //#include "MCamDisplay.h"8 #include "MCamDisplay.h" 9 9 #include "MHexagon.h" 10 10 … … 62 62 // 63 63 64 // MCamDisplay disp(fType) ;64 MCamDisplay *disp = new MCamDisplay(fType) ; 65 65 66 // for (Int_t i=0; i<fNbPixels; i++) 67 // { 68 // disp.SetPixelColor( ((MNphotPix *) fPixels->At(i))->GetPixId(), 69 // ((MNphotPix *) fPixels->At(i))->GetPhotons()) ; 70 // } 71 // disp.Draw() ; 66 disp->Draw( this ) ; 72 67 68 // disp->Draw() ; 69 73 70 } 74 71 … … 106 103 } 107 104 105 Int_t MNphotEvent::GetPixelId(Int_t i ) 106 { 107 return ( ( (MNphotPix *) fPixels->At(i))->GetPixId() ) ; 108 } 109 110 Float_t MNphotEvent::GetPhotons(Int_t i ) 111 { 112 return ( ( (MNphotPix *) fPixels->At(i))->GetPhotons() ) ; 113 }
Note:
See TracChangeset
for help on using the changeset viewer.