66 iEvent.
getByLabel(m_Mid5CorRecJetsSrc, Mid5CorRecJets);
69 iEvent.
getByLabel(m_Mid5CaloJetsSrc, Mid5CaloJets);
71 histoFill(hCalo, Mid5CaloJets, m_eta3, m_eta4);
72 histoFill(hCor, Mid5CorRecJets, m_eta3, m_eta4);
81 hOutputFile =
new TFile( fOutputFileName.c_str(),
"RECREATE" ) ;
84 hInit(hCalo,
"DijetRatio_UnCorrectedJets");
85 hInit(hCor,
"DijetRatio_CorrectedJets");
100 hOutputFile->Close() ;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
DijetRatio< reco::PFJet > DijetRatioPFJets
#define DEFINE_FWK_MODULE(type)
DijetRatio(const edm::ParameterSet &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
DijetRatio< reco::CaloJet > DijetRatioCaloJets
DijetRatio< reco::GenJet > DijetRatioGenJets
void analyze(const edm::Event &, const edm::EventSetup &) override
return(e1-e2)*(e1-e2)+dp *dp
void histoFill(TH1F *jetHisto[], edm::Handle< R > jetsRec, double eta1, double eta2)
void hInit(TH1F *hJet[], const char *name)