34 std::vector<std::string> subDirVec;
38 bool found_reco_dir=
false;
39 bool found_miniaod_dir=
false;
47 found_miniaod_dir=
true;
50 if(found_miniaod_dir && found_reco_dir){
77 MonitorElement* mPtCorrOverReco_Eta_20_40_Reco=iget_.
get(rundir_reco+
"/"+
"PtCorrOverReco_Eta_20_40");
78 MonitorElement* mPtCorrOverReco_Eta_200_600_Reco=iget_.
get(rundir_reco+
"/"+
"PtCorrOverReco_Eta_200_600");
79 MonitorElement* mPtCorrOverReco_Eta_1500_3500_Reco=iget_.
get(rundir_reco+
"/"+
"PtCorrOverReco_Eta_1500_3500");
80 MonitorElement* mPtCorrOverGen_GenEta_40_200_Reco=iget_.
get(rundir_reco+
"/"+
"PtCorrOverGen_GenEta_40_200");
81 MonitorElement* mPtCorrOverGen_GenEta_600_1500_Reco=iget_.
get(rundir_reco+
"/"+
"PtCorrOverGen_GenEta_600_1500");
87 MonitorElement* mchargedHadronMultiplicity_Reco=iget_.
get(rundir_reco+
"/"+
"chargedHadronMultiplicity");
88 MonitorElement* mneutralHadronMultiplicity_Reco=iget_.
get(rundir_reco+
"/"+
"neutralHadronMultiplicity");
89 MonitorElement* mphotonMultiplicity_Reco=iget_.
get(rundir_reco+
"/"+
"photonMultiplicity");
90 MonitorElement* mphotonEnergyFraction_Reco=iget_.
get(rundir_reco+
"/"+
"photonEnergyFraction");
91 MonitorElement* mneutralHadronEnergyFraction_Reco=iget_.
get(rundir_reco+
"/"+
"neutralHadronEnergyFraction");
92 MonitorElement* mchargedHadronEnergyFraction_Reco=iget_.
get(rundir_reco+
"/"+
"chargedHadronEnergyFraction");
94 std::vector<MonitorElement*>ME_Reco;
95 ME_Reco.push_back(mGenPt_Reco);
96 ME_Reco.push_back(mGenPhi_Reco);
97 ME_Reco.push_back(mGenEta_Reco);
98 ME_Reco.push_back(mPt_Reco);
99 ME_Reco.push_back(mPhi_Reco);
100 ME_Reco.push_back(mEta_Reco);
101 ME_Reco.push_back(mCorrJetPt_Reco);
102 ME_Reco.push_back(mCorrJetPhi_Reco);
103 ME_Reco.push_back(mCorrJetEta_Reco);
104 ME_Reco.push_back(mPtCorrOverReco_Eta_20_40_Reco);
105 ME_Reco.push_back(mPtCorrOverReco_Eta_200_600_Reco);
106 ME_Reco.push_back(mPtCorrOverReco_Eta_1500_3500_Reco);
107 ME_Reco.push_back(mPtCorrOverGen_GenEta_40_200_Reco);
108 ME_Reco.push_back(mPtCorrOverGen_GenEta_600_1500_Reco);
109 ME_Reco.push_back(mDeltaEta_Reco);
110 ME_Reco.push_back(mDeltaPhi_Reco);
111 ME_Reco.push_back(mDeltaPt_Reco);
112 ME_Reco.push_back(mMjj_Reco);
113 ME_Reco.push_back(mNJets40_Reco);
114 ME_Reco.push_back(mchargedHadronMultiplicity_Reco);
115 ME_Reco.push_back(mneutralHadronMultiplicity_Reco);
116 ME_Reco.push_back(mphotonMultiplicity_Reco);
117 ME_Reco.push_back(mphotonEnergyFraction_Reco);
118 ME_Reco.push_back(mneutralHadronEnergyFraction_Reco);
119 ME_Reco.push_back(mchargedHadronEnergyFraction_Reco);
130 MonitorElement* mPtCorrOverReco_Eta_20_40_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"PtCorrOverReco_Eta_20_40");
131 MonitorElement* mPtCorrOverReco_Eta_200_600_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"PtCorrOverReco_Eta_200_600");
132 MonitorElement* mPtCorrOverReco_Eta_1500_3500_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"PtCorrOverReco_Eta_1500_3500");
133 MonitorElement* mPtCorrOverGen_GenEta_40_200_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"PtCorrOverGen_GenEta_40_200");
134 MonitorElement* mPtCorrOverGen_GenEta_600_1500_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"PtCorrOverGen_GenEta_600_1500");
140 MonitorElement* mchargedHadronMultiplicity_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"chargedHadronMultiplicity");
141 MonitorElement* mneutralHadronMultiplicity_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"neutralHadronMultiplicity");
142 MonitorElement* mphotonMultiplicity_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"photonMultiplicity");
143 MonitorElement* mphotonEnergyFraction_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"photonEnergyFraction");
144 MonitorElement* mneutralHadronEnergyFraction_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"neutralHadronEnergyFraction");
145 MonitorElement* mchargedHadronEnergyFraction_MiniAOD=iget_.
get(rundir_miniaod+
"/"+
"chargedHadronEnergyFraction");
147 std::vector<MonitorElement*>ME_MiniAOD;
148 ME_MiniAOD.push_back(mGenPt_MiniAOD);
149 ME_MiniAOD.push_back(mGenPhi_MiniAOD);
150 ME_MiniAOD.push_back(mGenEta_MiniAOD);
151 ME_MiniAOD.push_back(mPt_MiniAOD);
152 ME_MiniAOD.push_back(mPhi_MiniAOD);
153 ME_MiniAOD.push_back(mEta_MiniAOD);
154 ME_MiniAOD.push_back(mCorrJetPt_MiniAOD);
155 ME_MiniAOD.push_back(mCorrJetPhi_MiniAOD);
156 ME_MiniAOD.push_back(mCorrJetEta_MiniAOD);
157 ME_MiniAOD.push_back(mPtCorrOverReco_Eta_20_40_MiniAOD);
158 ME_MiniAOD.push_back(mPtCorrOverReco_Eta_200_600_MiniAOD);
159 ME_MiniAOD.push_back(mPtCorrOverReco_Eta_1500_3500_MiniAOD);
160 ME_MiniAOD.push_back(mPtCorrOverGen_GenEta_40_200_MiniAOD);
161 ME_MiniAOD.push_back(mPtCorrOverGen_GenEta_600_1500_MiniAOD);
162 ME_MiniAOD.push_back(mDeltaEta_MiniAOD);
163 ME_MiniAOD.push_back(mDeltaPhi_MiniAOD);
164 ME_MiniAOD.push_back(mDeltaPt_MiniAOD);
165 ME_MiniAOD.push_back(mMjj_MiniAOD);
166 ME_MiniAOD.push_back(mNJets40_MiniAOD);
167 ME_MiniAOD.push_back(mchargedHadronMultiplicity_MiniAOD);
168 ME_MiniAOD.push_back(mneutralHadronMultiplicity_MiniAOD);
169 ME_MiniAOD.push_back(mphotonMultiplicity_MiniAOD);
170 ME_MiniAOD.push_back(mphotonEnergyFraction_MiniAOD);
171 ME_MiniAOD.push_back(mneutralHadronEnergyFraction_MiniAOD);
172 ME_MiniAOD.push_back(mchargedHadronEnergyFraction_MiniAOD);
186 float etarange[91] = {-6.0, -5.8, -5.6, -5.4, -5.2, -5.0, -4.8, -4.6, -4.4, -4.2,
187 -4.0, -3.8, -3.6, -3.4, -3.2, -3.0, -2.9, -2.8, -2.7, -2.6,
188 -2.5, -2.4, -2.3, -2.2, -2.1, -2.0, -1.9, -1.8, -1.7, -1.6,
189 -1.5, -1.4, -1.3, -1.2, -1.1, -1.0, -0.9, -0.8, -0.7, -0.6,
190 -0.5, -0.4, -0.3, -0.2, -0.1,
191 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9,
192 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9,
193 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9,
194 3.0, 3.2, 3.4, 3.6, 3.8, 4.0, 4.2, 4.4, 4.6, 4.8,
195 5.0, 5.2, 5.4, 5.6, 5.8, 6.0};
214 std::vector<MonitorElement*>ME_MiniAOD_over_Reco;
240 for(
unsigned int j=0;j<ME_MiniAOD_over_Reco.size();j++){
244 for(
int i=0;
i<=(monMiniAOD_over_RECO->
getNbinsX()+1);
i++){
MonitorElement * mDeltaPhi_MiniAOD_over_Reco
T getParameter(std::string const &) const
MonitorElement * mneutralHadronMultiplicity_MiniAOD_over_Reco
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * mDeltaEta_MiniAOD_over_Reco
edm::InputTag inputJetLabelRECO_
MonitorElement * get(const std::string &path)
MonitorElement * mPtCorrOverGen_GenEta_40_200_MiniAOD_over_Reco
std::vector< std::string > jet_dirs
MonitorElement * mCorrJetPhi_MiniAOD_over_Reco
MonitorElement * mPtCorrOverGen_GenEta_600_1500_MiniAOD_over_Reco
MonitorElement * mEta_MiniAOD_over_Reco
MonitorElement * mchargedHadronMultiplicity_MiniAOD_over_Reco
MonitorElement * mGenEta_MiniAOD_over_Reco
MonitorElement * mDeltaPt_MiniAOD_over_Reco
MonitorElement * mneutralHadronEnergyFraction_MiniAOD_over_Reco
~JetTesterPostProcessor()
MonitorElement * mCorrJetPt_MiniAOD_over_Reco
MonitorElement * mchargedHadronEnergyFraction_MiniAOD_over_Reco
virtual void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)
MonitorElement * mphotonEnergyFraction_MiniAOD_over_Reco
MonitorElement * mPhi_MiniAOD_over_Reco
MonitorElement * book1D(Args &&...args)
MonitorElement * mPtCorrOverReco_Eta_1500_3500_MiniAOD_over_Reco
MonitorElement * mMjj_MiniAOD_over_Reco
TObject * getRootObject(void) const
void setCurrentFolder(const std::string &fullpath)
JetTesterPostProcessor(const edm::ParameterSet &)
MonitorElement * mGenPt_MiniAOD_over_Reco
MonitorElement * mphotonMultiplicity_MiniAOD_over_Reco
std::vector< std::string > getSubdirs(void)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * mNJets40_MiniAOD_over_Reco
double getBinContent(int binx) const
get content of bin (1-D)
int getNbinsX(void) const
get # of bins in X-axis
MonitorElement * mCorrJetEta_MiniAOD_over_Reco
edm::InputTag inputJetLabelMiniAOD_
MonitorElement * mPt_MiniAOD_over_Reco
MonitorElement * mPtCorrOverReco_Eta_200_600_MiniAOD_over_Reco
MonitorElement * mPtCorrOverReco_Eta_20_40_MiniAOD_over_Reco
MonitorElement * mGenPhi_MiniAOD_over_Reco