Changeset 976 for trunk/MagicSoft/Mars/mgui
- Timestamp:
- 10/23/01 15:55:12 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/mgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
r974 r976 12 12 #include "MGeomCam.h" 13 13 14 #include "MCerPhotPix.h" 14 15 #include "MCerPhotEvt.h" 15 16 … … 85 86 delete fLegend; 86 87 delete fLegText; 88 } 89 90 inline void MCamDisplay::SetPixColor(const MCerPhotPix &pix) 91 { 92 (*this)[pix.GetPixId()].SetFillColor(GetColor(pix.GetNumPhotons())); 87 93 } 88 94 -
trunk/MagicSoft/Mars/mgui/MCamDisplay.h
r974 r976 4 4 #ifndef MAGIC_H 5 5 #include "MAGIC.h" 6 #endif7 #ifndef MHEXAGON_H8 #include "MHexagon.h"9 #endif10 #ifndef MCERPHOTPIX_H11 #include "MCerPhotPix.h"12 #endif13 #ifndef MCERPHOTEVT_H14 #include "MCerPhotEvt.h"15 6 #endif 16 7 #ifndef ROOT_TClonesArray … … 23 14 class TClonesArray; 24 15 16 class MGeomCam; 17 class MHexagon; 25 18 class MCerPhotEvt; 26 class M GeomCam;19 class MCerPhotPix; 27 20 28 21 class MCamDisplay : public TObject … … 47 40 TText *GetText(Int_t i) { return (TText*)fLegText->At(i); } 48 41 49 void SetPixColor(const MCerPhotPix &pix) 50 { 51 (*this)[pix.GetPixId()].SetFillColor( GetColor(pix.GetNumPhotons())); 52 } 42 void SetPixColor(const MCerPhotPix &pix); 53 43 54 44 MHexagon &operator[](int i) { return *((MHexagon*)fPixels->At(i)); }
Note:
See TracChangeset
for help on using the changeset viewer.