Fork me on GitHub

Ignore:
Timestamp:
Feb 24, 2022, 4:15:47 PM (3 years ago)
Author:
michele <michele.selvaggi@…>
Branches:
master
Children:
2a2f310
Parents:
56fb0be
Message:

added first hit to track

File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/TrackCovariance/ObsTrk.cc

    r56fb0be r3a105e5  
    120120        //if (pt > maxPt) std::cout << "Warning ObsTrk::GenToObsPar: pt " << pt << " is above grid range of " << maxPt << std::endl;
    121121        Double_t minAn = fGC->GetMinAng();
    122         //if (angd < minAn) std::cout << "Warning ObsTrk::GenToObsPar: angle " << angd 
     122        //if (angd < minAn) std::cout << "Warning ObsTrk::GenToObsPar: angle " << angd
    123123        //      << " is below grid range of " << minAn << std::endl;
    124124        Double_t maxAn = fGC->GetMaxAng();
     
    137137        Double_t Xfirst, Yfirst, Zfirst;
    138138        Int_t iLay = trk->FirstHit(Xfirst, Yfirst, Zfirst);
    139         TVector3 fXfirst(Xfirst, Yfirst, Zfirst);
     139        fXfirst = TVector3(Xfirst, Yfirst, Zfirst);
     140  //std::cout<<"obs trk: "<<Xfirst<<","<<Yfirst<<","<<Zfirst<<std::endl;
     141
    140142        if (inside)
    141143        {
Note: See TracChangeset for help on using the changeset viewer.