110 std::vector<float> eLossVectorTmp;
111 std::vector<float> eLossVector;
113 for (Int_t iTrack = 0; iTrack < nTracks; iTrack++) {
114 eLossVectorTmp.clear();
122 double_t sumEloss = 0.;
123 for (Int_t iHit = 0; iHit < NHits; iHit++) {
139 for (Int_t iTRD = 0; iTRD < NHits; iTRD++) {
142 eLossVectorTmp.push_back((trdHit->
GetELoss()) * 1000000);
146 for (
unsigned int jVec = 0; jVec < eLossVectorTmp.size(); jVec++)
147 eLossVectorTmp[jVec] = (eLossVectorTmp[jVec] -
fEmp) /
fXi - 0.225;
149 sort(eLossVectorTmp.begin(), eLossVectorTmp.end());
151 for (
unsigned int jVec = 0; jVec < eLossVectorTmp.size(); jVec++) {
152 eLossVectorTmp[jVec] = TMath::LandauI(eLossVectorTmp[jVec]);
155 for (
int iHit = 0; iHit <
fnSet; iHit++)
156 eLossVector.push_back(eLossVectorTmp[NHits -
fnSet + iHit]);
160 Double_t S = 0, ty = 0, ti = 0;
162 for (Int_t i = 0; i <
fnSet; i++) {
167 result_wkn = -
fwkn0 * S;