← Back to team overview

kaliveda-dev team mailing list archive

[Branch ~kaliveda-dev/kaliveda/1.8] Rev 571: fixes a bug encountered with INDRA_e503 array:

 

------------------------------------------------------------
revno: 571
committer: John Frankland <frankland@xxxxxxxx>
branch nick: kaliveda
timestamp: Thu 2012-01-26 15:28:36 +0100
message:
  fixes a bug encountered with INDRA_e503 array:
  when UpdateArray is called in KVINDRAe503::Build (after modifying the structure),
  the existing ID telescopes are all destroyed and new ones
  generated (call to SetGroupsAndIDTelescopes).
  But as SetIdentifications is called in KVMultiDetArray::Build,
  the ID grid manager is full of grids which are associated with
  ID telescope pointers which are no longer valid (they point to the old objects).
  Therefore:
     SetGroupsAndIDTelescopes() calls gIDGridManager->Clear() to get rid of any existing grids
     UpdateArray() includes a call to SetIdentifications() to read them back in   
modified:
  KVMultiDet/geometry/KVMultiDetArray.cpp


--
lp:kaliveda
https://code.launchpad.net/~kaliveda-dev/kaliveda/1.8

Your team KaliVeda Development Team is subscribed to branch lp:kaliveda.
To unsubscribe from this branch go to https://code.launchpad.net/~kaliveda-dev/kaliveda/1.8/+edit-subscription