![]() |
![]() |
00001 // 00002 // $Id: PATCompositeCandidateProducer.h,v 1.1 2008/12/02 03:36:03 srappocc Exp $ 00003 // 00004 00005 #ifndef PhysicsTools_PatAlgos_PATCompositeCandidateProducer_h 00006 #define PhysicsTools_PatAlgos_PATCompositeCandidateProducer_h 00007 00020 #include "FWCore/Framework/interface/EDProducer.h" 00021 #include "FWCore/Framework/interface/Event.h" 00022 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00023 00024 #include "DataFormats/HepMCCandidate/interface/GenParticleFwd.h" 00025 #include "DataFormats/HepMCCandidate/interface/GenParticle.h" 00026 #include "DataFormats/Common/interface/Association.h" 00027 #include "DataFormats/Common/interface/ValueMap.h" 00028 00029 #include "PhysicsTools/Utilities/interface/EtComparator.h" 00030 00031 #include "DataFormats/PatCandidates/interface/CompositeCandidate.h" 00032 00033 #include "PhysicsTools/PatAlgos/interface/PATUserDataHelper.h" 00034 #include "PhysicsTools/PatAlgos/interface/MultiIsolator.h" 00035 #include "PhysicsTools/PatAlgos/interface/EfficiencyLoader.h" 00036 #include "PhysicsTools/PatAlgos/interface/VertexingHelper.h" 00037 00038 namespace pat { 00039 00040 class PATCompositeCandidateProducer : public edm::EDProducer { 00041 00042 public: 00043 00044 explicit PATCompositeCandidateProducer(const edm::ParameterSet & iConfig); 00045 ~PATCompositeCandidateProducer(); 00046 00047 virtual void produce(edm::Event & iEvent, const edm::EventSetup & iSetup); 00048 00049 private: 00050 00051 // configurables 00052 edm::InputTag src_; // list of reco::CompositeCandidates 00053 00054 bool useUserData_; 00055 pat::PATUserDataHelper<pat::CompositeCandidate> userDataHelper_; 00056 00057 }; 00058 00059 00060 } 00061 00062 #endif