On 1/18/14, 10:01 AM, Pavel Jez wrote:
> In DataFormats/TauReco/interface/PFTau.h:
> 
>>      reco::TrackRef electronPreIDTrack_;
>>  
>>      // Signal candidates
>> -    PFCandidateRefVector selectedSignalPFCands_,
>> -                         selectedSignalPFChargedHadrCands_,
>> -                         selectedSignalPFNeutrHadrCands_,
>> -                         selectedSignalPFGammaCands_;
>> +    std::vector<reco::PFCandidatePtr> selectedSignalPFCands_;
> 
> I am sorry for the confusion - my explanation was also not completely
> correct. In RecoTauTag/RecoTau/src/RecoTauConstructor.cc you can see how
> they are accessed. The SignalPFChardedHadrons are fillied in
> RecoTauTag/RecoTau/plugins/RecoTauBuilderCombinatoricPlugin.cc (function
> addPFCand defined in RecoTauConstructor) They contain all charged
> PFCands (i.e. charged h, e and mu). The SignalGamma are filled by
> function addPiZeros. We build PiZero collection from "gamma" candidates
> (i.e. PFGammas and PFElectrons) and the function I mention saves the
> daughters of this composite particles, so in principle PFGammas and
> PFElectrons. PFNeutralHadrons is unused at the moment, but is there for
> possible future use. SignalPFCands is then accessor to all 3 other
> collections combined.
> 


Hi Pavel,

I was looking for a list of products in the event to which
the selectedSignalPFCands_ and the rest currently point.
Since you are storing pointers, there have to be actual
objects stored somewhere: where are they (either a full
branch name or just the corresponding InputTag would help).

If all of them point to only
  recoPFCandidates_particleFlow__RECO.
then the persisted type of selectedSignalPFCands_ etc
should be PtrVector<PFCandidate>


Could you please clarify

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

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

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