New question #201649 on KaliVeda:
https://answers.launchpad.net/kaliveda/+question/201649

I'm testing the new INDRA_e503 idtelescopes in my new branch at the moment (for 
simplicity just ChIoCorrSi) and when I build the multidetector, I get to 
<KVIDChIoSiCorr::SetIdentificationParameters> and I keep getting errors like:

"Cannot find ID telescope CI_SI_0909"  (For ALL module numbers)

This problem isn't present in my other branch (which still has a lot of old 
stuff in it, so may be masking my problem).

I've located the code that generates this warning in KVIDGraph:

    KVIDTelescope* idt = gMultiDetArray->GetIDTelescope( tel_name.Data() ) ;
    if( idt ) fTelescopes.Add( idt );
    else {
        Warning("FillListOfIDTelescopes", "Cannot find ID telescope %s in 
gMultiDetArray %p",
                         tel_name.Data(), gMultiDetArray);
    }

Curiously though, once the multidetector has been built, if I perform the same 
command:

root [1] KVIDTelescope *kvt = gMultiDetArray->GetIDTelescope("CI_SI_0909")

root [2] kvt
(class KVIDTelescope*)0x18b1080

root [3] kvt->Print()
                                                                                
                                                                                
               
Structure of KVIDTelescope object: CI_SI_0909 CI_SI
--------------------------------------------------------
Detector: CI_0809
Detector: SI_0909

I would just like to know if you think this is a bug or whether I need to 
implement specific SetIdentificationParameters() methods in each of the new 
telescopes, instead of inheriting the method from KVIDTelescope? 

Thanks,

Peter

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

_______________________________________________
Mailing list: https://launchpad.net/~kaliveda-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kaliveda-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to