--- DarthVader/TrackerLevel2/src/TrkLevel2.cpp 2014/06/04 07:57:04 1.57 +++ DarthVader/TrackerLevel2/src/TrkLevel2.cpp 2014/10/15 08:45:51 1.59 @@ -381,8 +381,8 @@ int first_plane = -1; int last_plane = -1; for(Int_t ip=0; ip<6; ip++){ - if( XGood(ip)*YGood(ip) && first_plane == -1 )first_plane = ip; - if( XGood(ip)*YGood(ip) && first_plane != -1 )last_plane = ip; + if( XGood(ip) && YGood(ip) && first_plane == -1 )first_plane = ip; + if( XGood(ip) && YGood(ip) && first_plane != -1 )last_plane = ip; } if( first_plane == -1 || last_plane == -1){ cout<< "Int_t TrkTrack::GetLeverArmXY() -- XGood(ip)*YGood(ip) always false ??? "<3)chiq=chiq/(GetNX()-3); else chiq=0; - if(chiq==0)cout << " Float_t TrkTrack::GetChi2X() -- WARNING -- value not defined "<2)chiq=chiq/(GetNY()-2); else chiq=0; - if(chiq==0)cout << " Float_t TrkTrack::GetChi2Y() -- WARNING -- value not defined "<GetClass()->GetName(),"TrkTrack")==0){ + if(Track)Track->Clear("C"); + Track = track; + } +} +//-------------------------------------- +// +// +//-------------------------------------- void TrkLevel2::Dump(){ //