Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:53

0001 #ifndef Candidate_CandidateFwd_h
0002 #define Candidate_CandidateFwd_h
0003 #include "DataFormats/Common/interface/OwnVector.h"
0004 
0005 namespace reco {
0006   class Candidate;
0007 }
0008 
0009 #include "DataFormats/Common/interface/Ref.h"
0010 #include "DataFormats/Common/interface/Ptr.h"
0011 #include "DataFormats/Common/interface/PtrVector.h"
0012 #include "DataFormats/Common/interface/RefProd.h"
0013 #include "DataFormats/Common/interface/RefVector.h"
0014 #include "DataFormats/Common/interface/RefToBase.h"
0015 #include "DataFormats/Common/interface/RefToBaseVector.h"
0016 #include "DataFormats/Common/interface/RefToBaseProd.h"
0017 #include "DataFormats/Common/interface/View.h"
0018 
0019 namespace reco {
0020   /// collection of Candidate objects

0021   typedef edm::OwnVector<Candidate> CandidateCollection;
0022   /// view of a collection containing candidates

0023   typedef edm::View<Candidate> CandidateView;
0024   /// persistent reference to an object in a collection of Candidate objects

0025   typedef edm::Ptr<Candidate> CandidatePtr;
0026   /// persistent reference to an object in a collection of Candidate objects

0027   typedef edm::PtrVector<Candidate> CandidatePtrVector;
0028   /// persistent reference to an object in a collection of Candidate objects

0029   typedef edm::Ref<CandidateCollection> CandidateRef;
0030   /// persistent reference to an object in a collection of Candidate objects

0031   typedef edm::RefToBase<Candidate> CandidateBaseRef;
0032   /// vector of references to objects in the same  collection of Candidate objects

0033   typedef edm::RefVector<CandidateCollection> CandidateRefVector;
0034   /// vector of references to objects in the same collection of Candidate objects via base type

0035   typedef edm::RefToBaseVector<Candidate> CandidateBaseRefVector;
0036   /// reference to a collection of Candidate objects

0037   typedef edm::RefProd<CandidateCollection> CandidateRefProd;
0038   /// vector of references to objects in the same collection of Candidate objects via base type

0039   typedef edm::RefToBaseProd<Candidate> CandidateBaseRefProd;
0040 }  // namespace reco

0041 
0042 #endif