CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFSCEnergyCalibration.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFClusterTools_PFSCEnergyCalibration_h
2 #define RecoParticleFlow_PFClusterTools_PFSCEnergyCalibration_h
4 #include <iostream>
5 
6 
7 // -*- C++ -*-
8 //
9 // Package: PFClusterTools
10 // Class: PFSuperClusterEnergyCalibration
11 //
22 //
23 // Original Author: Daniele Benedetti
24 // Created: Fri Dec 4 10:18:18 CDT 2006
25 
26 
27 
28 
30 {
31  public:
32  PFSCEnergyCalibration(); // default constructor;
33  // needed by PFRootEvent
34 
35  PFSCEnergyCalibration(std::vector<double> &barrelFbremCorr,
36  std::vector<double> &endcapFbremCorr,
37  std::vector<double> &barrelCorr,
38  std::vector<double> &endcapCorr);
39 
40 
42 
43  // ecal calibration
44  double SCCorrFBremBarrel(double e, double et, double brLinear);
45  double SCCorrFBremEndcap(double e, double eta, double brLinear);
46 
47  double SCCorrEtEtaBarrel(double et, double eta);
48  double SCCorrEtEtaEndcap(double et, double eta);
49 
50 
51  private:
52 
53  //fBrem values
54  std::vector<double> barrelFbremCorr_;
55  std::vector<double> endcapFbremCorr_;
56  double pbb[13];
57  double pbe[13];
58 
59  //Eta / ET values
60  std::vector<double> barrelCorr_;
61  std::vector<double> endcapCorr_;
62  double cc[9];
63  double bb[17];
64 
65 };
66 
67 #endif
68 
69 
std::vector< double > endcapCorr_
T eta() const
double SCCorrFBremBarrel(double e, double et, double brLinear)
double SCCorrEtEtaBarrel(double et, double eta)
double SCCorrEtEtaEndcap(double et, double eta)
std::vector< double > barrelCorr_
std::vector< double > endcapFbremCorr_
std::vector< double > barrelFbremCorr_
double SCCorrFBremEndcap(double e, double eta, double brLinear)