--- DarthVader/TrackerLevel2/src/TrkLevel2.cpp 2009/03/11 14:19:10 1.54 +++ DarthVader/TrackerLevel2/src/TrkLevel2.cpp 2014/02/27 11:24:43 1.56 @@ -687,7 +687,8 @@ // --- temporaneo ---------------------------- if( XGood(i) || YGood(i) ){ - double segment = 2.;//cm + //NB!! the length of the sensor is not exactely taken into account + double segment = 7.;// 2.;//cm //Elena 10th // NB: i parametri di allineamento hanno una notazione particolare!!! // sensor = 0 (hybrid side), 1 // ladder = 0-2 (increasing x) @@ -697,8 +698,8 @@ int il = (int)GetLadder(i); double omega = 0.; - double beta = 0.; - double gamma = 0.; + // double beta = 0.;// EM GCC 4.7 + // double gamma = 0.; if( (is < 0 || is > 1 || ip < 0 || ip > 5 || il < 0 || il > 2) && true){ @@ -708,8 +709,8 @@ cout << " is ip il = "<zm[i]; axv[i] = track->axv[i]; ayv[i] = track->ayv[i]; + resx[i] = track->resx[i]; //Elena 10th + resy[i] = track->resy[i]; } } @@ -810,8 +813,8 @@ for(int ip=0; ip<6; ip++){ // cout << ip<<" ** "< MA SEI DI COCCIO?!?!"<5||clid<0||il<-1||il>2||is<-1||is>1) + if(ip<0||ip>5||clid<1||il<-1||il>2||is<-1||is>1) cout << " void TrkTrack::SetYGood(int,int,int,int,bool) --> MA SEI DI COCCIO?!?!"<