Ignore:
Timestamp:
07/19/05 11:04:43 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCorrect.cc

    r7178 r7196  
    4949//
    5050MSrcPosCorrect::MSrcPosCorrect(const char *name, const char *title)
    51     : fSrcPosCam(NULL), fSrcPosAnti(NULL)
     51    : fSrcPosCam(NULL), fSrcPosAnti(NULL), fAxis(NULL)
    5252{
    5353    fName  = name  ? name  : "MSrcPosCorrect";
     
    7575
    7676    fSrcPosAnti = (MSrcPosCam*)pList->FindObject("MSrcPosAnti", "MSrcPosCam");
     77
     78    fAxis = (MSrcPosCam*)pList->FindCreateObj("MSrcPosCam", "OpticalAxis");
     79    if (!fAxis)
     80        return kFALSE;
    7781
    7882    return kTRUE;
     
    103107// Performs source position correction in the camera.
    104108// Due to missfocussing a shift of
    105 //    dx=0.048deg and dy=0.032deg
     109//    dx=0.048deg and dy=0.034deg
    106110//  or
    107111//    dx=14.24mm and dy=9.495mm
    108112// is added between run 53832 (excl) and 56161 (excl)
     113//
    109114// See also: Runbook
    110115//
    111 // 2005-05-23 03:33:51:
    112 // We start again to make tests on AMC with Roque lamp and PinDiode Tests.
    113 // At park position, we do a Laser initial isation and a Laser adjustment.
    114 // We discovered that the procedure we used yester day for Roque Lamp
    115 // light source was producing a very non-uniform light
    116 // We did some studies to produce an uniformly illuminated li ght from the
    117 // Roque Lamp Then we moved the telescope to the Roque Lamp position a nd
    118 // did a Laser adjust for  the Roque position. We put the telescope to
    119 // the same shaftencoder values as were used in August to adjust the
    120 // mirrors
    121 // ( 29691 for SE-Az and SE-Zd1 1301 and SE-Zd2 9912 ( someti mes
    122 // oscillating to 9913 ) ) When we looked at the image of the spot on the
    123 // camer a, we saw a clear offset from the centre. Then we calculated this
    124 // offset and put the correct numbers in the AMC code. Then we redid the
    125 // laser adjustment and fou nd the spot to be nicely centred.  Our
    126 // calculations showed that the offset was 0 .048 deg in X direction and
    127 // 0.032 deg in Y direction.
    128 // Good night
     116//    2005-05-23 03:33:51:
     117//    We start again to make tests on AMC with Roque lamp and PinDiode Tests.
     118//    At park position, we do a Laser initial isation and a Laser adjustment.
     119//    We discovered that the procedure we used yester day for Roque Lamp
     120//    light source was producing a very non-uniform light
     121//    We did some studies to produce an uniformly illuminated li ght from
     122//    the Roque Lamp Then we moved the telescope to the Roque Lamp position
     123//    and did a Laser adjust for the Roque position. We put the telescope to
     124//    the same shaftencoder values as were used in August to adjust the
     125//    mirrors
     126//    ( 29691 for SE-Az and SE-Zd1 1301 and SE-Zd2 9912 ( sometimes
     127//    oscillating to 9913 ) ) When we looked at the image of the spot on the
     128//    camer a, we saw a clear offset from the centre. Then we calculated this
     129//    offset and put the correct numbers in the AMC code. Then we redid the
     130//    laser adjustment and fou nd the spot to be nicely centred.  Our
     131//    calculations showed that the offset was 0.048 deg in X direction and
     132//    0.032 deg in Y direction.
     133//    Good night
    129134//
    130135Int_t MSrcPosCorrect::Process()
     
    133138        return kTRUE;
    134139
     140    // FIXME: Implement Culmination correction
     141
    135142    if (fRunNumber<56161 && fRunNumber>53832)
    136143    {
    137         // dx=-0.05deg, dy=0.03deg, d=0.06deg
     144        // dx=-0.048deg, dy=0.034deg, d=0.059deg
    138145        static const TVector2 dxy(-14.24, -9.495);
     146        fAxis->SetXY(dxy);
    139147        fSrcPosCam->Add(dxy);
    140148        if (fSrcPosAnti)
Note: See TracChangeset for help on using the changeset viewer.