Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:23:32

0001 #ifndef PhysicsTools_JetMCAlgos_BasePartonSelector_H
0002 #define PhysicsTools_JetMCAlgos_BasePartonSelector_H
0003 
0004 /**\class BasePartonSelector BasePartonSelector.h PhysicsTools/JetMCAlgos/interface/BasePartonSelector.h
0005  * \brief Base parton selector from which all other generator-specific parton selectors are derived
0006  */
0007 
0008 #include "DataFormats/Common/interface/Handle.h"
0009 #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
0010 #include "DataFormats/HepMCCandidate/interface/GenParticleFwd.h"
0011 
0012 class BasePartonSelector {
0013 public:
0014   BasePartonSelector();
0015   virtual ~BasePartonSelector();
0016 
0017   virtual void run(const edm::Handle<reco::GenParticleCollection>& particles,
0018                    std::unique_ptr<reco::GenParticleRefVector>& partons);
0019 };
0020 
0021 #endif