← Back to team overview

kaliveda-dev team mailing list archive

Re: [Question #250731]: Copying a KVRList between different TProcessIDs.

 

Question #250731 on KaliVeda changed:
https://answers.launchpad.net/kaliveda/+question/250731

Peter Wigg gave more information on the question:
I can't figure out how to attach a tarball of my test program so here is
a snippet of main(), the problem starts in SetParameters() and winds up
as stated above failing in SetIDCorrectionParameters() for the E503
telescopes.

 23 Int_t main()
 24 {
 25     new KVDataRepositoryManager();
 26     gDataRepositoryManager->Init();
 27 
 28     new KVDataSetManager();
 29     gDataSet = gDataSetManager->GetDataSet("INDRA_e503");
 30 
 31     if (!gDataSet) {
 32         fprintf(stderr, "Failed to load dataset\n");
 33         return -1;
 34     }
 35 
 36     gDataSet->BuildMultiDetector();
 37 
 38     KVIVDB_e503 *db = static_cast<KVIVDB_e503*>(gDataSet->GetDataBase());
 39     db->cd();
 40 
 41     try {
 42         gVamos->SetParameters(478);
 43     } catch (const std::exception &e) {
 44         fprintf(stderr, "Exception: %s\n", e.what());
 45         return -1;
 46     }

-- 
You received this question notification because you are a member of
KaliVeda Development Team, which is an answer contact for KaliVeda.