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

Legend:

Unmodified
Added
Removed
  • 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.