CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PhiSymmetryCalibration_step2.h
Go to the documentation of this file.
1 #ifndef Calibration_EcalCalibAlgos_PhiSymmetryCalibration_step2_h
2 #define Calibration_EcalCalibAlgos_PhiSymmetryCalibration_step2_h
3 
13 
14 class TH1F;
15 class TH2F;
16 
18 public:
21 
22  void beginJob() override;
23  void endJob() override;
24 
25  void analyze(const edm::Event&, const edm::EventSetup&) override;
26 
27  void fillHistos();
28  void fillConstantsHistos();
29  void setupResidHistos();
30  void outResidHistos();
31 
32  void setUp(const edm::EventSetup& setup);
33 
34  void readEtSums();
35 
36 private:
39 
40  // Transverse energy sum arrays
46 
49 
52 
55 
58 
59  // calibration const not corrected for k
62 
63  // calibration constants not multiplied by old ones
66 
68 
69  std::vector<DetId> barrelCells;
70  std::vector<DetId> endcapCells;
71 
72  bool firstpass_;
73  const int statusThreshold_;
74 
75  const bool reiteration_;
77 
80 
83 
86 
90 
92  std::vector<TH1F*> miscal_resid_barl_histos;
93  std::vector<TH2F*> correl_barl_histos;
94 
95  std::vector<TH1F*> miscal_resid_endc_histos;
96  std::vector<TH2F*> correl_endc_histos;
97 };
98 #endif
const edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > channelStatusToken_
double etsum_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
unsigned int nhits_barl_[kBarlRings][kBarlWedges][kSides]
static const int kBarlRings
static const int kSides
float epsilon_M_endc[kEndcWedgesX][kEndcWedgesY][kSides]
float epsilon_M_barl[kBarlRings][kBarlWedges][kSides]
static const int kBarlWedges
double etsum_barl_[kBarlRings][kBarlWedges][kSides]
PhiSymmetryCalibration_step2(const edm::ParameterSet &iConfig)
static const int kEndcWedgesX
float rawconst_barl[kBarlRings][kBarlWedges][kSides]
double etsum_endc_uncorr[kEndcWedgesX][kEndcWedgesX][kSides]
static const int kEndcEtaRings
EcalIntercalibConstants oldCalibs_
the old calibration constants (when reiterating, the last ones derived)
std::vector< TH1F * > miscal_resid_endc_histos
void setUp(const edm::EventSetup &setup)
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
std::vector< TH1F * > miscal_resid_barl_histos
res miscalib histos
unsigned int nhits_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
void analyze(const edm::Event &, const edm::EventSetup &) override
EcalIntercalibConstants miscalib_
initial miscalibration applied if any)
double esum_barl_[kBarlRings][kBarlWedges][kSides]
EcalIntercalibConstants newCalibs_
calib constants that we are going to calculate
float rawconst_endc[kEndcWedgesX][kEndcWedgesX][kSides]
double esum_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
static const int kEndcWedgesY