Spot the Error: Why doesnt this delete the OldECEenergyMaps ?
void SchemaUpdator::upDate(ooRef(Event) event) {
ooRef(RawEvent) rawEvent = event->(oocRead);
ooRef(OldECEnergyMap) oldECEM =
(ooRef(OldECEnergyMap)) rawEvent->("OldECEnergyMap");
ooRef(ECEnergyMap) newECEM =
(ooRef(ECEnergyMap)) rawEvent->("ECEnergyMap");
ooRef(ooContObj) mapCont = oldECEM.containedIn();
ooRef(ECEnergyMap) newECEM = new(mapCont)
ECEnergyMap( *(oldECEM.ptr()) );
rawEvent->_rawHitMaps(newECEM);