|
|
Go to the documentation of this file.
114 mRechitEnergyThreshold(iConfig.getParameter<double>(
"rechitEnergyThreshold")),
115 mRecoPhotonPtThreshold(iConfig.getParameter<double>(
"recoPhotonPtThreshold")),
116 mRecoJetPtThreshold(iConfig.getParameter<double>(
"recoJetPtThreshold")),
117 mDeltaRPhotonThreshold(iConfig.getParameter<double>(
"deltaRPhotonThreshold")),
118 mDeltaRJetThreshold(iConfig.getParameter<double>(
"deltaRJetThreshold")) {}
145 double eta =
geom->getGeometry(
hit->detid())->getPosition().eta();
146 double phi =
geom->getGeometry(
hit->detid())->getPosition().phi();
156 for (std::vector<reco::Photon>::const_iterator pho = recoPhotonsHandle->begin(); pho != recoPhotonsHandle->end();
166 for (std::vector<reco::CaloJet>::const_iterator
jet = recoJetHandle->begin();
jet != recoJetHandle->end(); ++
jet) {
180 double eta =
geom->getGeometry(
hit->detid())->getPosition().eta();
181 double phi =
geom->getGeometry(
hit->detid())->getPosition().phi();
191 for (std::vector<reco::Photon>::const_iterator pho = recoPhotonsHandle->begin(); pho != recoPhotonsHandle->end();
201 for (std::vector<reco::CaloJet>::const_iterator
jet = recoJetHandle->begin();
jet != recoJetHandle->end(); ++
jet) {
244 const int nBins = 500;
246 const float maxError = 0.5;
248 TH2F *hProfile_Chi2 =
new TH2F(
"hProfile_Chi2",
"",
nBins, -5, 5,
nBins, 0,
maxChi2);
249 TH2F *hProfile_Err =
new TH2F(
"hProfile_Err",
"",
nBins, -5, 5,
nBins, 0, maxError);
259 eb_errors = iBooker.
book1D(
"rechit_eb_errors",
"Rechit eb_errors;error on the energy;",
nBins, 0, maxError);
262 "Rechit eb_errors, e>5GeV;error on the energy;",
268 "Rechit eb_chi2 near photons;chi2 fit value;",
273 "Rechit eb_errors near photons;error on the energy;",
278 "Rechit eb_chi2 near jets;chi2 fit value;",
283 "Rechit eb_errors near jets;error on the energy;",
291 "Rechit ee_chi2, e>5GeV;chi2 fit value;",
296 ee_errors = iBooker.
book1D(
"rechit_ee_errors",
"Rechit ee_errors;error on the energy;",
nBins, 0, maxError);
299 "Rechit ee_errors, e>5GeV;error on the energy;",
305 "Rechit ee_chi2 near photons;chi2 fit value;",
310 "Rechit ee_errors near photons;error on the energy;",
315 "Rechit ee_chi2 near jets;chi2 fit value;",
320 "Rechit ee_errors near jets;error on the energy;",
325 delete hProfile_Chi2;
MonitorElement * eb_errors_photon15
ECALMultifitAnalyzer_HI(const edm::ParameterSet &)
MonitorElement * ee_chi2_jet30
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EE_
std::vector< EcalRecHit >::const_iterator const_iterator
MonitorElement * ee_chi2_e5_eta
~ECALMultifitAnalyzer_HI() override
MonitorElement * eb_errors_eta
edm::EDGetTokenT< std::vector< reco::Photon > > recoPhotonsCollection_
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * eb_chi2_jet30
MonitorElement * ee_errors_jet30
MonitorElement * ee_chi2_e5
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * ee_errors_photon15
edm::EDGetTokenT< reco::CaloJetCollection > caloJetToken_
#define DEFINE_FWK_MODULE(type)
MonitorElement * eb_chi2_e5_eta
double mDeltaRJetThreshold
MonitorElement * ee_errors_e5_eta
const_iterator begin() const
MonitorElement * eb_chi2_photon15
MonitorElement * ee_errors
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
const_iterator end() const
MonitorElement * eb_chi2_e5
MonitorElement * eb_chi2_eta
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
MonitorElement * eb_errors_jet30
double mRecoJetPtThreshold
double mDeltaRPhotonThreshold
MonitorElement * eb_errors_e5
MonitorElement * ee_chi2_eta
bool getData(T &iHolder) const
MonitorElement * ee_errors_e5
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EB_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomH
MonitorElement * eb_errors
double mRecoPhotonPtThreshold
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
MonitorElement * ee_errors_eta
MonitorElement * ee_chi2_photon15
double mRechitEnergyThreshold
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * eb_errors_e5_eta