On 3/19/14, 6:15 AM, Vincenzo Innocente wrote:
> In DataFormats/VertexReco/interface/Vertex.h:
> 
>>      ///returns the weight with which a Track has contributed to the vertex-fit.
>> -    float trackWeight ( const TrackBaseRef & r ) const;
>> -    ///returns the weight with which a Track has contributed to the vertex-fit.
>> -    float trackWeight ( const TrackRef & r ) const;
> 


> I though about it (after had deleted the old code)
> is trivial
> #else
> old interface
> #endif
> I did in other places...

Still confused. Isn't the only c++11 thing here the
"for (auto t: tracks_)" ?
If so, there's no cost to write the same with vector::const_iterator

Did I miss something?


		--slava

> 
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/cms-sw/cmssw/pull/2894/files#r10744729>.
> 

-- 
***********************************************************************
 Vyacheslav (Slava) Krutelyov
 TAMU: Physics Dept Texas A&M MS4242, College Station, TX 77843-4242
 CERN: 42-R-027
 AIM/Skype: siava16              googleTalk: slava77@gmail.com
 (630) 291-5128  Cell (US)       +41 76 275 7116 Cell (CERN)

-----------------------------------------------------------------------