Changeset 4328 for trunk/MagicSoft/Mars/mtemp/mifae/programs/srcPos.cc
- Timestamp:
- 06/22/04 20:49:26 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/programs/srcPos.cc
r4094 r4328 31 31 #include "MWriteRootFile.h" 32 32 #include "MTime.h" 33 #include "MControlPlots.h" 34 #include "MIslands.h" 33 35 34 36 using namespace std; … … 54 56 Double_t fDEC= -1.; 55 57 TString srcFile; 58 TString controlplotsfilename="controlplots.ps"; 56 59 57 60 //----------------------------------------------------------------------------- … … 107 110 MParList plist; 108 111 MTaskList tlist; 112 MIslands islands; 109 113 110 114 // include containers in parameter list 111 115 plist.AddToList(&tlist); 116 plist.AddToList(&islands); 112 117 113 118 // tasks … … 144 149 write.AddContainer("MConcentration" , "Parameters"); 145 150 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 147 157 // include tasks in task list 148 158 tlist.AddToList(&read); … … 156 166 } 157 167 tlist.AddToList(&csrc1); 168 tlist.AddToList(&controlplots); 158 169 tlist.AddToList(&write); 159 170 … … 184 195 write2.AddContainer("MConcentration" , "Parameters"); 185 196 write2.AddContainer("MSrcPosCam" , "Parameters"); 197 write2.AddContainer("MIslands" , "Parameters"); 198 // write2.AddContainer("MIslands2" , "Parameters"); 186 199 tlist.AddToListBefore(&write2,&write,"All"); 187 200 tlist.RemoveFromList(&write); … … 191 204 else 192 205 srcrotate.SetMode(MSrcPlace::kOff); 206 207 controlplots.SetMode(MControlPlots::kOff); 208 controlplots.SetProduceFile(kTRUE); 193 209 194 210 if (!evtloop.Eventloop(nmaxevents))
Note:
See TracChangeset
for help on using the changeset viewer.