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
12 
13 // useful?
15 
31 
33 class GBRForest;
34 
45  public:
46  explicit PFProducer(const edm::ParameterSet&);
47 
48  void produce(edm::Event&, const edm::EventSetup&) override;
49  void beginRun(const edm::Run &, const edm::EventSetup &) override;
50 
51  private:
53 
58 
59 
60  std::vector<edm::EDGetTokenT<reco::PFRecHitCollection> > inputTagCleanedHF_;
64 
65  // NEW EGamma Filters
69 
71  std::unique_ptr<PFEGammaFilters> pfegamma_ = nullptr;
72 
73 
74  //Use of HO clusters and links in PF Reconstruction
75  bool useHO_;
76 
78  bool verbose_;
79 
80  // Post muon cleaning ?
82 
83  // Use PF electrons ?
85 
86  // Use PF photons ?
88 
89  // Use photon regression
101  // what about e/g electrons ?
103 
104  // Use vertices for Neutral particles ?
106 
107  // Take PF cluster calibrations from Global Tag ?
110 
112  // Name of the calibration functions to read from the database
113  // std::vector<std::string> fToRead;
114 
117 
118 };
119 
122 
123 #endif
std::vector< edm::EDGetTokenT< reco::PFRecHitCollection > > inputTagCleanedHF_
Definition: PFProducer.h:60
const GBRForest * ReaderRes_
Definition: PFProducer.h:94
std::string photonExtraOutputCol_
Definition: PFProducer.h:63
const GBRForest * ReaderEcalRes_
Definition: PFProducer.h:100
edm::EDGetTokenT< reco::MuonCollection > inputTagMuons_
Definition: PFProducer.h:55
const GBRForest * ReaderLCEB_
Definition: PFProducer.h:95
const GBRForest * ReaderGCEndCapHighr9_
Definition: PFProducer.h:98
std::string calibrationsLabel_
Definition: PFProducer.h:109
const edm::EDPutTokenT< reco::PFCandidateCollection > putToken_
Definition: PFProducer.h:52
const GBRForest * ReaderLC_
Definition: PFProducer.h:93
bool useCalibrationsFromDB_
Definition: PFProducer.h:108
bool use_EGammaFilters_
Definition: PFProducer.h:70
edm::EDGetTokenT< reco::VertexCollection > vertices_
Definition: PFProducer.h:56
void produce(edm::Event &, const edm::EventSetup &) override
Definition: PFProducer.cc:421
std::unique_ptr< PFEGammaFilters > pfegamma_
Definition: PFProducer.h:71
const GBRForest * ReaderLCEE_
Definition: PFProducer.h:96
bool useVerticesForNeutral_
Definition: PFProducer.h:105
PFProducer(const edm::ParameterSet &)
Definition: PFProducer.cc:20
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
bool postHFCleaning_
Definition: PFProducer.h:111
bool postMuonCleaning_
Definition: PFProducer.h:81
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: PFProducer.cc:337
edm::EDGetTokenT< edm::View< reco::PFCandidate > > inputTagPFEGammaCandidates_
Definition: PFProducer.h:68
edm::EDGetTokenT< reco::PFBlockCollection > inputTagBlocks_
Definition: PFProducer.h:54
const GBRForest * ReaderGCEndCapLowr9_
Definition: PFProducer.h:99
bool useHO_
Definition: PFProducer.h:75
bool useRegressionFromDB_
Definition: PFProducer.h:91
PFAlgo pfAlgo_
particle flow algorithm
Definition: PFProducer.h:116
bool usePFElectrons_
Definition: PFProducer.h:84
std::string electronOutputCol_
Definition: PFProducer.h:61
bool verbose_
verbose ?
Definition: PFProducer.h:78
std::string electronExtraOutputCol_
Definition: PFProducer.h:62
bool useEGammaElectrons_
Definition: PFProducer.h:102
edm::EDGetTokenT< edm::ValueMap< reco::PhotonRef > > inputTagValueMapGedPhotons_
Definition: PFProducer.h:67
bool usePFPhotons_
Definition: PFProducer.h:87
const GBRForest * ReaderGCBarrel_
Definition: PFProducer.h:97
Definition: PFAlgo.h:50
Producer for particle flow reconstructed particles (PFCandidates)
Definition: PFProducer.h:44
edm::EDGetTokenT< reco::GsfElectronCollection > inputTagEgammaElectrons_
Definition: PFProducer.h:57
bool usePhotonReg_
Definition: PFProducer.h:90
edm::EDGetTokenT< edm::ValueMap< reco::GsfElectronRef > > inputTagValueMapGedElectrons_
Definition: PFProducer.h:66
Definition: Run.h:45
const GBRForest * ReaderGC_
Definition: PFProducer.h:92