Changeset 11515 for trunk/Mars


Ignore:
Timestamp:
07/21/11 12:40:51 (13 years ago)
Author:
tbretz
Message:
Added special pixel 1438 and 1439.
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r11491 r11515  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2011/07/21 Thomas Bretz
     22
     23   * mgeom/MGeomCamFACT.cc:
     24     - added special pixels 1438/1439
     25
     26
    2027
    2128 2011/07/20 Thomas Bretz
  • trunk/Mars/mgeom/MGeomCamFACT.cc

    r9900 r11515  
    4444//
    4545MGeomCamFACT::MGeomCamFACT(const char *name)
    46     : MGeomCam(1438, 4.90, name, "Geometry information of the final FACT Camera")
     46    : MGeomCam(1440, 4.90, name, "Geometry information of the final FACT Camera")
    4747{
    4848    CreateCam();
     
    5353//
    5454MGeomCamFACT::MGeomCamFACT(Double_t dist, const char *name)
    55     : MGeomCam(1438, dist, name, "Geometry information of the final FACT Camera")
     55    : MGeomCam(1440, dist, name, "Geometry information of the final FACT Camera")
    5656{
    5757    CreateCam();
     
    8282// --------------------------------------------------------------------------
    8383//
     84#include <iostream>
     85#include <iomanip>
    8486void MGeomCamFACT::CreateCam()
    8587{
     
    118120                pix.SetPhi(TMath::Pi()/2);
    119121                SetAt(cnt++, pix);
     122
     123                if (cnt!=1416)
     124                    continue;
     125
     126                MGeomPix pix1( y*diameter, -6.5*diameter, diameter);
     127                MGeomPix pix2(-y*diameter, -6.5*diameter, diameter);
     128                pix1.SetPhi(TMath::Pi()/2);
     129                pix2.SetPhi(TMath::Pi()/2);
     130                SetAt(1438, pix1);
     131                SetAt(1439, pix2);
    120132            }
    121133        }
Note: See TracChangeset for help on using the changeset viewer.