CMS 3D CMS Logo

PhiSymmetryCalibration_step2_SM.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
34 
35  // energy sum for SM calibration
36  // number of crystals in a "supercrystal"
37  static const int nscx = 20;
42 
47 
50 
53 
56 
59 
60  // calibration const not corrected for k
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 
78 
81 
84 
87 
91 
93  std::vector<TH1F*> miscal_resid_barl_histos;
94  std::vector<TH2F*> correl_barl_histos;
95 
96  std::vector<TH1F*> miscal_resid_endc_histos;
97  std::vector<TH2F*> correl_endc_histos;
98 };
PhiSymmetryCalibration_step2_SM::k_barl_
double k_barl_[kBarlRings]
Definition: PhiSymmetryCalibration_step2_SM.h:57
kBarlRings
static const int kBarlRings
Definition: EcalGeomPhiSymHelper.h:7
EcalGeomPhiSymHelper.h
PhiSymmetryCalibration_step2_SM::miscal_resid_barl_histos
std::vector< TH1F * > miscal_resid_barl_histos
res miscalib histos
Definition: PhiSymmetryCalibration_step2_SM.h:93
PhiSymmetryCalibration_step2_SM::newCalibs_
EcalIntercalibConstants newCalibs_
calib constants that we are going to calculate
Definition: PhiSymmetryCalibration_step2_SM.h:83
PhiSymmetryCalibration_step2_SM::initialmiscalibfile_
std::string initialmiscalibfile_
Definition: PhiSymmetryCalibration_step2_SM.h:90
PhiSymmetryCalibration_step2_SM::fillHistos
void fillHistos()
Definition: PhiSymmetryCalibration_step2_SM.cc:402
ESHandle.h
EcalIntercalibConstants.h
PhiSymmetryCalibration_step2_SM::k_endc_
double k_endc_[kEndcEtaRings]
Definition: PhiSymmetryCalibration_step2_SM.h:58
PhiSymmetryCalibration_step2_SM::rawconst_endc
float rawconst_endc[kEndcWedgesX][kEndcWedgesX][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:62
PhiSymmetryCalibration_step2_SM::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: PhiSymmetryCalibration_step2_SM.cc:32
PhiSymmetryCalibration_step2_SM::etsum_barl_SM_
double etsum_barl_SM_[kBarlRings][int(kBarlWedges/nscx)][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:38
PhiSymmetryCalibration_step2_SM::firstpass_
bool firstpass_
Definition: PhiSymmetryCalibration_step2_SM.h:73
PhiSymmetryCalibration_step2_SM::epsilon_M_barl
float epsilon_M_barl[kBarlRings][kBarlWedges][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:65
PhiSymmetryCalibration_step2_SM::etsumMean_barl_SM_
double etsumMean_barl_SM_[kBarlRings]
Definition: PhiSymmetryCalibration_step2_SM.h:40
PhiSymmetryCalibration_step2_SM::setUp
void setUp(const edm::EventSetup &setup)
Definition: PhiSymmetryCalibration_step2_SM.cc:39
EDAnalyzer.h
EcalGeomPhiSymHelper
Definition: EcalGeomPhiSymHelper.h:19
PhiSymmetryCalibration_step2_SM::esum_barl_
double esum_barl_[kBarlRings][kBarlWedges][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:51
EcalCondObjectContainer< float >
kEndcWedgesY
static const int kEndcWedgesY
Definition: EcalGeomPhiSymHelper.h:12
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
PhiSymmetryCalibration_step2_SM::epsilon_M_barl_SM_
double epsilon_M_barl_SM_[kBarlRings][int(kBarlWedges/nscx)][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:41
PhiSymmetryCalibration_step2_SM::~PhiSymmetryCalibration_step2_SM
~PhiSymmetryCalibration_step2_SM() override
Definition: PhiSymmetryCalibration_step2_SM.cc:21
PhiSymmetryCalibration_step2_SM::oldCalibs_
EcalIntercalibConstants oldCalibs_
the old calibration constants (when reiterating, the last ones derived)
Definition: PhiSymmetryCalibration_step2_SM.h:80
PhiSymmetryCalibration_step2_SM::barrelCells
std::vector< DetId > barrelCells
Definition: PhiSymmetryCalibration_step2_SM.h:70
PhiSymmetryCalibration_step2_SM::etsum_barl_
double etsum_barl_[kBarlRings][kBarlWedges][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:33
PhiSymmetryCalibration_step2_SM::nhits_barl_
unsigned int nhits_barl_[kBarlRings][kBarlWedges][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:48
PhiSymmetryCalibration_step2_SM
Definition: PhiSymmetryCalibration_step2_SM.h:12
ProducerBase.h
PhiSymmetryCalibration_step2_SM::statusThreshold_
int statusThreshold_
Definition: PhiSymmetryCalibration_step2_SM.h:74
PhiSymmetryCalibration_step2_SM::have_initial_miscalib_
bool have_initial_miscalib_
Definition: PhiSymmetryCalibration_step2_SM.h:89
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PhiSymmetryCalibration_step2_SM::endcapCells
std::vector< DetId > endcapCells
Definition: PhiSymmetryCalibration_step2_SM.h:71
PhiSymmetryCalibration_step2_SM::e_
EcalGeomPhiSymHelper e_
Definition: PhiSymmetryCalibration_step2_SM.h:68
PhiSymmetryCalibration_step2_SM::etsum_endc_
double etsum_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:43
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
PhiSymmetryCalibration_step2_SM::nscx
static const int nscx
Definition: PhiSymmetryCalibration_step2_SM.h:37
PhiSymmetryCalibration_step2_SM::miscal_resid_endc_histos
std::vector< TH1F * > miscal_resid_endc_histos
Definition: PhiSymmetryCalibration_step2_SM.h:96
createfilelist.int
int
Definition: createfilelist.py:10
PhiSymmetryCalibration_step2_SM::endJob
void endJob() override
Definition: PhiSymmetryCalibration_step2_SM.cc:140
PhiSymmetryCalibration_step2_SM::fillConstantsHistos
void fillConstantsHistos()
Definition: PhiSymmetryCalibration_step2_SM.cc:310
PhiSymmetryCalibration_step2_SM::nBads_barl_SM_
int nBads_barl_SM_[kBarlRings][int(kBarlWedges/nscx)][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:39
PhiSymmetryCalibration_step2_SM::esumMean_barl_
double esumMean_barl_[kBarlRings]
Definition: PhiSymmetryCalibration_step2_SM.h:54
PhiSymmetryCalibration_step2_SM::PhiSymmetryCalibration_step2_SM
PhiSymmetryCalibration_step2_SM(const edm::ParameterSet &iConfig)
Definition: PhiSymmetryCalibration_step2_SM.cc:23
edm::EventSetup
Definition: EventSetup.h:57
PhiSymmetryCalibration_step2_SM::etsumMean_barl_
double etsumMean_barl_[kBarlRings]
Definition: PhiSymmetryCalibration_step2_SM.h:45
PhiSymmetryCalibration_step2_SM::esum_endc_
double esum_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:52
kEndcEtaRings
static const int kEndcEtaRings
Definition: EcalGeomPhiSymHelper.h:14
PhiSymmetryCalibration_step2_SM::oldcalibfile_
std::string oldcalibfile_
Definition: PhiSymmetryCalibration_step2_SM.h:77
kSides
static const int kSides
Definition: EcalGeomPhiSymHelper.h:9
kEndcWedgesX
static const int kEndcWedgesX
Definition: EcalGeomPhiSymHelper.h:11
PhiSymmetryCalibration_step2_SM::setupResidHistos
void setupResidHistos()
Definition: PhiSymmetryCalibration_step2_SM.cc:822
PhiSymmetryCalibration_step2_SM::esumMean_endc_
double esumMean_endc_[kEndcEtaRings]
Definition: PhiSymmetryCalibration_step2_SM.h:55
PhiSymmetryCalibration_step2_SM::correl_barl_histos
std::vector< TH2F * > correl_barl_histos
Definition: PhiSymmetryCalibration_step2_SM.h:94
PhiSymmetryCalibration_step2_SM::rawconst_barl
float rawconst_barl[kBarlRings][kBarlWedges][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:61
PhiSymmetryCalibration_step2_SM::etsum_endc_uncorr
double etsum_endc_uncorr[kEndcWedgesX][kEndcWedgesX][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:44
EventSetup.h
PhiSymmetryCalibration_step2_SM::readEtSums
void readEtSums()
Definition: PhiSymmetryCalibration_step2_SM.cc:785
kBarlWedges
static const int kBarlWedges
Definition: EcalGeomPhiSymHelper.h:8
PhiSymmetryCalibration_step2_SM::nhits_endc_
unsigned int nhits_endc_[kEndcWedgesX][kEndcWedgesX][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:49
edm::Event
Definition: Event.h:73
PhiSymmetryCalibration_step2_SM::outResidHistos
void outResidHistos()
Definition: PhiSymmetryCalibration_step2_SM.cc:848
PhiSymmetryCalibration_step2_SM::reiteration_
bool reiteration_
Definition: PhiSymmetryCalibration_step2_SM.h:76
PhiSymmetryCalibration_step2_SM::beginJob
void beginJob() override
Definition: PhiSymmetryCalibration_step2_SM.cc:109
PhiSymmetryCalibration_step2_SM::etsumMean_endc_
double etsumMean_endc_[kEndcEtaRings]
Definition: PhiSymmetryCalibration_step2_SM.h:46
PhiSymmetryCalibration_step2_SM::epsilon_M_endc
float epsilon_M_endc[kEndcWedgesX][kEndcWedgesY][kSides]
Definition: PhiSymmetryCalibration_step2_SM.h:66
PhiSymmetryCalibration_step2_SM::correl_endc_histos
std::vector< TH2F * > correl_endc_histos
Definition: PhiSymmetryCalibration_step2_SM.h:97
PhiSymmetryCalibration_step2_SM::miscalib_
EcalIntercalibConstants miscalib_
initial miscalibration applied if any)
Definition: PhiSymmetryCalibration_step2_SM.h:86