1 |
//
|
2 |
// $Id: PATCompositeCandidateProducer.h,v 1.1 2009/10/20 17:15:14 dgele 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 2009/10/20 17:15:14 dgele 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
|