Changeset 7342 for trunk/MagicSoft/Mars/mgeom
- Timestamp:
- 09/06/05 11:58:35 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mgeom
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgeom/MGeomCam.cc
r7297 r7342 68 68 // 69 69 // Default Constructor 70 / /70 /* 71 71 MGeomCam::MGeomCam() 72 : fNumPixels(0), fCamDist(0), fConvMm2Deg(0), /*fPixels(1000),*/fMaxRadius(1), fMinRadius(1)72 : fNumPixels(0), fCamDist(0), fConvMm2Deg(0), fMaxRadius(1), fMinRadius(1) 73 73 { 74 74 fName = "MGeomCam"; 75 75 fTitle = "Storage container for a camera geometry"; 76 76 } 77 77 */ 78 78 // -------------------------------------------------------------------------- 79 79 // … … 313 313 TObject *MGeomCam::Clone(const char *newname) const 314 314 { 315 if (IsA()==MGeomCam::Class())315 //if (IsA()==MGeomCam::Class()) 316 316 { 317 317 MGeomCam *cam = new MGeomCam(fNumPixels, fCamDist); -
trunk/MagicSoft/Mars/mgeom/MGeomCam.h
r7298 r7342 43 43 44 44 public: 45 MGeomCam();46 MGeomCam(UInt_t npix , Float_t dist, const char *name=NULL, const char *title=NULL);45 //MGeomCam(); 46 MGeomCam(UInt_t npix=0, Float_t dist=1, const char *name=NULL, const char *title=NULL); 47 47 48 48 virtual TObject *Clone(const char *newname=NULL) const; -
trunk/MagicSoft/Mars/mgeom/MGeomPix.cc
r4826 r7342 76 76 // default constructor 77 77 Set(x, y, r, s, a); 78 SetNeighbors(); 78 79 } 79 80 -
trunk/MagicSoft/Mars/mgeom/MGeomPix.h
r7297 r7342 32 32 33 33 public: 34 MGeomPix(Float_t x=0, Float_t y=0, Float_t d= 0, UInt_t s=0, UInt_t aidx=0);34 MGeomPix(Float_t x=0, Float_t y=0, Float_t d=1, UInt_t s=0, UInt_t aidx=0); 35 35 36 36 void Copy(TObject &obj) const … … 50 50 void Print(Option_t *opt=NULL) const; 51 51 52 void Set(Float_t x, Float_t y, Float_t d , UInt_t s=0, UInt_t aidx=0) { fX=x; fY=y; fD=d; fA=d*d*gsTan60/2; fSector=s; fAidx=aidx; }52 void Set(Float_t x, Float_t y, Float_t d=1, UInt_t s=0, UInt_t aidx=0) { fX=x; fY=y; fD=d; fA=d*d*gsTan60/2; fSector=s; fAidx=aidx; } 53 53 54 54 void SetNeighbors(Short_t i0=-1, Short_t i1=-1, Short_t i2=-1,
Note:
See TracChangeset
for help on using the changeset viewer.