← Back to team overview

kaliveda-dev team mailing list archive

[Bug 1192552] Re: Bug KVMultiDetArray::DetectParticleIn() dans 1.9.0 rev 887

 

** Branch linked: lp:kaliveda

-- 
You received this bug notification because you are a member of KaliVeda
Development Team, which is subscribed to KaliVeda.
https://bugs.launchpad.net/bugs/1192552

Title:
  Bug KVMultiDetArray::DetectParticleIn() dans 1.9.0 rev 887

Status in KaliVeda data analysis framework:
  Fix Committed
Status in KaliVeda 1.9 series:
  Fix Committed

Bug description:
  Il semble il y avoir un bug avec DetectParticleIn()  avec 1.9, je ne
  suis plus capable d'obtenir l'énergie déposée dans le détecteur.

  root [0] new KVDataRepositoryManager;
  root [1] gDataRepositoryManager->Init();
  root [2] gDataSetManager->Print("avail");
  root [3] gDataSetManager->GetDataSet("INDRA_e494s")->cd();
  root [4] gDataSet->BuildMultiDetector();
  root [5] gIndra->SetROOTGeometry( kFALSE );
  root [6] KVNucleus *carbon = new KVNucleus(6,12);
  root [7] carbon->SetEnergy(50);
  root [8] gIndra->DetectParticleIn("CSI_0405", carbon);
  root [9] KVDetector* det1 = gMultiDetArray->GetDetector("CI_0405")

  Dans 1.9.0 rev 887 j'obtiens, 
  root [10] det1->GetEnergy()
  (Double_t)0.00000000000000000e+00
  root [11] det1->GetTheta()
  (const Double_t)(-1.00000000000000000e+00)

  Dans 1.8.10 j'obtiens,
  root [10] det1->GetEnergy()
  (Double_t)3.05306814089379230e+00
  root [11] det1->GetTheta()
  (const Float_t)1.05200004577636719e+01

  Merci,
  Patrick

To manage notifications about this bug go to:
https://bugs.launchpad.net/kaliveda/+bug/1192552/+subscriptions


References