CMS 3D CMS Logo

PFProducer.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFProducer_PFProducer_h_
2 #define RecoParticleFlow_PFProducer_PFProducer_h_
3 
4 // system include files
5 #include <string>
6 
7 // user include files
11 
12 // useful?
14 
28 
29 class PFAlgo;
31 class GBRForest;
32 
43  public:
44  explicit PFProducer(const edm::ParameterSet&);
45  ~PFProducer();
46 
47  virtual void produce(edm::Event&, const edm::EventSetup&) override;
48  virtual void beginRun(const edm::Run &, const edm::EventSetup &) override;
49 
50  private:
55 
56 
57  std::vector<edm::EDGetTokenT<reco::PFRecHitCollection> > inputTagCleanedHF_;
61 
62  // NEW EGamma Filters
66 
68 
69 
70  //Use of HO clusters and links in PF Reconstruction
71  bool useHO_;
72 
74  bool verbose_;
75 
76  // Post muon cleaning ?
78 
79  // Use PF electrons ?
81 
82  // Use PF photons ?
84 
85  // Use photon regression
97  // what about e/g electrons ?
99 
100  // Use vertices for Neutral particles ?
102 
103  // Take PF cluster calibrations from Global Tag ?
106 
108  // Name of the calibration functions to read from the database
109  // std::vector<std::string> fToRead;
110 
112  std::auto_ptr<PFAlgo> pfAlgo_;
113 
114 };
115 
118 
119 #endif
std::vector< edm::EDGetTokenT< reco::PFRecHitCollection > > inputTagCleanedHF_
Definition: PFProducer.h:57
const GBRForest * ReaderRes_
Definition: PFProducer.h:90
std::string photonExtraOutputCol_
Definition: PFProducer.h:60
const GBRForest * ReaderEcalRes_
Definition: PFProducer.h:96
edm::EDGetTokenT< reco::MuonCollection > inputTagMuons_
Definition: PFProducer.h:52
const GBRForest * ReaderLCEB_
Definition: PFProducer.h:91
const GBRForest * ReaderGCEndCapHighr9_
Definition: PFProducer.h:94
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
std::auto_ptr< PFAlgo > pfAlgo_
particle flow algorithm
Definition: PFProducer.h:112
std::string calibrationsLabel_
Definition: PFProducer.h:105
const GBRForest * ReaderLC_
Definition: PFProducer.h:89
bool useCalibrationsFromDB_
Definition: PFProducer.h:104
bool use_EGammaFilters_
Definition: PFProducer.h:67
edm::EDGetTokenT< reco::VertexCollection > vertices_
Definition: PFProducer.h:53
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition: PFProducer.cc:493
const GBRForest * ReaderLCEE_
Definition: PFProducer.h:92
bool useVerticesForNeutral_
Definition: PFProducer.h:101
PFProducer(const edm::ParameterSet &)
Definition: PFProducer.cc:26
bool postHFCleaning_
Definition: PFProducer.h:107
bool postMuonCleaning_
Definition: PFProducer.h:77
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: PFProducer.cc:409
edm::EDGetTokenT< edm::View< reco::PFCandidate > > inputTagPFEGammaCandidates_
Definition: PFProducer.h:65
edm::EDGetTokenT< reco::PFBlockCollection > inputTagBlocks_
Definition: PFProducer.h:51
const GBRForest * ReaderGCEndCapLowr9_
Definition: PFProducer.h:95
bool useHO_
Definition: PFProducer.h:71
bool useRegressionFromDB_
Definition: PFProducer.h:87
bool usePFElectrons_
Definition: PFProducer.h:80
std::string electronOutputCol_
Definition: PFProducer.h:58
bool verbose_
verbose ?
Definition: PFProducer.h:74
std::string electronExtraOutputCol_
Definition: PFProducer.h:59
bool useEGammaElectrons_
Definition: PFProducer.h:98
edm::EDGetTokenT< edm::ValueMap< reco::PhotonRef > > inputTagValueMapGedPhotons_
Definition: PFProducer.h:64
bool usePFPhotons_
Definition: PFProducer.h:83
const GBRForest * ReaderGCBarrel_
Definition: PFProducer.h:93
Definition: PFAlgo.h:52
Producer for particle flow reconstructed particles (PFCandidates)
Definition: PFProducer.h:42
edm::EDGetTokenT< reco::GsfElectronCollection > inputTagEgammaElectrons_
Definition: PFProducer.h:54
bool usePhotonReg_
Definition: PFProducer.h:86
edm::EDGetTokenT< edm::ValueMap< reco::GsfElectronRef > > inputTagValueMapGedElectrons_
Definition: PFProducer.h:63
Definition: Run.h:42
const GBRForest * ReaderGC_
Definition: PFProducer.h:88