Changeset 12624 for trunk/Mars
- Timestamp:
- 11/23/11 14:05:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mgeom/MGeomCamFACT.cc
r11916 r12624 97 97 const Double_t diameter = 9.5; 98 98 99 // 99 100 // add the first pixel to the list 100 101 // 101 MGeomPix pix0(0, -0.5*diameter, diameter); 102 pix0.SetPhi(TMath::Pi()/2); 102 const MGeomPix pix0(-0.5*diameter, 0, diameter); 103 103 SetAt(0, pix0); 104 104 … … 115 115 continue; 116 116 117 MGeomPix pix(y*diameter, (x-0.5)*diameter, diameter); 118 pix.SetPhi(TMath::Pi()/2); 117 const MGeomPix pix((x-0.5)*diameter, -y*diameter, diameter); 119 118 SetAt(cnt++, pix); 120 119 … … 122 121 continue; 123 122 124 MGeomPix pix1( y*diameter, -6.5*diameter, diameter); 125 MGeomPix pix2(-y*diameter, -6.5*diameter, diameter); 126 pix1.SetPhi(TMath::Pi()/2); 127 pix2.SetPhi(TMath::Pi()/2); 123 const MGeomPix pix1(-6.5*diameter, -y*diameter, diameter); 124 const MGeomPix pix2(-6.5*diameter, y*diameter, diameter); 128 125 SetAt(1438, pix1); 129 126 SetAt(1439, pix2);
Note:
See TracChangeset
for help on using the changeset viewer.