1 #ifndef Calibration_EcalCalibAlgos_PhiSymmetryCalibration_h
2 #define Calibration_EcalCalibAlgos_PhiSymmetryCalibration_h
float epsilon_M_endc[kEndcWedgesX][kEndcWedgesY][kSides]
static const float kMiscalRangeEB
static const int kNMiscalBinsEB
virtual void endRun(edm::Run &, const edm::EventSetup &)
void setUp(const edm::EventSetup &setup)
std::vector< DetId > endcapCells
static const int kBarlRings
std::vector< TH1F * > et_spectrum_b_histos
float rawconst_barl[kBarlRings][kBarlWedges][kSides]
double esumMean_endc_[kEndcEtaRings]
double esumMean_barl_[kBarlRings]
std::vector< TH1F * > e_spectrum_b_histos
std::vector< DetId > barrelCells
float rawconst_endc[kEndcWedgesX][kEndcWedgesX][kSides]
EcalIntercalibConstants oldCalibs_
the old calibration constants (when reiterating, the last ones derived)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Called at each event.
static const int kBarlWedges
double etsum_endc_miscal_[kNMiscalBinsEE][kEndcEtaRings]
static const int kEndcWedgesX
static const int kEndcEtaRings
std::vector< TH1F * > et_spectrum_e_histos
std::string ecalHitsProducer_
float phi_endc[kMaxEndciPhi][kEndcEtaRings]
double etsum_barl_miscal_[kNMiscalBinsEB][kBarlRings]
double k_endc_[kEndcEtaRings]
unsigned int nhits_barl_[kBarlRings][kBarlWedges][kSides]
int statusThreshold_
threshold in channel status beyond which channel is marked bad
unsigned int nhits_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
PhiSymmetryCalibration(const edm::ParameterSet &iConfig)
Constructor.
double etsum_endc_uncorr[kEndcWedgesX][kEndcWedgesX][kSides]
double etsumMean_endc_[kEndcEtaRings]
double newCalibs_barl[kBarlRings][kBarlWedges][kSides]
~PhiSymmetryCalibration()
Destructor.
virtual void beginJob()
Called at beginning of job.
double etsum_barl_[kBarlRings][kBarlWedges][kSides]
double miscalEB_[kNMiscalBinsEB]
double oldCalibs_barl[kBarlRings][kBarlWedges][kSides]
std::vector< TH1F * > e_spectrum_e_histos
double oldCalibs_endc[kEndcWedgesX][kEndcWedgesY][kSides]
static const int kNMiscalBinsEE
double k_barl_[kBarlRings]
std::string oldcalibfile_
float epsilon_M_barl[kBarlRings][kBarlWedges][kSides]
double etsum_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
double miscalEE_[kNMiscalBinsEE]
double newCalibs_endc[kEndcWedgesX][kEndcWedgesX][kSides]
static const float kMiscalRangeEE
virtual void endJob()
Called at end of job.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
double etsumMean_barl_[kBarlRings]
static const int kMaxEndciPhi
static const int kEndcWedgesY