Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:20

0001 #ifndef HepMCCandidate_GenParticleFwd_h
0002 #define HepMCCandidate_GenParticleFwd_h
0003 #include <vector>
0004 #include "DataFormats/Common/interface/Ref.h"
0005 #include "DataFormats/Common/interface/Ptr.h"
0006 #include "DataFormats/Common/interface/FwdRef.h"
0007 #include "DataFormats/Common/interface/FwdPtr.h"
0008 #include "DataFormats/Common/interface/RefProd.h"
0009 #include "DataFormats/Common/interface/RefVector.h"
0010 #include "DataFormats/Common/interface/Association.h"
0011 
0012 namespace reco {
0013   class GenParticle;
0014   /// collection of GenParticles
0015   typedef std::vector<GenParticle> GenParticleCollection;
0016   /// persistent reference to a GenParticle
0017   typedef edm::Ref<GenParticleCollection> GenParticleRef;
0018   /// persistent reference to a GenParticle
0019   typedef edm::Ptr<GenParticle> GenParticlePtr;
0020   /// forward persistent reference to a GenParticle
0021   typedef edm::FwdPtr<GenParticle> GenParticleFwdPtr;
0022   /// persistent reference to a GenParticle collection
0023   typedef edm::RefProd<GenParticleCollection> GenParticleRefProd;
0024   /// vector of reference to GenParticle in the same collection
0025   typedef edm::RefVector<GenParticleCollection> GenParticleRefVector;
0026   /// vector of reference to GenParticle in the same collection
0027   typedef edm::Association<GenParticleCollection> GenParticleMatch;
0028   // vector of forward persistent reference to a GenParticle
0029   typedef std::vector<GenParticleFwdPtr> GenParticleFwdPtrVector;
0030 }  // namespace reco
0031 
0032 #endif