1 #ifndef Calibration_EcalCalibAlgos_PhiSymmetryCalibration_step2_h
2 #define Calibration_EcalCalibAlgos_PhiSymmetryCalibration_step2_h
double esumMean_endc_[kEndcEtaRings]
void fillConstantsHistos()
const edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > channelStatusToken_
double etsumMean_barl_[kBarlRings]
double etsum_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
double esumMean_barl_[kBarlRings]
unsigned int nhits_barl_[kBarlRings][kBarlWedges][kSides]
static const int kBarlRings
~PhiSymmetryCalibration_step2() override
float epsilon_M_endc[kEndcWedgesX][kEndcWedgesY][kSides]
float epsilon_M_barl[kBarlRings][kBarlWedges][kSides]
double k_barl_[kBarlRings]
static const int kBarlWedges
double etsum_barl_[kBarlRings][kBarlWedges][kSides]
PhiSymmetryCalibration_step2(const edm::ParameterSet &iConfig)
static const int kEndcWedgesX
std::vector< DetId > barrelCells
float rawconst_barl[kBarlRings][kBarlWedges][kSides]
double etsum_endc_uncorr[kEndcWedgesX][kEndcWedgesX][kSides]
static const int kEndcEtaRings
std::vector< DetId > endcapCells
double k_endc_[kEndcEtaRings]
const std::string initialmiscalibfile_
EcalIntercalibConstants oldCalibs_
the old calibration constants (when reiterating, the last ones derived)
std::vector< TH1F * > miscal_resid_endc_histos
double etsumMean_endc_[kEndcEtaRings]
std::vector< TH2F * > correl_endc_histos
void setUp(const edm::EventSetup &setup)
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
const bool have_initial_miscalib_
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
const std::string oldcalibfile_
EcalIntercalibConstants miscalib_
initial miscalibration applied if any)
const int statusThreshold_
double esum_barl_[kBarlRings][kBarlWedges][kSides]
std::vector< TH2F * > correl_barl_histos
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