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

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

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

revision 1.1 by mocchiut, Fri Jul 14 14:18:04 2006 UTC revision 1.4 by mocchiut, Tue Nov 28 14:05:51 2006 UTC
# Line 475  void FEVdetector::Load(TTree &mainotr, T Line 475  void FEVdetector::Load(TTree &mainotr, T
475    L2 = new PamLevel2();    L2 = new PamLevel2();
476    //    //
477    if ( level.file == 2 ){    if ( level.file == 2 ){
478      otr = L2->LoadPamTrees(file);      //    otr = L2->LoadPamTrees(file);
479        otr = L2->GetPamTree(file);
480      // ********************      // ********************
481      // load magnetic field      // load magnetic field
482      // ********************      // ********************
# Line 483  void FEVdetector::Load(TTree &mainotr, T Line 484  void FEVdetector::Load(TTree &mainotr, T
484      //      //
485      stringstream magfie;      stringstream magfie;
486      magfie.str("");      magfie.str("");
487        //    magfie << "/localdisk/mocchiut/test/calib/trk-param/field_param-0/";
488      magfie << pam_calib;      magfie << pam_calib;
489      magfie << "/trk-param/field_param-0/";      magfie << "/trk-param/field_param-0/";
490      //      //
# Line 815  void FEVdetector::DisplayEvent(){ Line 817  void FEVdetector::DisplayEvent(){
817    //    //
818    // SHOW PALETTE    // SHOW PALETTE
819    //    //
820      thefigure->cd();
821    if ( var.PALETTE ) ShowPalette();    if ( var.PALETTE ) ShowPalette();
822    //    //
823    // SHOW VERBOSE INFOS    // SHOW VERBOSE INFOS
# Line 2168  void FEVdetector::ShowTOF(){ Line 2171  void FEVdetector::ShowTOF(){
2171          if ( adc[ch11b[i]][hb11b[i]] < 1000. ){          if ( adc[ch11b[i]][hb11b[i]] < 1000. ){
2172            ms11b[i] = adc[ch11b[i]][hb11b[i]];            ms11b[i] = adc[ch11b[i]][hb11b[i]];
2173          };          };
2174          xp11[i] = 0.;          //      xp11[i] = 0.;
2175        };        };
2176    
2177        Int_t nmtof = 0;        Int_t nmtof = 0;
# Line 2208  void FEVdetector::ShowTOF(){ Line 2211  void FEVdetector::ShowTOF(){
2211          if ( adc[ch12b[i]][hb12b[i]] < 1000. ) ms12b[i] = adc[ch12b[i]][hb12b[i]];          if ( adc[ch12b[i]][hb12b[i]] < 1000. ) ms12b[i] = adc[ch12b[i]][hb12b[i]];
2212          xp12[i] = 0.;          xp12[i] = 0.;
2213        };            };    
2214          //
2215        xp12[0] = ptt->xtofpos[0];        xp12[0] = ptt->xtofpos[0];
2216        //        //
2217        ii = 2;        ii = 2;
# Line 2215  void FEVdetector::ShowTOF(){ Line 2219  void FEVdetector::ShowTOF(){
2219          ii--;          ii--;
2220          if ( adc[ch21a[i]][hb21a[i]] < 1000. ) ms21a[ii] = adc[ch21a[i]][hb21a[i]];          if ( adc[ch21a[i]][hb21a[i]] < 1000. ) ms21a[ii] = adc[ch21a[i]][hb21a[i]];
2221          if ( adc[ch21b[i]][hb21b[i]] < 1000. ) ms21b[ii] = adc[ch21b[i]][hb21b[i]];          if ( adc[ch21b[i]][hb21b[i]] < 1000. ) ms21b[ii] = adc[ch21b[i]][hb21b[i]];
2222          xp12[i] = 0.;          xp21[i] = 0.;
2223        };        };
2224        xp21[0] = ptt->xtofpos[1];        xp21[0] = ptt->xtofpos[1];
2225        //        //

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23