CMS 3D CMS Logo

PFClusterEMEnergyCorrector.h
Go to the documentation of this file.
1 #ifndef __PFClusterEMEnergyCorrector_H__
2 #define __PFClusterEMEnergyCorrector_H__
3 
9 
18 
22 
25 
27  public:
31 
33 
34  private:
36 
39 
40  //required for reading SR flags
44 
45  std::vector<std::string> condnames_mean_;
46  std::vector<std::string> condnames_sigma_;
47 
48  std::vector<std::string> condnames_mean_25ns_;
49  std::vector<std::string> condnames_sigma_25ns_;
50  std::vector<std::string> condnames_mean_50ns_;
51  std::vector<std::string> condnames_sigma_50ns_;
52 
57 
60 
61  std::unique_ptr<PFEnergyCalibration> calibrator_;
62  void getAssociatedPSEnergy(const size_t clusIdx, const reco::PFCluster::EEtoPSAssociation &assoc, float& e1, float& e2);
63 
64  double meanlimlowEB_;
66  double meanoffsetEB_;
67  double meanscaleEB_;
68 
69  double meanlimlowEE_;
71  double meanoffsetEE_;
72  double meanscaleEE_;
73 
77  double sigmascaleEB_;
78 
82  double sigmascaleEE_;
83 
84 };
85 
86 #endif
unique_ptr< ClusterSequence > cs
PFClusterEMEnergyCorrector(const edm::ParameterSet &conf, edm::ConsumesCollector &&cc)
edm::EDGetTokenT< EESrFlagCollection > eeSrFlagToken_
std::unique_ptr< PFEnergyCalibration > calibrator_
edm::EDGetTokenT< unsigned int > bunchSpacing_
edm::EDGetTokenT< EcalRecHitCollection > recHitsEE_
std::vector< std::string > condnames_mean_50ns_
std::vector< std::string > condnames_sigma_25ns_
std::vector< std::string > condnames_mean_25ns_
std::vector< std::pair< CaloClusterPtr::key_type, edm::Ptr< PFCluster > > > EEtoPSAssociation
Definition: PFCluster.h:50
std::vector< std::string > condnames_sigma_
edm::EDGetTokenT< EcalRecHitCollection > recHitsEB_
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
Definition: PFClusterFwd.h:9
edm::EDGetTokenT< EBSrFlagCollection > ebSrFlagToken_
std::vector< std::string > condnames_sigma_50ns_
void correctEnergies(const edm::Event &evt, const edm::EventSetup &es, const reco::PFCluster::EEtoPSAssociation &assoc, reco::PFClusterCollection &cs)
void getAssociatedPSEnergy(const size_t clusIdx, const reco::PFCluster::EEtoPSAssociation &assoc, float &e1, float &e2)
std::vector< std::string > condnames_mean_
PFClusterEMEnergyCorrector & operator=(const PFClusterEMEnergyCorrector &)=delete