CMS 3D CMS Logo

SCEnergyCorrectorSemiParm.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------------------------------
2 // $Id $
3 //
4 // SCEnergyCorrectorSemiParm
5 //
6 // Helper Class for applying regression-based energy corrections with optimized BDT implementation
7 //
8 // Authors: J.Bendavid
9 //--------------------------------------------------------------------------------------------------
10 
11 #ifndef EGAMMATOOLS_SCEnergyCorrectorSemiParm_H
12 #define EGAMMATOOLS_SCEnergyCorrectorSemiParm_H
13 
15 
29 
31  public:
34 
35  void setTokens(const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc);
36 
37  std::pair<double,double> getCorrections(const reco::SuperCluster &sc) const;
39 
40  void setEventSetup(const edm::EventSetup &es);
41  void setEvent(const edm::Event &e);
42 
43  protected:
48 
51 
55 
59 
63 
68 
69  private:
70  bool isHLT_;
71  bool applySigmaIetaIphiBug_; //there was a bug in sigmaIetaIphi for the 74X application
73  float eThreshold_;
74 };
75 #endif
void modifyObject(reco::SuperCluster &sc)
edm::Handle< EcalRecHitCollection > rechitsEE_
edm::EDGetTokenT< EcalRecHitCollection > tokenEERecHits_
edm::Handle< EcalRecHitCollection > rechitsEB_
edm::ESHandle< CaloTopology > calotopo_
void setEventSetup(const edm::EventSetup &es)
edm::EDGetTokenT< EcalRecHitCollection > tokenEBRecHits_
void setEvent(const edm::Event &e)
edm::Handle< reco::VertexCollection > vertices_
void setTokens(const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)
edm::EDGetTokenT< reco::VertexCollection > tokenVertices_
std::pair< double, double > getCorrections(const reco::SuperCluster &sc) const
edm::ESHandle< CaloGeometry > calogeom_