158 for (std::vector<reco::Photon>::const_iterator pho = recoPhotonsHandle->begin(); pho != recoPhotonsHandle->end();
168 for (std::vector<reco::CaloJet>::const_iterator
jet = recoJetHandle->begin();
jet != recoJetHandle->end(); ++
jet) {
193 for (std::vector<reco::Photon>::const_iterator pho = recoPhotonsHandle->begin(); pho != recoPhotonsHandle->end();
203 for (std::vector<reco::CaloJet>::const_iterator
jet = recoJetHandle->begin();
jet != recoJetHandle->end(); ++
jet) {
246 const int nBins = 500;
248 const float maxError = 0.5;
250 TH2F *hProfile_Chi2 =
new TH2F(
"hProfile_Chi2",
"", nBins, -5, 5, nBins, 0, maxChi2);
251 TH2F *hProfile_Err =
new TH2F(
"hProfile_Err",
"", nBins, -5, 5, nBins, 0, maxError);
253 eb_chi2 = iBooker.
book1D(
"rechit_eb_chi2",
"Rechit eb_chi2;chi2 fit value;", nBins, 0, maxChi2);
261 eb_errors = iBooker.
book1D(
"rechit_eb_errors",
"Rechit eb_errors;error on the energy;", nBins, 0, maxError);
264 "Rechit eb_errors, e>5GeV;error on the energy;",
270 "Rechit eb_chi2 near photons;chi2 fit value;",
275 "Rechit eb_errors near photons;error on the energy;",
280 "Rechit eb_chi2 near jets;chi2 fit value;",
285 "Rechit eb_errors near jets;error on the energy;",
290 ee_chi2 = iBooker.
book1D(
"rechit_ee_chi2",
"Rechit ee_chi2;chi2 fit value;", nBins, 0, maxChi2);
293 "Rechit ee_chi2, e>5GeV;chi2 fit value;",
298 ee_errors = iBooker.
book1D(
"rechit_ee_errors",
"Rechit ee_errors;error on the energy;", nBins, 0, maxError);
301 "Rechit ee_errors, e>5GeV;error on the energy;",
307 "Rechit ee_chi2 near photons;chi2 fit value;",
312 "Rechit ee_errors near photons;error on the energy;",
317 "Rechit ee_chi2 near jets;chi2 fit value;",
322 "Rechit ee_errors near jets;error on the energy;",
327 delete hProfile_Chi2;
MonitorElement * ee_chi2_e5
MonitorElement * eb_errors_eta
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EB_
~ECALMultifitAnalyzer_HI() override
MonitorElement * eb_errors
MonitorElement * ee_errors_eta
MonitorElement * eb_errors_photon15
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * ee_chi2_jet30
std::vector< EcalRecHit >::const_iterator const_iterator
ECALMultifitAnalyzer_HI(const edm::ParameterSet &)
MonitorElement * eb_chi2_eta
MonitorElement * eb_errors_e5_eta
edm::EDGetTokenT< reco::CaloJetCollection > caloJetToken_
MonitorElement * ee_chi2_eta
MonitorElement * ee_errors
#define DEFINE_FWK_MODULE(type)
void setCurrentFolder(std::string const &fullpath)
double mDeltaRJetThreshold
MonitorElement * ee_errors_jet30
MonitorElement * ee_chi2_e5_eta
MonitorElement * book1D(Args &&...args)
MonitorElement * ee_errors_photon15
double mRecoPhotonPtThreshold
MonitorElement * eb_errors_e5
MonitorElement * eb_chi2_e5_eta
double mDeltaRPhotonThreshold
MonitorElement * eb_errors_jet30
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
const_iterator end() const
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * book2D(Args &&...args)
MonitorElement * ee_errors_e5_eta
MonitorElement * eb_chi2_photon15
double mRecoJetPtThreshold
MonitorElement * eb_chi2_e5
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EE_
std::shared_ptr< const CaloCellGeometry > getGeometry(const DetId &id) const
Get the cell geometry of a given detector id.
MonitorElement * ee_chi2_photon15
MonitorElement * eb_chi2_jet30
T const * product() const
edm::EDGetTokenT< std::vector< reco::Photon > > recoPhotonsCollection_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
double mRechitEnergyThreshold
const_iterator begin() const
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
MonitorElement * ee_errors_e5