Skip to content

Commit d37c907

Browse files
TPC timeseries: Adding pt from ITS-TPC track to tree (#12229)
* TPC timeseries: Adding pt from ITS-TPC track to tree * Adding chi2 matching and qPt
1 parent 694c71e commit d37c907

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Detectors/TPC/workflow/src/TPCTimeSeriesSpec.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,6 +1040,8 @@ class TPCTimeSeries : public Task
10401040
const auto& trkOrig = tracksTPC[iTrk];
10411041
const bool isNearestVtx = (idxITSTPC.back() == -1); // is nearest vertex in case no vertex was found
10421042
const float mx_ITS = hasITSTPC ? tracksITSTPC[idxITSTPC.front()].getX() : -1;
1043+
const float pt_ITS = hasITSTPC ? tracksITSTPC[idxITSTPC.front()].getQ2Pt() : -1;
1044+
const float chi2match_ITSTPC = hasITSTPC ? tracksITSTPC[idxITSTPC.front()].getChi2Match() : -1;
10431045
const int nClITS = idxITSCheck ? tracksITS[idxITSTrack].getNClusters() : -1;
10441046
const int chi2ITS = idxITSCheck ? tracksITS[idxITSTrack].getChi2() : -1;
10451047
int typeSide = 2; // A- and C-Side cluster
@@ -1069,6 +1071,7 @@ class TPCTimeSeries : public Task
10691071
<< "isNearestVertex=" << isNearestVtx
10701072
// tpc track properties
10711073
<< "pt=" << trkOrig.getPt()
1074+
<< "qpt_ITSTPC=" << pt_ITS
10721075
<< "tpc_timebin=" << trkOrig.getTime0()
10731076
<< "qpt=" << trkOrig.getParam(4)
10741077
<< "ncl=" << trkOrig.getNClusters()
@@ -1086,6 +1089,7 @@ class TPCTimeSeries : public Task
10861089
<< "mX_ITS=" << mx_ITS
10871090
<< "nClITS=" << nClITS
10881091
<< "chi2ITS=" << chi2ITS
1092+
<< "chi2match_ITSTPC=" << chi2match_ITSTPC
10891093
// meta
10901094
<< "mult=" << mNTracksWindow[iTrk]
10911095
<< "time_window_mult=" << mTimeWindowMUS

0 commit comments

Comments
 (0)