/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkLevel1.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkLevel1.cpp

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

revision 1.6 by pam-fi, Thu Oct 26 16:22:37 2006 UTC revision 1.8 by pam-fi, Wed Nov 8 16:42:28 2006 UTC
# Line 325  Float_t TrkCluster::GetCOG(Float_t angle Line 325  Float_t TrkCluster::GetCOG(Float_t angle
325      if( view%2 ){   //Y      if( view%2 ){   //Y
326          neta=2;          neta=2;
327      }else{          //X      }else{          //X
328          if( abs(angle) <= 10. ){          if( fabs(angle) <= 10. ){
329              neta = 2;              neta = 2;
330          }else if( abs(angle) > 10. && abs(angle) <= 15. ){          }else if( fabs(angle) > 10. && fabs(angle) <= 15. ){
331              neta = 3;              neta = 3;
332          }else{          }else{
333              neta = 4;              neta = 4;
# Line 550  TrkCluster *TrkLevel1::GetCluster(int is Line 550  TrkCluster *TrkLevel1::GetCluster(int is
550  int TrkLevel1::LoadPfaParam(TString path){  int TrkLevel1::LoadPfaParam(TString path){
551                    
552          if( strcmp(path_.path,path.Data()) ){          if( strcmp(path_.path,path.Data()) ){
553                  cout <<"Loading p.f.a. parameters\n";              cout <<"Loading p.f.a. parameters\n";
554                  strcpy(path_.path,path.Data());              strcpy(path_.path,path.Data());
555                  path_.pathlen = path.Length();              path_.pathlen = path.Length();
556                  path_.error   = 0;              path_.error   = 0;
557                  return readetaparam_();              return readetaparam_();
558          }                }      
559          return 0;          return 0;
560  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23