Skip to content

Commit

Permalink
add etf timing to cdctriggerneuroinput2dfindetracks
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Meggendorfer committed Mar 25, 2022
1 parent 05639c2 commit e2e69bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion trg/cdc/include/Unpacker.h
Original file line number Diff line number Diff line change
Expand Up @@ -1427,12 +1427,17 @@ namespace Belle2 {
trkNN.z, cos(trkNN.theta) / sin(trkNN.theta), 0., track2D->getFoundOldTrack(), track2D->getDriftThreshold(),
track2D->getValidStereoBit(), trkNN.sector, tsvector, iclock, iTracker);
trackNN->setHasETFTime(hasETFTime);
track2D->setHasETFTime(hasETFTime);
trackNN->setRawOmega(track2D->getRawOmega());
trackNN->setRawPhi0(track2D->getRawPhi0());
trackNN->setRawTheta(trkNN.hwTheta);
trackNN->setRawZ(trkNN.hwZ);
if (hasETFTime) {trackNN->setETF_unpacked(std::stoi(p_etftime.data, 0, 2));}
if (hasETFTime) {
trackNN->setETF_unpacked(std::stoi(p_etftime.data, 0, 2));
track2D->setETF_unpacked(std::stoi(p_etftime.data, 0, 2));
}
trackNN->setETF_recalced(recalcETF(p_mlpin_drifttime.data, tstimevector, trackNN));
track2D->setETF_recalced(recalcETF(p_mlpin_drifttime.data, tstimevector, trackNN));

if (isin2d == false) {
trackNN->setQualityVector(1);
Expand Down

0 comments on commit e2e69bc

Please sign in to comment.