Changeset 977
- Timestamp:
- 10/23/01 15:55:55 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHillas.cc
r961 r977 44 44 #include <TEllipse.h> 45 45 46 #include "MGeomPix.h" 47 #include "MGeomCam.h" 48 49 #include "MCerPhotPix.h" 46 50 #include "MCerPhotEvt.h" 47 #include "MCerPhotPix.h"48 #include "MGeomCam.h"49 51 50 52 #include "MLog.h" -
trunk/MagicSoft/Mars/manalysis/MImgCleanStd.cc
r961 r977 49 49 50 50 #include "MParList.h" 51 #include "MGeomPix.h" 51 52 #include "MGeomCam.h" 52 53 #include "MCerPhotPix.h" -
trunk/MagicSoft/Mars/mgui/MCamDisplay.h
r976 r977 12 12 class TText; 13 13 class TVirtualPad; 14 class TClonesArray;15 14 16 15 class MGeomCam; -
trunk/MagicSoft/Mars/mgui/MGeomCam.cc
r974 r977 36 36 #include "MGeomCam.h" 37 37 38 #include <TObjArray.h> 39 38 40 #include "MLog.h" 41 #include "MGeomPix.h" 39 42 #include "MHexagon.h" 40 43 … … 63 66 } 64 67 68 // -------------------------------------------------------------------------- 69 // 70 // Destructor delete the pixel array with all pixels 71 // 72 MGeomCam::~MGeomCam() 73 { 74 delete fPixels; 75 } 76 77 // -------------------------------------------------------------------------- 78 // 79 // Return the i-th pixel object 80 // 81 inline MGeomPix &MGeomCam::operator[](Int_t i) 82 { 83 return *(MGeomPix*)fPixels->At(i); 84 } 85 86 // -------------------------------------------------------------------------- 87 // 88 // Return the i-th pixel object 89 // 90 inline MGeomPix &MGeomCam::operator[](Int_t i) const 91 { 92 return *(MGeomPix*)fPixels->At(i); 93 } 94 95 // -------------------------------------------------------------------------- 96 // 97 // Calculate the maximum radius of the camera. This is ment for GUI layout. 98 // 65 99 void MGeomCam::CalcMaxRadius() 66 100 { -
trunk/MagicSoft/Mars/mgui/MGeomCam.h
r975 r977 5 5 #include "MAGIC.h" 6 6 #endif 7 #ifndef ROOT_TObjArray8 #include <TObjArray.h>9 #endif10 7 #ifndef MPARCONTAINER_H 11 8 #include "MParContainer.h" 12 9 #endif 13 #ifndef MGEOMPIX_H 14 #include "MGeomPix.h" 15 #endif 10 11 class MGeomPix; 12 class TObjArray; 16 13 17 14 class MGeomCam : public MParContainer … … 30 27 MGeomCam(UInt_t npix, const char *name=NULL, const char *title=NULL); 31 28 32 virtual ~MGeomCam() { delete fPixels; }29 virtual ~MGeomCam(); 33 30 34 31 UInt_t GetNumPixels() const { return fNumPixels; } 35 32 Float_t GetMaxRadius() const { return fMaxRadius; } 36 33 37 MGeomPix &operator[](Int_t i) { return *(MGeomPix*)fPixels->At(i); }38 MGeomPix &operator[](Int_t i) const { return *(MGeomPix*)fPixels->At(i); }34 MGeomPix &operator[](Int_t i); 35 MGeomPix &operator[](Int_t i) const; 39 36 40 37 virtual void Print(Option_t *opt=NULL); -
trunk/MagicSoft/Mars/mgui/MGeomCamCT1.cc
r975 r977 38 38 39 39 #include <math.h> // floor 40 40 41 #include "TCanvas.h" 41 42 42 43 #include "MLog.h" 44 #include "MGeomPix.h" 43 45 44 46 ClassImp(MGeomCamCT1); -
trunk/MagicSoft/Mars/mgui/MGeomCamMagic.cc
r975 r977 38 38 39 39 #include "MLog.h" 40 #include "MGeomPix.h" 40 41 41 42 ClassImp(MGeomCamMagic)
Note:
See TracChangeset
for help on using the changeset viewer.