Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:54:13

0001 #ifndef ParticleFlowCandidate_PFCandidateFwd_h
0002 #define ParticleFlowCandidate_PFCandidateFwd_h
0003 #include <vector>
0004 #include "DataFormats/Common/interface/Ref.h"
0005 #include "DataFormats/Common/interface/RefProd.h"
0006 #include "DataFormats/Common/interface/RefVector.h"
0007 #include "DataFormats/Common/interface/Ptr.h"
0008 #include "DataFormats/Common/interface/FwdRef.h"
0009 #include "DataFormats/Common/interface/FwdPtr.h"
0010 
0011 namespace reco {
0012   class PFCandidate;
0013 
0014   /// collection of PFCandidates
0015   typedef std::vector<reco::PFCandidate> PFCandidateCollection;
0016 
0017   /// iterator
0018   typedef PFCandidateCollection::const_iterator PFCandidateConstIterator;
0019 
0020   /// iterator
0021   typedef PFCandidateCollection::iterator PFCandidateIterator;
0022 
0023   /// persistent reference to a PFCandidate
0024   typedef edm::Ref<PFCandidateCollection> PFCandidateRef;
0025 
0026   /// persistent Ptr to a PFCandidate
0027   typedef edm::Ptr<PFCandidate> PFCandidatePtr;
0028 
0029   /// persistent reference to a PFCandidates collection
0030   typedef edm::RefProd<PFCandidateCollection> PFCandidateRefProd;
0031 
0032   /// vector of reference to GenParticleCandidate in the same collection
0033   typedef edm::RefVector<PFCandidateCollection> PFCandidateRefVector;
0034 
0035   /// persistent "forward" reference to a PFCandidate
0036   typedef edm::FwdRef<PFCandidateCollection> PFCandidateFwdRef;
0037 
0038   /// persistent FwdPtr to a PFCandidate
0039   typedef edm::FwdPtr<PFCandidate> PFCandidateFwdPtr;
0040 
0041   /// vector of "forward" reference
0042   typedef std::vector<PFCandidateFwdRef> PFCandidateFwdRefVector;
0043 
0044   /// vector of "forward" reference
0045   typedef std::vector<PFCandidateFwdPtr> PFCandidateFwdPtrVector;
0046 
0047 }  // namespace reco
0048 
0049 #endif