/[PAMELA software]/eventviewer/flight/src/FEventViewerCore.cpp
ViewVC logotype

Annotation of /eventviewer/flight/src/FEventViewerCore.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Tue Mar 20 12:49:57 2007 UTC (17 years, 8 months ago) by mocchiut
Branch: MAIN
Changes since 1.4: +16 -4 lines
Development version do not use

1 mocchiut 1.1 //-------------------------------------------------------------------------------------------------------------------------------------------------------
2     //
3     // FEventViewer.c version 1.03 (2006-04-04)
4     //
5     // Shows PAMELA events - Emiliano Mocchiutti
6     //
7     //-------------------------------------------------------------------------------------------------------------------------------------------------------
8     //
9     //
10     // Standard use:
11     //
12     // bash> EventViewer
13     //
14     // For further informations use:
15     //
16     // EventViewer --help
17     //
18     // or
19     //
20     // EventViewer --version
21     //
22     //-------------------------------------------------------------------------------------------------------------------------------------------------------
23     //
24     // Changelog:
25     //
26     // 1.02 - 1.03 (2006-04-04): Make it possible to select events with the calorimeter also when generating level1 from level0.
27     //
28     // 1.01 - 1.02 (2006-03-22): Read calorimeter ADC2MIP flight conversion file. Do not install FEventviewer.cxx!
29     //
30     // 1.00 - 1.01 (2006-03-09): Flight version, read unique YODA file. Many capabilities disabled at the moment (reads only LEVEL0 data).
31     //
32     // 0.00 - 1.00 (2006-03-09): Clone of EventViewer.c v9r01.
33     //
34     #include <math.h>
35     #include <stdio.h>
36     //
37     #include <iostream>
38     #include <iomanip>
39     #include <fstream>
40     #if (__GNUC__ == 3) && (__GNUC_MINOR__ == 2)
41     char* operator+( std::streampos&, char* );
42     #endif
43     //
44     #include <TObjectTable.h>
45     #include <TGClient.h>
46     #include <TGButton.h>
47     #include <TGComboBox.h>
48     #include <TGLabel.h>
49     #include <TGTextEntry.h>
50     #include <TGFrame.h>
51     #include <TGButtonGroup.h>
52     #include <TGProgressBar.h>
53     #include <TGMsgBox.h>
54     #include <TGComboBox.h>
55     //
56     #include <TTree.h>
57     #include <TClassEdit.h>
58     #include <TObject.h>
59     #include <TList.h>
60     #include <TSystem.h>
61     #include <TSystemDirectory.h>
62     #include <TString.h>
63     #include <TFile.h>
64     #include <TClass.h>
65     #include <TCanvas.h>
66     #include <TH1.h>
67     #include <TH1F.h>
68     #include <TH2D.h>
69     #include <TLatex.h>
70     #include <TPad.h>
71     #include <TPaveLabel.h>
72     #include <TLine.h>
73     #include <TPolyLine.h>
74     #include <TChain.h>
75     #include <TApplication.h>
76     #include <TVirtualX.h>
77     #include <TGClient.h>
78     #include <TGWindow.h>
79     #include <TEllipse.h>
80     #include <TArrow.h>
81     #include <TStyle.h>
82     //
83     #include <PamelaRun.h>
84     #include <physics/trigger/TriggerEvent.h>
85     extern void stringcopy(TString&, const TString&, Int_t, Int_t);
86     extern void stringappend(TString&, const TString&);
87     #include <FEVpathtoc.h>
88     //
89     #include <FEVpamevcontrol.h>
90     #include <FEVdetector.h>
91     #include <FEventViewer.h>
92     #include <feventvstruct.h>
93     //
94     using namespace std;
95     //
96     Bool_t existfile(TString filename){
97     ifstream myfile;
98     myfile.open(filename.Data());
99     if ( !myfile ){
100     return(false);
101     };
102     myfile.close();
103     return(true);
104     }
105    
106     //
107     // MAIN ROUTINE
108     //
109     void ShowEvent(TString filename="help", TString selfile="", TString outDir = ""){
110     Int_t ctrlword = 509;
111     Int_t FORCELEV = -1;
112     TString startingdir = gSystem->WorkingDirectory();
113     //
114     TApplication app("app",0,0);
115     //
116     Bool_t firsttime = true;
117     //
118     Bool_t popup = false;
119     //
120     gROOT->GetListOfCanvases()->Delete();
121     gDirectory->GetList()->Delete();
122     //
123     // here windows dimension (based on the computer screen size) and position and dimension of figures
124     //
125     Int_t xw, yw;
126     UInt_t ww, hw;
127     gVirtualX->GetWindowSize(gClient->GetRoot()->GetId(),xw,yw,ww,hw);
128     Float_t winx = (float)ww*0.80;
129     Float_t winy = (float)hw*0.80; // 95
130     Float_t winrap = winx/winy;
131     //
132     // book the canvas
133     //
134     TCanvas *figure = new TCanvas("PAMELA event viewer", "PAMELA event viewer",(int)winx,(int)winy);
135     //
136     // create the PAMELA detector
137     //
138     FEVdetector *pamela = new FEVdetector(filename,selfile,ctrlword,*figure);
139     //
140     // Pop up the GUI
141     //
142     PAMevcontrol *pamgui = 0;
143     //
144 mocchiut 1.2 pamgui = new PAMevcontrol(gClient->GetRoot(),400,800,pamela->var,pamela->level,*figure);
145     popup = true;
146     pamela->SetGUIPtr(*pamgui);
147     if ( outDir == "" ) outDir = startingdir;
148     //
149 mocchiut 1.4 TTree *otr0 = 0;
150 mocchiut 1.2 TTree *otr1 = 0;
151     TTree *otr2 = 0;
152     TTree *otr3 = 0;
153     TTree *otr4 = 0;
154     TTree *otr5 = 0;
155     TTree *otr6 = 0;
156     TTree *otr7 = 0;
157     TTree *otr8 = 0;
158     //
159     pamela->var.fl0 = false;
160 mocchiut 1.1 //
161     restart:
162     //
163     // set boolean variables
164     //
165     pamela->var.restart = false;
166     pamela->var.waitforever = false;
167     pamela->var.jumprog = true;
168     pamela->var.jumpen = false;
169     pamela->var.goon = false;
170     pamela->var.refresh = false;
171     pamela->var.alrforc = false;
172     //
173     // check if we have an input filename
174     //
175     if ( filename.Data() == "" || !strcmp(filename.Data(),"help") ){
176     pamela->var.waitforever = true;
177     };
178     //
179     // chek if we are forcing level0
180     //
181     if ( pamela->var.fl0 == true ){
182     FORCELEV = 0;
183     } else {
184     FORCELEV = -1;
185     };
186     //
187     // Define some variables
188     //
189     pamela->var.bw = 0;
190     pamela->var.xxvc = 0.20;
191     pamela->var.yxvc = 0.44;
192     pamela->var.xyvc = 0.815;
193     pamela->var.yyvc = 0.44;
194     pamela->var.sfx = 0.81/winrap;
195     pamela->var.sfy = 0.81;
196     pamela->var.nds4 = pamela->var.sfx;
197     pamela->var.xcat = 0.515;
198     pamela->var.ycat = 0.74;
199     pamela->var.tracknds4 = 1;
200     figure->Range(0.,0.,1.,1.);
201     gStyle->SetOptDate(0);
202     gStyle->SetOptStat(0);
203     gStyle->SetLabelSize(0);
204     gStyle->SetNdivisions(1,"X");
205     gStyle->SetNdivisions(1,"Y");
206     //
207     Int_t i = 0;
208     Int_t isOK = 0;
209     //
210     // from here to refresh
211     //
212     refresh:
213     //
214 mocchiut 1.5 // reset pointers
215     //
216     TFile *headerFile = 0;
217     TChain *otr = 0;
218     TTree *L0 = 0;
219     //
220     // gROOT->Reset();
221     //
222 mocchiut 1.1 // set selection file variables
223     //
224 mocchiut 1.3 if ( pamela->var.refresh ){
225     if ( pamela->var.selex ){
226     // pamela->var.selex = true; //<<<<<<<<<<<<<<<<<<<<<<<<<<?????????????????????
227     selfile = pamela->var.thefilter.Data();
228     };
229     };
230 mocchiut 1.1 //
231     //
232 mocchiut 1.2 // if ( pamela->var.fl0 == true ) {
233     // FORCELEV = 0;
234     // } else {
235     // if ( pamela->var.refresh ) FORCELEV = -1; //<<<<<<<<<<<<<<<<<<<<<<<<<<?????????????????????
236     // };
237 mocchiut 1.1 //
238     // check the detectors to be shown
239     //
240 mocchiut 1.2 // if ( !pamela->var.refresh ) pamela->checkctrlword();
241     //pamela->checkctrlword();
242 mocchiut 1.1 //
243     // open a dialog if the program is launched without input filename
244     //
245     if ( firsttime ){
246     firsttime = false;
247     if ( filename == "" ) pamgui->DIALOG(0," Insert the filename and press load to start ");
248     };
249     //
250     // WAIT for an input filename
251     //
252     while( pamela->var.waitforever ) {
253     if ( !gROOT->GetListOfCanvases()->FindObject(figure) ) {
254     pamgui->Terminate();
255     };
256     gSystem->ProcessEvents();
257     gSystem->Sleep(10);
258     };
259     //
260     if ( pamela->var.restart ){
261     filename = pamela->var.thefilename.Data();
262     goto restart;
263     };
264     //
265     // check if we are forcing level0 data
266     //
267     if ( FORCELEV != -1 ) {
268     printf("\n WARNING: FORCING LEVEL%i DATA \n\n",FORCELEV);
269     if ( !pamela->var.alrforc ) {
270     pamgui->DIALOG(1," Forcing LEVEL0 data ");
271     pamela->var.alrforc = true;
272     };
273     };
274     //
275     // LOAD SELECTION FILE
276     //
277     if ( selfile == "" ){
278 mocchiut 1.2 //if ( !pamela->var.selex ) pamgui->DIALOG(0," Selection file unloaded ");
279     if ( pamela->var.selex ) pamgui->DIALOG(0," Selection file unloaded ");
280 mocchiut 1.1 pamela->var.selex = false;
281     } else {
282     //
283     // determine where to find the headers
284     //
285     gROOT->Reset();
286     stringstream paminc;
287     paminc.str("");
288     const char *testinc = pathtoinclude();
289     paminc << testinc;
290     //
291     stringstream carica;
292     //
293     // load the structure header
294     //
295     carica.str("");
296     carica << paminc.str().c_str() << "/feventvstruct.h";
297     gROOT->LoadMacro(carica.str().c_str());
298     //
299     // load the selection macro
300     //
301     Int_t chkload = gROOT->LoadMacro(selfile);
302     //
303 mocchiut 1.3 pamela->var.selex = false;
304     //
305 mocchiut 1.1 if ( chkload ){
306     //
307     // not able to open the selection file
308     //
309     stringstream dialog;
310     dialog.str("");
311     dialog << pamela->var.thefilter.Data();
312     dialog << " : no such file!";
313     pamgui->DIALOG(2,dialog.str().c_str());
314     printf("\n\n ERROR! cannot read the selection file you give me as input! \n");
315     pamela->var.selex = false;
316     printf("\n WARNING! no selection file loaded! \n\n");
317     pamgui->DIALOG(1," No selection file loaded! ");
318 mocchiut 1.3 selfile = "";
319 mocchiut 1.1 //
320     // clear field in the GUI
321     //
322     pamgui->clearselfi();
323     } else {
324     //
325     // ok, selection file loaded
326     //
327     printf("\n\n Selection file loaded \n\n The first event will be shown anyway. \n\n");
328     //
329     if ( !pamela->var.selex ) pamgui->DIALOG(0," Selection file successfully loaded ");
330     //
331     pamela->var.selex = true;
332     };
333     };
334     //
335     // LOAD FILES
336     //
337     //
338 mocchiut 1.5 // if ( headerFile ) headerFile->Close();
339     // if ( otr ) otr->Delete();
340     // if ( L0 ) L0->Delete();
341    
342 mocchiut 1.1 //
343     // check if user has given as input a correct path
344     //
345     ifstream myfile;
346     myfile.open(filename.Data());
347     if ( !myfile ){
348 mocchiut 1.2 if ( filename != "" ){
349     printf("ERROR: no such file, exiting...\n");
350     stringstream hfile;
351     hfile.str("");
352     hfile << filename.Data();
353     hfile << " : no such file! ";
354     pamgui->DIALOG(2,hfile.str().c_str());
355     };
356 mocchiut 1.1 pamela->var.waitforever = true;
357     goto refresh;
358     };
359     myfile.close();
360     //
361     // ok, open file and determine if it is a YODA or DARTHVADER file
362     //
363     headerFile=new TFile(filename.Data());
364 mocchiut 1.4 if ( FORCELEV == 0 ){
365 mocchiut 1.1 pamela->level.file = 0;
366 mocchiut 1.4 L0 = (TTree*)headerFile->Get("Physics");
367     if ( !L0 ){
368 mocchiut 1.1 printf("ERROR: no Physics tree...\n");
369     pamgui->DIALOG(2,"No Physics tree in this file");
370     pamela->var.waitforever = true;
371     goto refresh;
372     }
373     } else {
374     pamela->level.file = 2;
375 mocchiut 1.4 otr0 = (TTree*)headerFile->Get("Trigger");
376 mocchiut 1.2 otr1 = (TTree*)headerFile->Get("Calorimeter");
377     otr2 = (TTree*)headerFile->Get("Tracker");
378     otr3 = (TTree*)headerFile->Get("NeutronD");
379     otr4 = (TTree*)headerFile->Get("OrbitalInfo");
380     otr5 = (TTree*)headerFile->Get("S4");
381     otr6 = (TTree*)headerFile->Get("ToF");
382     otr7 = (TTree*)headerFile->Get("Run");
383     otr8 = (TTree*)headerFile->Get("Anticounter");
384 mocchiut 1.4 if ( !otr0 && !otr1 && !otr2 && !otr3 && !otr4 && !otr5 && !otr6 && !otr7 && !otr8 ){
385     L0 = (TTree*)headerFile->Get("Physics");
386 mocchiut 1.1 pamela->level.file = -1;
387 mocchiut 1.2 } else {
388     stringstream dddec;
389     dddec.str("");
390 mocchiut 1.4 dddec << " +ALL +RUN +CAL1 -TRKh -TRK1 ";
391     if ( !otr0 ){
392 mocchiut 1.2 dddec << " -TRG ";
393 mocchiut 1.3 pamela->var.TRG = 0;
394 mocchiut 1.4 otr0 = otr1;
395 mocchiut 1.2 };
396     if ( !otr1 ){
397     dddec << " -CAL ";
398     pamela->var.CALO = 0;
399 mocchiut 1.4 if ( !otr0 ) otr0 = otr2;
400 mocchiut 1.2 };
401     if ( !otr2 ){
402     dddec << " -TRK2 -TRK ";
403     pamela->var.TRK = 0;
404 mocchiut 1.4 if ( !otr0 ) otr0 = otr3;
405 mocchiut 1.2 };
406     if ( !otr3 ){
407     dddec << " -ND ";
408     pamela->var.ND = 0;
409 mocchiut 1.4 if ( !otr0 ) otr0 = otr4;
410 mocchiut 1.2 };
411     if ( !otr4 ){
412     dddec << " -ORB ";
413 mocchiut 1.3 pamela->var.ORB = 0;
414 mocchiut 1.4 if ( !otr0 ) otr0 = otr5;
415 mocchiut 1.2 };
416     if ( !otr5 ){
417     dddec << " -S4 ";
418     pamela->var.S4 = 0;
419 mocchiut 1.4 if ( !otr0 ) otr0 = otr6;
420 mocchiut 1.2 };
421     if ( !otr6 ){
422     dddec << " -TOF ";
423     pamela->var.TOF = 0;
424 mocchiut 1.4 if ( !otr0 ) otr0 = otr8;
425 mocchiut 1.2 };
426     if ( !otr7 ){
427     dddec << " -RUN ";
428     pamela->var.RUN = 0;
429     };
430     if ( !otr8 ){
431     dddec << " -AC ";
432     pamela->var.AC = 0;
433     };
434     pamela->SetDDEC(dddec.str().c_str());
435 mocchiut 1.1 };
436 mocchiut 1.4 if ( !otr0 && !otr1 && !otr2 && !otr3 && !otr4 && !otr5 && !otr6 && !otr7 && !otr8 && !L0 ){
437 mocchiut 1.1 pamela->level.file = -1;
438     printf("ERROR: nor Physics nor Run tree...\n");
439     pamgui->DIALOG(2,"Nor Physics nor Run tree in this file");
440     pamela->var.waitforever = true;
441     goto refresh;
442     };
443     };
444     //
445     if ( pamela->level.file != 2 ){
446     printf(" This is a YODA (level0) file \n");
447     } else {
448     printf(" This is a DARTHVADER (level2) file \n");
449     };
450     //
451     // Disable on the GUI the buttons that cannot be used with this file
452     //
453     pamgui->CheckLevel();
454     //
455     // Load the file
456     //
457 mocchiut 1.4 if ( otr0 || L0 ){
458     otr = pamela->Load(*headerFile);
459     if ( !otr ){
460 mocchiut 1.3 pamela->level.file = -1;
461     printf("ERROR: problems opening file...\n");
462     pamgui->DIALOG(2,"Problems opening file");
463     pamela->var.waitforever = true;
464     goto refresh;
465     };
466     } else {
467 mocchiut 1.2 pamela->level.file = -1;
468 mocchiut 1.3 printf("ERROR: problems with TTree while opening file...\n");
469 mocchiut 1.2 pamgui->DIALOG(2,"Problems opening file");
470     pamela->var.waitforever = true;
471     goto refresh;
472     };
473 mocchiut 1.1 //
474     printf("\n");
475     //
476     // get the number of entries
477     //
478 mocchiut 1.4 // otr = pamela->GetChain();
479     if ( !otr ) printf(" AGH! \n");
480 mocchiut 1.3 //
481 mocchiut 1.1 Long64_t nevents = otr->GetEntries();
482     printf(" The file contains %i physics events \n",(int)nevents);
483     //
484     // check we have at least one event
485     //
486     if (nevents<=0) {
487     headerFile->Close();
488     printf("The file is empty, exiting...\n");
489     pamgui->DIALOG(0," The file contains no physics data! ");
490     pamela->var.waitforever = true;
491     goto refresh;
492     }
493     //
494     // Check that given input are inside the boundary conditions
495     //
496     pamela->minevent = 0;
497     pamela->maxevent = nevents - 1;
498     //
499     // Determine the boundaries
500     //
501     pamela->GetWindow();
502     Int_t lastevno = pamela->lastevno;
503     Int_t firstevno = pamela->firstevno;
504     //
505     // display the first event (unless we are refreshing only the window)
506     //
507     if ( !pamela->var.refresh ) i = pamela->minevent;
508     pamela->var.refresh = false;
509     //
510 mocchiut 1.3 pamgui->RefreshButtons();
511     //
512 mocchiut 1.1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
513     // MAIN LOOP STARTS HERE:
514     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
515     //
516     while ( 1 ){
517     //
518     // update progress bar
519     //
520     if ( popup ) pamgui->increment((float)(i+1)*100./(float)nevents);
521     //
522     // clear canvas and variables
523     //
524     pamela->ClearVariables();
525     //
526     // get entry i
527     //
528     pamela->GetEntry(i);
529     //
530     // call the filter to select events (if filter file is given)
531     //
532     isOK = pamela->SelectEvent();
533     //
534     // if the event is selected go on
535     //
536     if ( isOK ) {
537     //
538     // reset working variables
539     //
540     printf("\n\n\n\n\n\n\n\n\n\n");
541     pamela->SetEntry(i);
542     pamela->si = i;
543     pamela->var.doflag = 1;
544     pamela->var.i = i;
545     pamela->var.nevents = nevents;
546     pamela->var.lastevno = lastevno;
547     pamela->var.firstevno = firstevno;
548     //
549     printf("\n");
550     //
551     // disable "stop" button in the GUI
552     //
553     pamgui->StopSearching();
554     //
555     // make the canvas editable and clear it
556     //
557     figure->SetEditable(kTRUE);
558     figure->Clear();
559     figure->SetFillColor(10);
560     figure->cd();
561     //
562     // retrieve general info for the event (OBT, pkt_num, etc. etc.)
563     //
564     pamela->GetGeneralInfo();
565     //
566     // display the event
567     //
568     pamela->DisplayEvent();
569     //
570     // prepare the string for the figure filename
571     //
572     char *bw;
573     if ( pamela->var.bw ){
574     bw = "_bw";
575     } else {
576     bw = "";
577     };
578     TString filenm = pamela->var.thefilename;
579     const string fil = gSystem->BaseName(filenm.Data());
580     Int_t posiz = fil.find(".root");
581     TString file2;
582     if ( posiz == -1 ){
583     file2 = gSystem->BaseName(filename.Data());
584     } else {
585     Int_t posiz2 = 0;
586     stringcopy(file2,gSystem->BaseName(filename.Data()),posiz2,posiz);
587     };
588     const char *figrec = file2;
589     const char *outdir = outDir;
590     stringstream figsave;
591     figsave.str("");
592     figsave << outdir << "/";
593     figsave << figrec;
594     figsave << "_ev_";
595     figsave << (pamela->var.i+1);
596     figsave << bw;
597     pamela->var.svas=figsave.str().c_str();
598 mocchiut 1.3
599     // printf(" qua %s \n",figsave.str().c_str());
600 mocchiut 1.1 //
601     // upgrade the figure filename in the GUI
602     //
603     pamgui->upgrnamfi();
604     //
605     // WAIT for user input
606     //
607     pamela->var.jumpen = false;
608     while( !pamela->var.goon && !pamela->var.refresh && !pamela->var.restart ) {
609     if ( !gROOT->GetListOfCanvases()->FindObject(figure) ) {
610     pamgui->Terminate();
611     };
612     gSystem->ProcessEvents();
613     gSystem->Sleep(10);
614     };
615     //
616     // interpret user input
617     //
618     pamela->var.goon = false;
619     if ( pamela->var.refresh || pamela->var.restart ){
620 mocchiut 1.5 // if ( pamela->GetL2() ) pamela->GetL2()->Clear();
621     if ( pamela->GetL2() ) pamela->GetL2()->Delete();
622     //if ( pamela->GetL2() ) delete pamela->GetL2();
623     if ( headerFile ) headerFile->Close("R");
624 mocchiut 1.1 if ( pamela->var.refresh ) goto refresh;
625     if ( pamela->var.restart ){
626     filename = pamela->var.thefilename.Data();
627     goto restart;
628     };
629     };
630     //
631     i = pamela->var.i;
632     if ( i != pamela->si ) pamela->OOBT = 1000000000;
633     if ( pamela->maxevent < i ) {
634     pamela->maxevent = nevents;
635     printf("WARNING: you have chosen an event number out of the starting range.\n Range extended to %i\n\n",pamela->maxevent);
636     };
637     //
638     };
639     //
640     // if the returned entry is -1 it means we must start again from the first event going forward (doflag=1)
641     //
642     if ( pamela->GetThisEntry() == -1 ){
643     pamela->var.doflag = 1;
644     i = pamela->minevent;
645     };
646     //
647     // doflag = 2 means "go backward" (check for lower boundary)
648     //
649     if ( pamela->var.doflag == 2 && i == 0 ) {
650     printf("\n WARNING: Cannot go backward! Going forward. \n");
651     pamela->var.doflag = 1;
652     };
653     if ( pamela->var.doflag == 2 && i>0 ) i--;
654     //
655     // doflag = 1 means go forward (the check on the upper boundary is made in FEVpamevcontrol)
656     //
657     if ( pamela->var.doflag == 1 ) i++;
658     //
659     // if in selection mode, print out a event progress bar in the text window:
660     //
661     if ( !pamela->var.selex || i == pamela->minevent ){
662     // do nothing
663     } else {
664     if ( (pamela->maxevent-pamela->minevent) != 0 ){
665     if((100*(i-pamela->minevent)/(pamela->maxevent-pamela->minevent))<10.){
666     printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8);
667     } else {
668     printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8);
669     };
670     };
671     };
672    
673     };
674     //
675     // END OF THE MAIN LOOP AND OF THE MAIN PROGRAM
676     //
677     printf("\n");
678     printf(" ...done! \n\n");
679     return;
680     }

  ViewVC Help
Powered by ViewVC 1.1.23