Ignore:
Timestamp:
09/06/05 11:58:35 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mgeom
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgeom/MGeomCam.cc

    r7297 r7342  
    6868//
    6969// Default Constructor
    70 //
     70/*
    7171MGeomCam::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)
    7373{
    7474    fName  = "MGeomCam";
    7575    fTitle = "Storage container for a camera geometry";
    7676}
    77 
     77*/
    7878// --------------------------------------------------------------------------
    7979//
     
    313313TObject *MGeomCam::Clone(const char *newname) const
    314314{
    315     if (IsA()==MGeomCam::Class())
     315    //if (IsA()==MGeomCam::Class())
    316316    {
    317317        MGeomCam *cam = new MGeomCam(fNumPixels, fCamDist);
  • trunk/MagicSoft/Mars/mgeom/MGeomCam.h

    r7298 r7342  
    4343
    4444public:
    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);
    4747
    4848    virtual TObject *Clone(const char *newname=NULL) const;
  • trunk/MagicSoft/Mars/mgeom/MGeomPix.cc

    r4826 r7342  
    7676    //  default constructor
    7777    Set(x, y, r, s, a);
     78    SetNeighbors();
    7879}
    7980
  • trunk/MagicSoft/Mars/mgeom/MGeomPix.h

    r7297 r7342  
    3232
    3333public:
    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);
    3535
    3636    void Copy(TObject &obj) const
     
    5050    void Print(Option_t *opt=NULL) const;
    5151
    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; }
    5353
    5454    void SetNeighbors(Short_t i0=-1, Short_t i1=-1, Short_t i2=-1,
Note: See TracChangeset for help on using the changeset viewer.