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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mocchiut, Tue Mar 20 15:22:01 2007 UTC revision 1.8 by mocchiut, Wed Apr 11 13:28:42 2007 UTC
# Line 157  void ShowEvent(TString filename="help", Line 157  void ShowEvent(TString filename="help",
157    TTree *otr8 = 0;    TTree *otr8 = 0;
158    //    //
159    pamela->var.fl0 = false;    pamela->var.fl0 = false;
160      Int_t i = 0;
161      Int_t isOK = 0;
162    //    //
163   restart:   restart:
164    //    //
# Line 204  void ShowEvent(TString filename="help", Line 206  void ShowEvent(TString filename="help",
206    gStyle->SetNdivisions(1,"X");    gStyle->SetNdivisions(1,"X");
207    gStyle->SetNdivisions(1,"Y");    gStyle->SetNdivisions(1,"Y");
208    //    //
209    Int_t i = 0;    if ( i < 0 ){
210    Int_t isOK = 0;      i = -i;
211      } else {
212        i = 0;
213      };
214      isOK = 0;
215    //    //
216    // from here to refresh    // from here to refresh
217    //    //
# Line 295  void ShowEvent(TString filename="help", Line 301  void ShowEvent(TString filename="help",
301      carica.str("");      carica.str("");
302      carica << paminc.str().c_str() << "/feventvstruct.h";      carica << paminc.str().c_str() << "/feventvstruct.h";
303      gROOT->LoadMacro(carica.str().c_str());      gROOT->LoadMacro(carica.str().c_str());
304        //    carica.str("");
305        //    carica << paminc.str().c_str() << "/CaloNuclei.h";
306        //    gROOT->LoadMacro(carica.str().c_str());
307      //      //
308      // load the selection macro      // load the selection macro
309      //      //
# Line 617  void ShowEvent(TString filename="help", Line 626  void ShowEvent(TString filename="help",
626        //        //
627        pamela->var.goon = false;        pamela->var.goon = false;
628        if ( pamela->var.refresh || pamela->var.restart ){        if ( pamela->var.refresh || pamela->var.restart ){
629          if ( pamela->GetL2() ) pamela->GetL2()->Clear();          if ( pamela->GetL2() ) pamela->GetL2()->Reset();
630          if ( pamela->level.file != 2 ) pamela->GetChain()->Delete();          if ( pamela->level.file != 2 ) pamela->GetChain()->Delete();
631            otr = NULL;
632          if ( headerFile ) headerFile->Close("R");          if ( headerFile ) headerFile->Close("R");
633          if ( pamela->var.refresh ) goto refresh;          if ( pamela->var.refresh ) goto refresh;
634          if ( pamela->var.restart ){          if ( pamela->var.restart ){

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23