34 std::vector<std::string> subDirVec;
38 bool found_reco_dir=
false;
39 bool found_miniaod_dir=
false;
46 found_miniaod_dir=
true;
49 if(found_miniaod_dir && found_reco_dir){
55 MonitorElement* mMETDifference_GenMETTrue_Reco=iget_.
get(rundir_reco+
"/"+
"METDifference_GenMETTrue");
56 MonitorElement* mMETDeltaPhi_GenMETTrue_Reco=iget_.
get(rundir_reco+
"/"+
"METDeltaPhi_GenMETTrue");
57 MonitorElement* mPFPhotonEtFraction_Reco=iget_.
get(rundir_reco+
"/"+
"photonEtFraction");
58 MonitorElement* mPFNeutralHadronEtFraction_Reco=iget_.
get(rundir_reco+
"/"+
"neutralHadronEtFraction");
59 MonitorElement* mPFChargedHadronEtFraction_Reco=iget_.
get(rundir_reco+
"/"+
"chargedHadronEtFraction");
60 MonitorElement* mPFHFHadronEtFraction_Reco=iget_.
get(rundir_reco+
"/"+
"HFHadronEtFraction");
61 MonitorElement* mPFHFEMEtFraction_Reco=iget_.
get(rundir_reco+
"/"+
"HFEMEtFraction");
62 MonitorElement* mMETDifference_GenMETTrue_MET20to40_Reco=iget_.
get(rundir_reco+
"/"+
"METResolution_GenMETTrue_MET20to40");
63 MonitorElement* mMETDifference_GenMETTrue_MET100to150_Reco=iget_.
get(rundir_reco+
"/"+
"METResolution_GenMETTrue_MET100to150");
64 MonitorElement* mMETDifference_GenMETTrue_MET300to400_Reco=iget_.
get(rundir_reco+
"/"+
"METResolution_GenMETTrue_MET300to400");
66 std::vector<MonitorElement*>ME_Reco;
67 ME_Reco.push_back(mMET_Reco);
68 ME_Reco.push_back(mMETPhi_Reco);
69 ME_Reco.push_back(mSumET_Reco);
70 ME_Reco.push_back(mMETDifference_GenMETTrue_Reco);
71 ME_Reco.push_back(mMETDeltaPhi_GenMETTrue_Reco);
72 ME_Reco.push_back(mPFPhotonEtFraction_Reco);
73 ME_Reco.push_back(mPFNeutralHadronEtFraction_Reco);
74 ME_Reco.push_back(mPFChargedHadronEtFraction_Reco);
75 ME_Reco.push_back(mPFHFHadronEtFraction_Reco);
76 ME_Reco.push_back(mPFHFEMEtFraction_Reco);
77 ME_Reco.push_back(mMETDifference_GenMETTrue_MET20to40_Reco);
78 ME_Reco.push_back(mMETDifference_GenMETTrue_MET100to150_Reco);
79 ME_Reco.push_back(mMETDifference_GenMETTrue_MET300to400_Reco);
85 MonitorElement* mMETDifference_GenMETTrue_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"METDifference_GenMETTrue");
86 MonitorElement* mMETDeltaPhi_GenMETTrue_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"METDeltaPhi_GenMETTrue");
87 MonitorElement* mPFPhotonEtFraction_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"photonEtFraction");
88 MonitorElement* mPFNeutralHadronEtFraction_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"neutralHadronEtFraction");
89 MonitorElement* mPFChargedHadronEtFraction_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"chargedHadronEtFraction");
90 MonitorElement* mPFHFHadronEtFraction_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"HFHadronEtFraction");
91 MonitorElement* mPFHFEMEtFraction_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"HFEMEtFraction");
92 MonitorElement* mMETDifference_GenMETTrue_MET20to40_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"METResolution_GenMETTrue_MET20to40");
93 MonitorElement* mMETDifference_GenMETTrue_MET100to150_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"METResolution_GenMETTrue_MET100to150");
94 MonitorElement* mMETDifference_GenMETTrue_MET300to400_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"METResolution_GenMETTrue_MET300to400");
96 std::vector<MonitorElement*>ME_MiniAOD;
97 ME_MiniAOD.push_back(mMET_MiniAOD);
98 ME_MiniAOD.push_back(mMETPhi_MiniAOD);
99 ME_MiniAOD.push_back(mSumET_MiniAOD);
100 ME_MiniAOD.push_back(mMETDifference_GenMETTrue_MiniAOD);
101 ME_MiniAOD.push_back(mMETDeltaPhi_GenMETTrue_MiniAOD);
102 ME_MiniAOD.push_back(mPFPhotonEtFraction_MiniAOD);
103 ME_MiniAOD.push_back(mPFNeutralHadronEtFraction_MiniAOD);
104 ME_MiniAOD.push_back(mPFChargedHadronEtFraction_MiniAOD);
105 ME_MiniAOD.push_back(mPFHFHadronEtFraction_MiniAOD);
106 ME_MiniAOD.push_back(mPFHFEMEtFraction_MiniAOD);
107 ME_MiniAOD.push_back(mMETDifference_GenMETTrue_MET20to40_MiniAOD);
108 ME_MiniAOD.push_back(mMETDifference_GenMETTrue_MET100to150_MiniAOD);
109 ME_MiniAOD.push_back(mMETDifference_GenMETTrue_MET300to400_MiniAOD);
126 std::vector<MonitorElement*>ME_MiniAOD_over_Reco;
141 for(
unsigned int j=0;j<ME_MiniAOD_over_Reco.size();j++){
145 for(
int i=0;
i<=(monMiniAOD_over_RECO->
getNbinsX()+1);
i++){
T getParameter(std::string const &) const
void setBinContent(int binx, double content)
set content of bin (1-D)
edm::InputTag inputMETLabelMiniAOD_
TObject * getRootObject() const
MonitorElement * get(const std::string &path)
MonitorElement * mMETDifference_GenMETTrue_MiniAOD_over_Reco
MonitorElement * mMETPhi_MiniAOD_over_Reco
MonitorElement * mSumET_MiniAOD_over_Reco
MonitorElement * mPFHFHadronEtFraction_MiniAOD_over_Reco
METTesterPostProcessorHarvesting(const edm::ParameterSet &)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
MonitorElement * book1D(Args &&...args)
MonitorElement * mMET_MiniAOD_over_Reco
MonitorElement * mMETDifference_GenMETTrue_MET20to40_MiniAOD_over_Reco
MonitorElement * mMETDifference_GenMETTrue_MET300to400_MiniAOD_over_Reco
MonitorElement * mPFHFEMEtFraction_MiniAOD_over_Reco
std::vector< std::string > met_dirs
MonitorElement * mMETDeltaPhi_GenMETTrue_MiniAOD_over_Reco
edm::InputTag inputMETLabelRECO_
~METTesterPostProcessorHarvesting() override
MonitorElement * mPFChargedHadronEtFraction_MiniAOD_over_Reco
void setCurrentFolder(const std::string &fullpath)
MonitorElement * mPFPhotonEtFraction_MiniAOD_over_Reco
MonitorElement * mPFNeutralHadronEtFraction_MiniAOD_over_Reco
void setCurrentFolder(const std::string &fullpath)
double getBinContent(int binx) const
get content of bin (1-D)
std::vector< std::string > getSubdirs()
int getNbinsX() const
get # of bins in X-axis
MonitorElement * mMETDifference_GenMETTrue_MET100to150_MiniAOD_over_Reco