set reference phase index in the case of a phase vector
This commit is contained in:
parent
3c55a72475
commit
71f8f78b63
@ -4036,6 +4036,8 @@ Bool_t PMsrHandler::ParseFourierPhaseParVector(PMsrFourierStructure &fourier, co
|
|||||||
}
|
}
|
||||||
sstr.Remove(0, rmNoOf); // remove 'par' of 'parR' part. Rest should be an integer
|
sstr.Remove(0, rmNoOf); // remove 'par' of 'parR' part. Rest should be an integer
|
||||||
if (sstr.IsDigit()) {
|
if (sstr.IsDigit()) {
|
||||||
|
if (rmNoOf == 4) // parR
|
||||||
|
fourier.fPhaseRef = sstr.Atoi();
|
||||||
fourier.fPhaseParamNo.push_back(sstr.Atoi());
|
fourier.fPhaseParamNo.push_back(sstr.Atoi());
|
||||||
} else {
|
} else {
|
||||||
cerr << ">> PMsrHandler::ParseFourierPhaseParVector: **ERROR** found token '" << ostr->GetString() << "' which is not parX with X an integer." << endl;
|
cerr << ">> PMsrHandler::ParseFourierPhaseParVector: **ERROR** found token '" << ostr->GetString() << "' which is not parX with X an integer." << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user