Ignore:
Timestamp:
06/22/04 20:49:26 (20 years ago)
Author:
rico
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/programs/srcPos.cc

    r4094 r4328  
    3131#include "MWriteRootFile.h"
    3232#include "MTime.h"
     33#include "MControlPlots.h"
     34#include "MIslands.h"
    3335
    3436using namespace std;
     
    5456Double_t fDEC= -1.;
    5557TString  srcFile;
     58TString  controlplotsfilename="controlplots.ps";
    5659
    5760//-----------------------------------------------------------------------------
     
    107110  MParList  plist; 
    108111  MTaskList tlist;
     112  MIslands  islands;
    109113
    110114  // include containers in parameter list
    111115  plist.AddToList(&tlist);
     116  plist.AddToList(&islands);
    112117                 
    113118  // tasks
     
    144149  write.AddContainer("MConcentration" , "Parameters");
    145150  write.AddContainer("MSrcPosCam"     , "Parameters");
    146 
     151  write.AddContainer("MIslands"       , "Parameters");
     152  //write.AddContainer("MIslands2"     ,  "Parameters");
     153
     154  MControlPlots controlplots(controlplotsfilename);
     155  controlplots.SetProduceFile(kFALSE);
     156 
    147157  // include tasks in task list
    148158  tlist.AddToList(&read);
     
    156166    }
    157167  tlist.AddToList(&csrc1); 
     168  tlist.AddToList(&controlplots);
    158169  tlist.AddToList(&write);
    159170
     
    184195  write2.AddContainer("MConcentration" , "Parameters");
    185196  write2.AddContainer("MSrcPosCam"     , "Parameters");
     197  write2.AddContainer("MIslands"       , "Parameters");
     198  // write2.AddContainer("MIslands2"     ,  "Parameters");
    186199  tlist.AddToListBefore(&write2,&write,"All");
    187200  tlist.RemoveFromList(&write);
     
    191204  else
    192205    srcrotate.SetMode(MSrcPlace::kOff);
     206
     207  controlplots.SetMode(MControlPlots::kOff);
     208  controlplots.SetProduceFile(kTRUE);
    193209
    194210  if (!evtloop.Eventloop(nmaxevents))
Note: See TracChangeset for help on using the changeset viewer.