On 3/27/14, 11:15 AM, Chris Jones wrote:
> In DataFormats/ParticleFlowCandidate/interface/PFCandidate.h:
> 
>> @@ -130,6 +131,13 @@
>>        return sourcePtr_;
>>      }
>>  
>> +
>> +    /// Set global PF index
>> +    void set_pfIndex( int i) { pfIndex_ = i;}
> 
> Since it is non-const, why restrict?

We need an "authoritative" source of this index.
It's pointless if it can be modified at will.

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

-- 
***********************************************************************
 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)

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