diff --git a/Reconstruction/SiliconTracking/src/SiliconTrackingAlg.cpp b/Reconstruction/SiliconTracking/src/SiliconTrackingAlg.cpp index c10689121..df203553f 100644 --- a/Reconstruction/SiliconTracking/src/SiliconTrackingAlg.cpp +++ b/Reconstruction/SiliconTracking/src/SiliconTrackingAlg.cpp @@ -233,7 +233,6 @@ StatusCode SiliconTrackingAlg::execute(){ //_trackImplVec.reserve(100); int successVTX = InitialiseVTX(); - //int successFTD = 0; int successFTD = InitialiseFTD(); if (successVTX == 1) { @@ -299,10 +298,6 @@ StatusCode SiliconTrackingAlg::execute(){ debug() << "End of picking up remaining hits " << endmsg; - //edm4hep::TrackCollection* trkCol = nullptr; - //edm4hep::LCRelationCollection* relCol = nullptr; - //auto trkCol = _outColHdl.createAndPut(); - //auto relCol = _outRelColHdl.createAndPut(); /* LCCollectionVec * trkCol = new LCCollectionVec(LCIO::TRACK); // if we want to point back to the hits we need to set the flag @@ -2829,43 +2824,9 @@ void SiliconTrackingAlg::FinalRefit(edm4hep::TrackCollection* trk_col) { for (std::vector< std::pair >::iterator it=r2_values.begin(); it!=r2_values.end(); ++it) { trkHits.push_back(it->second); } - //std::cout << "fucd------------------3 " << _trksystem << std::endl; - //for (unsigned ihit_indx=0 ; ihit_indx < trkHits.size(); ++ihit_indx) { - // std::cout << "fucd trk hit " << *trkHits[ihit_indx] << " " << trkHits[ihit_indx]->getCovMatrix()[0] - // << " " << BitSet32(trkHits[ihit_indx]->getType())[ ILDTrkHitTypeBit::COMPOSITE_SPACEPOINT ] << endmsg; - //} - /* - auto _trackSystemSvc = service("TrackSystemSvc"); - if ( !_trackSystemSvc ) { - error() << "Failed to find TrackSystemSvc ..." << endmsg; - return; - } - _trksystem = _trackSystemSvc->getTrackSystem(); - if( _trksystem == 0 ){ - error() << "Cannot initialize MarlinTrkSystem of Type: KalTest" <setOption( IMarlinTrkSystem::CFG::useQMS, _MSOn ) ; - _trksystem->setOption( IMarlinTrkSystem::CFG::usedEdx, _ElossOn) ; - _trksystem->setOption( IMarlinTrkSystem::CFG::useSmoothing, _SmoothOn) ; - _trksystem->init() ; - */ bool fit_backwards = IMarlinTrack::backward; - /* - MarlinTrk::IMarlinTrack* marlinTrk = nullptr; - try{ - marlinTrk = _trksystem->createTrack(); - } - catch(...){ - error() << "Cannot create MarlinTrack ! " << endmsg; - return; - } - */ - int status = 0; debug() << "call createFinalisedLCIOTrack now" << endmsg; try { @@ -2891,7 +2852,6 @@ void SiliconTrackingAlg::FinalRefit(edm4hep::TrackCollection* trk_col) { std::vector > hits_in_fit ; std::vector > outliers ; std::vector all_hits; - //all_hits.reserve(300); UTIL::BitField64 cellID_encoder( UTIL::ILDCellID0::encoder_string ) ;