hi -

it has long been that the methods that dereference a const
datavector&lt;t&gt; (operator[], etc), return a `const t*',
even though the value_type is `t*'.

however, datavector&lt;t&gt;::const_iterator has been inconsistent with this,
in that dereferencing the iterator returns a `t*'.

we are trying to change this feature of datavector::const_iterator, so that
dereferencing it will also return a `const t*', consistent with
datavector.  we hope this will help catch instances where
data objects are unintentionally modified.

these changes are in datamodel-00-23-21.
unfortunately, this requires some changes in client packages.

here are the changes in jetcalibtools that were required to be
compatible with these changes.


+verbatim+
index: src/trackangularcorrection.cxx
===================================================================
--- src/trackangularcorrection.cxx	(revision 447210)
+++ src/trackangularcorrection.cxx	(working copy)
@@ -212,7 +212,7 @@
   jetcollection::const_iterator trkjetitre = trackjetcollection-&gt;end();
 
   jet::hlv_t calohlv = jet_in-&gt;hlv();
-  jet* matchedtj = 0;
+  const jet* matchedtj = 0;
   int index = 0;
   for(;trkjetitr!=trkjetitre;trkjetitr++) {
 
index: jetcalibtools/trackangularcorrection.h
===================================================================
--- jetcalibtools/trackangularcorrection.h	(revision 447210)
+++ jetcalibtools/trackangularcorrection.h	(working copy)
@@ -55,7 +55,7 @@
 
   std::string m_trackjetcollectionkey;
 
-  std::vector&lt;jet*&gt; usedtrackjets;
+  std::vector&lt;const jet*&gt; usedtrackjets;
   
   
 };
-verbatim-


this fixes a typo in the requirements file:

+verbatim+
index: cmt/requirements
===================================================================
--- cmt/requirements	(revision 447210)
+++ cmt/requirements	(working copy)
@@ -63,7 +63,7 @@
 
 use atlasreflex   atlasreflex-*   external -no_auto_imports
 
-apply_pattern lcgdict dict=jetcalibtools selectionfile=selection.xml headerfiles=&quot;..\/jetcalibtools/jetcalibtoolsdict.h&quot;
+apply_pattern lcgdict dict=jetcalibtools selectionfile=selection.xml headerfiles=&quot;../jetcalibtools/jetcalibtoolsdict.h&quot;
 
 
 macro doxygen_image_path &quot;../doc/images&quot;
-verbatim-
