Changeset 2167


Ignore:
Timestamp:
06/09/03 07:41:40 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 added
4 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2164 r2167  
    11                                                 -*-*- END OF LINE -*-*-
     2
     3
     4 2003/06/09: Wolfgang Wittek
     5
     6   * macros/CT1Analysis.C
     7     - replace MPadSchweizer by MCT1PadSchweizer
     8
     9   * macros/ONOFFCT1Analysis.C
     10     - current version of the macro for the analysis using ON, OFF and MC data
     11
     12   * manalysis/MPadSchweizer.[h,cc]
     13               MPadONOFF.[h,cc]
     14     - delete
     15
     16   * manalysis/MCT1PadSchweizer.[h,cc]
     17               MCT1PadONOFF.[h,cc]
     18     - add
     19
     20   * manalysis/Makefile
     21               AnalysisLinkdef.h
     22     - replace MPadSchweizer and MPadONOFF
     23       by MCT1PadSchweizer and MCT1PadONOFF     
     24
     25
    226
    327 2003/06/06: Robert Wagner
  • trunk/MagicSoft/Mars/macros/CT1Analysis.C

    r2145 r2167  
    633633    //     fPadFlag = 2   get Sigma    from fHSigmaPixTheta
    634634   
    635     MPadSchweizer padthomas("MPadSchweizer","Task for the padding (Schweizer)");
     635    MCT1PadSchweizer padthomas("MCT1PadSchweizer","Task for the padding (Schweizer)");
    636636    padthomas.SetHistograms(fHSigmaTheta, fHSigmaPixTheta, fHDiffPixTheta,
    637637                            fHIdBlindPixels, fHNBlindPixels);
  • trunk/MagicSoft/Mars/macros/ONOFFCT1Analysis.C

    r2152 r2167  
    282282    //--------------------------------------------------
    283283    // type of data to be padded
    284     //TString typeInput = "ON";
    285     TString typeInput = "OFF";
     284    TString typeInput = "ON";
     285    //TString typeInput = "OFF";
    286286    //TString typeInput = "MC";
    287287    gLog << "typeInput = " << typeInput << endl;
     
    312312    //                       and merge these histograms
    313313
    314     MPadONOFF pad;
    315     pad.SetName("MPadONOFF");
     314    MCT1PadONOFF pad;
     315    pad.SetName("MCT1PadONOFF");
    316316    pad.SetPadFlag(1);
    317317    pad.SetDataType(typeInput);
     
    334334      MCT1ReadPreProc readON(fileON);
    335335
     336      MFCT1SelBasic selthetaon;
     337      selthetaon.SetCuts(-100.0, 29.5, 35.5);
     338      MContinue contthetaon(&selthetaon);
     339
    336340      MBlindPixelCalc blindon;
    337341      blindon.SetUseBlindPixels();
     
    361365   
    362366      tliston.AddToList(&readON);
     367      //tliston.AddToList(&contthetaon);
    363368
    364369      tliston.AddToList(&blindon);
     
    375380
    376381      Int_t maxeventson = -1;
    377       //Int_t maxeventson = 1000;
     382      //Int_t maxeventson = 20000;
    378383      if ( !evtloopon.Eventloop(maxeventson) )
    379384          return;
     
    403408
    404409      MCT1ReadPreProc readOFF(fileOFF);
     410
     411      MFCT1SelBasic selthetaoff;
     412      selthetaoff.SetCuts(-100.0, 29.5, 35.5);
     413      MContinue contthetaoff(&selthetaoff);
    405414
    406415      MBlindPixelCalc blindoff;
     
    434443   
    435444      tlistoff.AddToList(&readOFF);
     445      //tlistoff.AddToList(&contthetaoff);
    436446
    437447      tlistoff.AddToList(&blindoff);
     
    448458
    449459      Int_t maxeventsoff = -1;
    450       //Int_t maxeventsoff = 1000;
     460      //Int_t maxeventsoff = 20000;
    451461      if ( !evtloopoff.Eventloop(maxeventsoff) )
    452462          return;
     
    471481      gLog << "=====================================================" << endl;
    472482
    473       gLog << "Merge the ON and OFF histograms and define the histograms for the padding :" << endl;
    474483      pad.MergeHistograms(sigthon,     sigthoff,
    475484                          sigpixthon,  sigpixthoff,
     
    477486                          blindidthon, blindidthoff,
    478487                          blindnthon,  blindnthoff);
    479       gLog << "The histograms for the padding have been defined" << endl;
    480       gLog << "=====================================================" << endl;
    481 
    482 
    483488
    484489      if (WPad)
     
    520525    MCT1ReadPreProc read(filenamein);
    521526
     527    MFCT1SelBasic seltheta;
     528    seltheta.SetCuts(-100.0, 29.5, 35.5);
     529    MContinue conttheta(&seltheta);
     530
    522531    if (typeInput ==  "ON")
    523532    {
     
    526535    }
    527536
     537    MBlindPixelCalc blindbeforepad;
     538    blindbeforepad.SetUseBlindPixels();
     539    blindbeforepad.SetName("BlindBeforePadding");
     540
    528541    MBlindPixelCalc blind;
    529542    blind.SetUseBlindPixels();
     543    blind.SetName("BlindAfterPadding");
    530544
    531545    MFCT1SelBasic selbasic;
     
    609623   
    610624    tliston.AddToList(&read);
     625    //tliston.AddToList(&conttheta);
     626
     627    tliston.AddToList(&blindbeforepad);
    611628    tliston.AddToList(&pad);
    612629    if (typeInput ==  "ON")
     
    644661    //  evtloop.Write();
    645662
    646     //Int_t maxevents = -1;
    647     Int_t maxevents = 10000;
     663    Int_t maxevents = -1;
     664    //Int_t maxevents = 1000;
    648665    if ( !evtloop.Eventloop(maxevents) )
    649666        return;
  • trunk/MagicSoft/Mars/manalysis/AnalysisLinkDef.h

    r2152 r2167  
    3939#pragma link C++ class MSigmabarParam+;
    4040
    41 #pragma link C++ class MPadding+;
    42 #pragma link C++ class MPadSchweizer+;
    43 #pragma link C++ class MPadONOFF+;
     41#pragma link C++ class MCT1PadSchweizer+;
     42#pragma link C++ class MCT1PadONOFF+;
    4443
    4544#pragma link C++ class MCT1PointingCorrCalc+;
  • trunk/MagicSoft/Mars/manalysis/Makefile

    r2152 r2167  
    5454           MSigmabarParam.cc \
    5555           MSigmabarCalc.cc \
    56            MPadding.cc \
    57            MPadSchweizer.cc \
    58            MPadONOFF.cc \
     56           MCT1PadSchweizer.cc \
     57           MCT1PadONOFF.cc \
    5958           MCT1PointingCorrCalc.cc \
    6059           MParameters.cc \
Note: See TracChangeset for help on using the changeset viewer.