CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecHitProducer.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFClusterProducer_PFRecHitProducer_h_
2 #define RecoParticleFlow_PFClusterProducer_PFRecHitProducer_h_
3 
4 // system include files
5 #include <memory>
6 #include <vector>
7 
8 // user include files
11 
14 
16 
18 
19 // For RecHits calibration wrt 50 GeV pions.
20 // #include "CondFormats//HcalObjects/interface/HcalRespCorrs.h"
25 
34  public:
35  explicit PFRecHitProducer(const edm::ParameterSet&);
37 
38  virtual void beginRun(const edm::Run& run, const edm::EventSetup & es) override;
39 
40  void produce(edm::Event& iEvent,
41  const edm::EventSetup& iSetup) override;
42 
43 
44 
45  protected:
46 
47  typedef std::map<unsigned, unsigned >::const_iterator IDH;
48 
51  virtual void createRecHits(std::vector<reco::PFRecHit>& rechits,
52  std::vector<reco::PFRecHit>& rechitsCleaned,
53  edm::Event&, const edm::EventSetup&) = 0;
54 
55 
56  // ----------member data ---------------------------
57 
58 
60  bool verbose_;
61 
65 
66  // the access to the response corection factors
67  // const HcalRespCorrs* myRespCorr;
72 };
73 
74 #endif
const HcalPFCorrs * myPFCorr
virtual void createRecHits(std::vector< reco::PFRecHit > &rechits, std::vector< reco::PFRecHit > &rechitsCleaned, edm::Event &, const edm::EventSetup &)=0
virtual void beginRun(const edm::Run &run, const edm::EventSetup &es) override
PFRecHitProducer(const edm::ParameterSet &)
const EcalChannelStatus * theEcalChStatus
bool verbose_
verbose ?
int iEvent
Definition: GenABIO.cc:243
Base producer for particle flow rechits (PFRecHit)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
const HcalChannelQuality * theHcalChStatus
const CaloTowerConstituentsMap * theTowerConstituentsMap
std::map< unsigned, unsigned >::const_iterator IDH
double thresh_Barrel_
rechits with E &lt; threshold will not give rise to a PFRecHit
Definition: Run.h:41