File indexing completed on 2024-04-06 12:25:26
0001 #ifndef RecoExamples_DijetMass_h
0002 #define RecoExamples_DijetMass_h
0003 #include <TH1.h>
0004 #include <TProfile.h>
0005 #include <TH2.h>
0006
0007 #include <vector>
0008 #include <map>
0009
0010 class TFile;
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0021
0022 template <class Jet>
0023 class DijetMass : public edm::one::EDAnalyzer<> {
0024 public:
0025 DijetMass(const edm::ParameterSet&);
0026
0027 private:
0028 typedef std::vector<Jet> JetCollection;
0029
0030 void beginJob() override;
0031 void analyze(const edm::Event&, const edm::EventSetup&) override;
0032 void endJob() override;
0033
0034
0035 double PtHistMax;
0036 double EtaMax;
0037 std::string histogramFile;
0038 std::string AKJets;
0039 std::string AKCorJets;
0040 std::string ICJets;
0041 std::string ICCorJets;
0042 std::string SCJets;
0043 std::string SCCorJets;
0044 std::string KTJets;
0045 std::string KTCorJets;
0046
0047
0048 TH1F ptAKunc, etaAKunc, phiAKunc, m2jAKunc;
0049 TH1F ptAKcor, etaAKcor, phiAKcor, m2jAKcor;
0050 TH1F ptICunc, etaICunc, phiICunc, m2jICunc;
0051 TH1F ptICcor, etaICcor, phiICcor, m2jICcor;
0052 TH1F ptKTunc, etaKTunc, phiKTunc, m2jKTunc;
0053 TH1F ptKTcor, etaKTcor, phiKTcor, m2jKTcor;
0054 TH1F ptSCunc, etaSCunc, phiSCunc, m2jSCunc;
0055 TH1F ptSCcor, etaSCcor, phiSCcor, m2jSCcor;
0056
0057
0058 TFile* m_file;
0059
0060
0061 int evtCount;
0062 int numJets;
0063 };
0064
0065 #endif