CMS 3D CMS Logo

PhiSymmetryCalibration_step2.h
Go to the documentation of this file.
8 
9 class TH1F;
10 class TH2F;
11 
13 {
14 
15  public:
16 
19 
20  void beginJob();
21  void endJob();
22 
23  void analyze( const edm::Event&, const edm::EventSetup& );
24 
25  void fillHistos();
26  void fillConstantsHistos();
27  void setupResidHistos();
28  void outResidHistos();
29 
30  void setUp(const edm::EventSetup& setup);
31 
32  void readEtSums();
33 
34  private:
35 
36 
37 
38 
39  // Transverse energy sum arrays
45 
48 
49 
52 
55 
58 
59  // calibration const not corrected for k
62 
63 
64  // calibration constants not multiplied by old ones
67 
69 
70  std::vector<DetId> barrelCells;
71  std::vector<DetId> endcapCells;
72 
73  bool firstpass_;
75 
76 
79 
82 
85 
86 
89 
93 
94 
96  std::vector<TH1F*> miscal_resid_barl_histos;
97  std::vector<TH2F*> correl_barl_histos;
98 
99  std::vector<TH1F*> miscal_resid_endc_histos;
100  std::vector<TH2F*> correl_endc_histos;
101 
102 };
double etsum_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
unsigned int nhits_barl_[kBarlRings][kBarlWedges][kSides]
static const int kBarlRings
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
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]
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]
void analyze(const edm::Event &, const edm::EventSetup &)
double esum_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
static const int kEndcWedgesY