Changeset 9329 for trunk/MagicSoft


Ignore:
Timestamp:
02/12/09 20:14:44 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9328 r9329  
    7171     - removed CamShadow container
    7272     - search Reflector instead of MReflector
     73
     74   * Makefile:
     75     - removed mreflector
     76
     77   * mcalib/MCalibrationPatternDecode.cc:
     78     - in case of pattern==0 and MCs set the color to CT1. This is
     79       a workaround because the bits don't allow to set is explicitly
     80     - removed the check for the kCT1Pulser bit. It can never be true
     81     - consequently removed the kCT1Pulser bit
    7382
    7483
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPatternDecode.cc

    r9314 r9329  
    115115    fPattern->fPulserColor =  MCalibrationCam::kNONE;
    116116
     117    // This is a MC workaround because the CT1 bit cannot be set
     118    // It would be bit 33 in the pattern which simple
     119    // doesn't exist in a 32 bit integer.
     120    if (fRunHeader->IsMonteCarloRun() && pat==0)
     121        fPattern->fPulserColor =  MCalibrationCam::kCT1;
     122
    117123    // Check the pattern
    118124    if ((pat & kGreenAndBlue) || (pat & kBlueAndUV) || (pat & kGreenAndUV))
    119125        fPattern->fPulserColor =  MCalibrationCam::kNONE;
    120126
    121     if (pat & kCT1Pulser)
    122         fPattern->fPulserColor =  MCalibrationCam::kCT1;
     127    // FIXME: This condition can never be true!
     128    //if (pat & kCT1Pulser)
     129    //    fPattern->fPulserColor =  MCalibrationCam::kCT1;
    123130
    124131    if (pat & kAnyUV)
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPatternDecode.h

    r6004 r9329  
    3333        kSlot15Green    = BIT(14),
    3434        kSlot16AttGreen = BIT(15),
    35         kCT1Pulser      = BIT(16),
     35//        kCT1Pulser      = BIT(16),
    3636        kAnyGreen       = kSlot1Green  | kSlot2Green | kSlot15Green | kSlot16AttGreen,
    3737        kAnyUV          = kSlot4UV     | kSlot5UV    | kSlot12UV    | kSlot13UV,
     
    4141        kBlueAndUV      = kAnyBlue  & kAnyUV,
    4242        kGreenAndUV     = kAnyGreen & kAnyUV,
    43         kIFAEPulser     = kAnyGreen | kAnyBlue | kAnyUV,
    44         kAny            = kAnyGreen | kAnyBlue | kAnyUV | kCT1Pulser
     43        kIFAEPulser     = kAnyGreen | kAnyBlue | kAnyUV/*,
     44        kAny            = kAnyGreen | kAnyBlue | kAnyUV | kCT1Pulser*/
    4545      };
    4646
Note: See TracChangeset for help on using the changeset viewer.