Changeset 5711 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/05/05 18:14:58 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/calibration.C

    r5710 r5711  
    411411    gLog << "           with the following parameters, if 'maxbin' defines the mean position" << endl;
    412412    gLog << "           of the High-Gain FADC slice carrying the pulse maximum: " << endl;
    413     gLog << "     1:           SetRange('maxbin'-1,'maxbin'+2,'maxbin'+0.5,'maxbin'+3.5) " << endl;
    414     gLog << "     2:           SetRange('maxbin'-1,'maxbin'+2,'maxbin'-0.5,'maxbin'+4.5)" << endl;
    415     gLog << "     3:           SetRange('maxbin'-2,'maxbin'+3,'maxbin'-0.5,'maxbin'+4.5)" << endl;
    416     gLog << "     4:           SetRange('maxbin'-3,'maxbin'+4,'maxbin'-1.5,'maxbin'+5.5)" << endl;
    417     gLog << "     5:           SetRange('maxbin'-5,'maxbin'+8,'maxbin'-1.5,'maxbin'+7.5)" << endl;
     413    gLog << "     1:           SetRange(4,7,6,9) " << endl;
     414    gLog << "     2:           SetRange(4,7,5,10)" << endl;
     415    gLog << "     3:           SetRange(3,8,5,10)" << endl;
     416    gLog << "     4:           SetRange(2,9,4,11)" << endl;
     417    gLog << "     5:           SetRange(0,13,4,13)" << endl;
    418418    gLog << "       MExtractFixedWindowSpline: " << endl;
    419     gLog << "     6:           SetRange('maxbin'-1,'maxbin'+2,'maxbin'+0.5,'maxbin'+3.5)" << endl;
    420     gLog << "     7:           SetRange('maxbin'-1,'maxbin'+2,'maxbin'-0.5,'maxbin'+4.5)" << endl;
    421     gLog << "     8:           SetRange('maxbin'-2,'maxbin'+3,'maxbin'-0.5,'maxbin'+4.5)" << endl;
    422     gLog << "     9:           SetRange('maxbin'-3,'maxbin'+4,'maxbin'-1.5,'maxbin'+5.5)" << endl;
    423     gLog << "     10:          SetRange('maxbin'-5,'maxbin'+8,'maxbin'-1.5,'maxbin'+7.5)" << endl;
     419    gLog << "     6:           SetRange(3,7,5,9)" << endl;
     420    gLog << "     7:           SetRange(3,7,5,11)" << endl;
     421    gLog << "     8:           SetRange(3,9,5,11)" << endl;
     422    gLog << "     9:           SetRange(2,10,4,12)" << endl;
     423    gLog << "     10:          SetRange(0,14,4,14)" << endl;
    424424    gLog << "       MExtractFixedWindowPeakSearch: " << endl;
    425425    gLog << "                  SetRange(0,18,2,14) and the following parameters:" << endl;
    426426    gLog << "     11:          SetWindows(2,2,2)" << endl;
     427    gLog << "                  SetOffsetFromWindow(0)" << endl;
    427428    gLog << "     12:          SetWindows(4,4,2)" << endl;
    428     gLog << "     13:          SetWindows(6,6,4)" << endl;
    429     gLog << "     14:          SetWindows(4,6,4)" << endl;
     429    gLog << "                  SetOffsetFromWindow(1)" << endl;
     430    gLog << "     13:          SetWindows(4,6,4)" << endl;
     431    gLog << "                  SetOffsetFromWindow(0)" << endl;
     432    gLog << "     14:          SetWindows(6,6,4)" << endl;
     433    gLog << "                  SetOffsetFromWindow(1)" << endl;
    430434    gLog << "     15:          SetWindows(8,8,4)" << endl;
     435    gLog << "                  SetOffsetFromWindow(1)" << endl;
    431436    gLog << "     16:          SetWindows(14,10,4)" << endl;
     437    gLog << "                  SetOffsetFromWindow(2)" << endl;
    432438    gLog << "      MExtractTimeAndChargeSlidingWindow:" << endl;
    433439    gLog << "                  SetRange(0,18,2,14) and the following parameters:" << endl;
    434440    gLog << "     17:          SetWindowSize(2,2)" << endl;
    435441    gLog << "     18:          SetWindowSize(4,4)" << endl;
    436     gLog << "     19:          SetWindowSize(6,6)" << endl;
    437     gLog << "     20:          SetWindowSize(4,6)" << endl;
     442    gLog << "     19:          SetWindowSize(4,6)" << endl;
     443    gLog << "     20:          SetWindowSize(6,6)" << endl;
    438444    gLog << "     21:          SetWindowSize(8,8)" << endl;
    439445    gLog << "     22:          SetWindowSize(14,10)" << endl;
    440446    gLog << "      MExtractTimeAndChargeSpline: " << endl;
    441     gLog << "                  SetChargeType(MExtractTimeAndChargeSpline::kIntegral) and:" << endl;
    442     gLog << "                  SetRange(0,18,2,14) and the following parameters:" << endl;
    443     gLog << "     23:          SetRiseTime(1.5); SetFallTime(4.5)" << endl;
    444     gLog << "     24:          SetRiseTime(0.5); SetFallTime(2.5)" << endl;
     447    gLog << "     23:          SetChargeType(MExtractTimeAndChargeSpline::kAmplitude) and:" << endl;
     448    gLog << "                  SetRange(0,13,2,13) " << endl;
     449    gLog << "     24:          SetChargeType(MExtractTimeAndChargeSpline::kIntegral) and:" << endl;
     450    gLog << "                  SetRiseTime(0.5); SetFallTime(0.5)" << endl;
    445451    gLog << "     25:          SetRiseTime(0.5); SetFallTime(1.5)" << endl;
    446     gLog << "     26:          SetRiseTime(0.5); SetFallTime(0.5)" << endl;
    447     gLog << "     27:          SetChargeType(MExtractTimeAndChargeSpline::kAmplitude" << endl;
    448     gLog << "                  SetRange(0,10,4,11)" << endl;
     452    gLog << "     26:          SetRiseTime(1.0); SetFallTime(3.0)" << endl;
     453    gLog << "     27           SetRiseTime(1.5); SetFallTime(4.5)" << endl;
    449454    gLog << "      MExtractTimeAndChargeDigitalFilter" << endl;
    450455    gLog << "                  SetRange(0,18,2,14) and the following parameters:" << endl;
Note: See TracChangeset for help on using the changeset viewer.