ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DGele/PhysicsTools/PatAlgos/plugins/PATCompositeCandidateProducer.h
Revision: 1.1.1.1 (vendor branch)
Committed: Tue Oct 20 17:15:14 2009 UTC (15 years, 6 months ago) by dgele
Content type: text/plain
Branch: ANA
CVS Tags: start
Changes since 1.1: +0 -0 lines
Log Message:
version CMSSW_2_2_10

File Contents

# User Rev Content
1 dgele 1.1 //
2     // $Id: PATCompositeCandidateProducer.h,v 1.1.2.1 2009/04/30 09:11:45 gpetrucc Exp $
3     //
4    
5     #ifndef PhysicsTools_PatAlgos_PATCompositeCandidateProducer_h
6     #define PhysicsTools_PatAlgos_PATCompositeCandidateProducer_h
7    
8     /**
9     \class pat::PATCompositeCandidateProducer PATCompositeCandidateProducer.h "PhysicsTools/PatAlgos/interface/PATCompositeCandidateProducer.h"
10     \brief Produces the pat::CompositeCandidate
11    
12     The PATCompositeCandidateProducer produces the analysis-level pat::CompositeCandidate starting from
13     any collection of Candidates
14    
15     \author Salvatore Rappoccio
16     \version $Id: PATCompositeCandidateProducer.h,v 1.1.2.1 2009/04/30 09:11:45 gpetrucc Exp $
17     */
18    
19    
20     #include "FWCore/Framework/interface/EDProducer.h"
21     #include "FWCore/Framework/interface/Event.h"
22     #include "FWCore/ParameterSet/interface/ParameterSet.h"
23    
24     #include "DataFormats/HepMCCandidate/interface/GenParticleFwd.h"
25     #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
26     #include "DataFormats/Common/interface/Association.h"
27     #include "DataFormats/Common/interface/ValueMap.h"
28    
29     #include "PhysicsTools/Utilities/interface/EtComparator.h"
30    
31     #include "DataFormats/PatCandidates/interface/CompositeCandidate.h"
32    
33     #include "PhysicsTools/PatAlgos/interface/PATUserDataHelper.h"
34     #include "PhysicsTools/PatAlgos/interface/MultiIsolator.h"
35     #include "PhysicsTools/PatAlgos/interface/EfficiencyLoader.h"
36     #include "PhysicsTools/PatAlgos/interface/KinResolutionsLoader.h"
37     #include "PhysicsTools/PatAlgos/interface/VertexingHelper.h"
38    
39     namespace pat {
40    
41     class PATCompositeCandidateProducer : public edm::EDProducer {
42    
43     public:
44    
45     explicit PATCompositeCandidateProducer(const edm::ParameterSet & iConfig);
46     ~PATCompositeCandidateProducer();
47    
48     virtual void produce(edm::Event & iEvent, const edm::EventSetup & iSetup);
49    
50     private:
51    
52     // configurables
53     edm::InputTag src_; // list of reco::CompositeCandidates
54    
55     bool useUserData_;
56     pat::PATUserDataHelper<pat::CompositeCandidate> userDataHelper_;
57    
58     bool addEfficiencies_;
59     pat::helper::EfficiencyLoader efficiencyLoader_;
60    
61     bool addResolutions_;
62     pat::helper::KinResolutionsLoader resolutionLoader_;
63     };
64    
65    
66     }
67    
68     #endif