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(edm::Run & run, const edm::EventSetup & es);
39  virtual void endRun();
40 
41  void produce(edm::Event& iEvent,
42  const edm::EventSetup& iSetup);
43 
44 
45 
46  protected:
47 
48  typedef std::map<unsigned, unsigned >::const_iterator IDH;
49 
52  virtual void createRecHits(std::vector<reco::PFRecHit>& rechits,
53  std::vector<reco::PFRecHit>& rechitsCleaned,
54  edm::Event&, const edm::EventSetup&) = 0;
55 
56 
57  // ----------member data ---------------------------
58 
59 
61  bool verbose_;
62 
66 
67  // the access to the response corection factors
68  // const HcalRespCorrs* myRespCorr;
73 };
74 
75 #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 endRun()
PFRecHitProducer(const edm::ParameterSet &)
const EcalChannelStatus * theEcalChStatus
bool verbose_
verbose ?
int iEvent
Definition: GenABIO.cc:243
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
Base producer for particle flow rechits (PFRecHit)
const HcalChannelQuality * theHcalChStatus
const CaloTowerConstituentsMap * theTowerConstituentsMap
std::map< unsigned, unsigned >::const_iterator IDH
virtual void beginRun(edm::Run &run, const edm::EventSetup &es)
double thresh_Barrel_
rechits with E &lt; threshold will not give rise to a PFRecHit
Definition: Run.h:33