CMS 3D CMS Logo

PhiSymmetryCalibration_step2.h
Go to the documentation of this file.
8 
9 class TH1F;
10 class TH2F;
11 
13 public:
16 
17  void beginJob() override;
18  void endJob() override;
19 
20  void analyze(const edm::Event&, const edm::EventSetup&) override;
21 
22  void fillHistos();
23  void fillConstantsHistos();
24  void setupResidHistos();
25  void outResidHistos();
26 
27  void setUp(const edm::EventSetup& setup);
28 
29  void readEtSums();
30 
31 private:
32  // Transverse energy sum arrays
38 
41 
44 
47 
50 
51  // calibration const not corrected for k
54 
55  // calibration constants not multiplied by old ones
58 
60 
61  std::vector<DetId> barrelCells;
62  std::vector<DetId> endcapCells;
63 
64  bool firstpass_;
66 
69 
72 
75 
78 
82 
84  std::vector<TH1F*> miscal_resid_barl_histos;
85  std::vector<TH2F*> correl_barl_histos;
86 
87  std::vector<TH1F*> miscal_resid_endc_histos;
88  std::vector<TH2F*> correl_endc_histos;
89 };
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)
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