kaliveda-dev team mailing list archive
-
kaliveda-dev team
-
Mailing list archive
-
Message #00682
Re: [Question #201649]: cannot locate new idtelescopes in gMultiDetArray
Question #201649 on KaliVeda changed:
https://answers.launchpad.net/kaliveda/+question/201649
Guilain Ademard posted a new comment:
I think it comes from a problem with the string because if you look at
the returned Warning:
in gMultiDetArray 0x34d3ca0lListOfIDTelescopes>: Cannot find ID
telescope CI_CSI_1121
compare to the Warning in the code:
Warning("FillListOfIDTelescopes", "Cannot find ID telescope %s in gMultiDetArray %p",
tel_name.Data(), gMultiDetArray);
the sentence has not the correct shape, the address of gMultiDetArray is
not well placed. Yes the KVIDTelescope exists in the gMultiDetArray but
the tel_name used to find the KVIDTelescope is not correct. It seems
that the special null character '\0' at the end of the name is missing
or something like that.
I think the problem come from the reading of the Ascii files of your
IDGrids. You have probably the same problem if you look at the other
KVGenParList read ( Runlist, IDTelescopes, YScaleFactor, ...) of your
KVIDGrids. Try to print in the method KVIDGraph::ReadFromAsciiFile the
value of the parameters after each fPar->SetValue(name.Data(), value)
the print:
cout<<"---->"<< fPar->GetStringValue(name.Data()) <<"<----"<<endl;
and look at what happens. If the arrows are not at the good place then
there is a problem at this step that probably comes from the Ascii file.
--
You received this question notification because you are a member of
KaliVeda Development Team, which is an answer contact for KaliVeda.