70 int nbinsDeltaEta = 1000;
74 int nbinsDeltaPhi = 1000;
83 BOOK2D(DeltaEtvsEt,
"#DeltaE_{T} vs E_{T}",
84 nbinsEt, minEt, maxEt,
86 BOOK2D(DeltaEtOverEtvsEt,
"#DeltaE_{T}/E_{T} vsE_{T}",
87 nbinsEt, minEt, maxEt,
89 BOOK2D(DeltaEtvsEta,
"#DeltaE_{T} vs #eta",
90 nbinsEta, minEta, maxEta,
92 BOOK2D(DeltaEtOverEtvsEta,
"#DeltaE_{T}/E_{T} vs #eta",
93 nbinsEta, minEta, maxEta,
95 BOOK2D(DeltaEtvsPhi,
"#DeltaE_{T} vs #phi",
98 BOOK2D(DeltaEtOverEtvsPhi,
"#DeltaE_{T}/E_{T} vs #Phi",
101 BOOK2D(DeltaEtvsDeltaR,
"#DeltaE_{T} vs #DeltaR",
104 BOOK2D(DeltaEtOverEtvsDeltaR,
"#DeltaE_{T}/E_{T} vs #DeltaR",
109 BOOK1D(
DeltaEta,
"#Delta#eta",nbinsDeltaEta,minDeltaEta,maxDeltaEta);
110 BOOK2D(DeltaEtavsEt,
"#Delta#eta vs E_{T}",
111 nbinsEt, minEt, maxEt,
112 nbinsDeltaEta,minDeltaEta,maxDeltaEta);
113 BOOK2D(DeltaEtavsEta,
"#Delta#eta vs #eta",
114 nbinsEta, minEta, maxEta,
115 nbinsDeltaEta,minDeltaEta,maxDeltaEta);
119 BOOK2D(DeltaPhivsEt,
"#Delta#phi vs E_{T}",
120 nbinsEt, minEt, maxEt,
122 BOOK2D(DeltaPhivsEta,
"#Delta#phi vs #eta",
123 nbinsEta, minEta, maxEta,
128 BOOK2D(DeltaRvsEt,
"#DeltaR vs E_{T}",
129 nbinsEt, minEt, maxEt,
131 BOOK2D(DeltaRvsEta,
"#DeltaR vs #eta",
132 nbinsEta, minEta, maxEta,
135 BOOK1D(NRec,
"Number of reconstructed objects",20,0,20);
138 BOOK1D(EtaSeen,
"seen #eta",100,-5,5);
139 BOOK1D(PhiSeen,
"seen #phi",100,-3.5,3.5);
140 BOOK1D(EtSeen,
"seen E_{T}",nbinsEt, minEt, maxEt);
141 BOOK2D(EtvsEtaSeen,
"seen E_{T} vs eta",100,-5,5,200, 0, 200);
142 BOOK2D(EtvsPhiSeen,
"seen E_{T} vs seen #phi",100,-3.5,3.5,200, 0, 200);
144 BOOK1D(PhiRec,
"Rec #phi",100,-3.5,3.5);
145 BOOK1D(EtRec,
"Rec E_{T}",nbinsEt, minEt, maxEt);
146 BOOK1D(ExRec,
"Rec E_{X}",nbinsEt, -maxEt, maxEt);
147 BOOK1D(EyRec,
"Rec E_{Y}",nbinsEt, -maxEt, maxEt);
149 BOOK2D(EtRecvsEt,
"Rec E_{T} vs E_{T}",
150 nbinsEt, minEt, maxEt,
151 nbinsEt, minEt, maxEt);
152 BOOK2D(EtRecOverTrueEtvsTrueEt,
"Rec E_{T} / E_{T} vs E_{T}",
153 nbinsEt, minEt, maxEt,
156 BOOK1D(EtaGen,
"generated #eta",100,-5,5);
157 BOOK1D(PhiGen,
"generated #phi",100,-3.5,3.5);
158 BOOK1D(EtGen,
"generated E_{T}",nbinsEt, minEt, maxEt);
159 BOOK2D(EtvsEtaGen,
"generated E_{T} vs generated #eta",100,-5,5,200, 0, 200);
160 BOOK2D(EtvsPhiGen,
"generated E_{T} vs generated #phi",100,-3.5,3.5, 200, 0, 200);
162 BOOK1D(NGen,
"Number of generated objects",20,0,20);
166 BOOK1D(SumEt,
"SumEt", 1000, 0., 3000.);
167 BOOK1D(TrueSumEt,
"TrueSumEt", 1000, 0., 3000.);
168 BOOK2D(DeltaSetvsSet,
"#DeltaSEt vs trueSEt",
171 BOOK2D(DeltaMexvsSet,
"#DeltaMEX vs trueSEt",
174 BOOK2D(DeltaSetOverSetvsSet,
"#DeltaSetOverSet vs trueSet",
177 BOOK2D(RecSetvsTrueSet,
"Set vs trueSet",
180 BOOK2D(RecSetOverTrueSetvsTrueSet,
"Set/trueSet vs trueSet",
183 BOOK2D(TrueMexvsTrueSet,
"trueMex vs trueSet",
185 nbinsEt, -maxEt, maxEt);
193 SETAXES(DeltaEt,
"#DeltaE_{T} [GeV]",
"");
194 SETAXES(DeltaEx,
"#DeltaE_{X} [GeV]",
"");
195 SETAXES(DeltaEy,
"#DeltaE_{Y} [GeV]",
"");
196 SETAXES(DeltaEtvsEt,
ET,
"#DeltaE_{T} [GeV]");
197 SETAXES(DeltaEtOverEtvsEt,
ET,
"#DeltaE_{T}/E_{T}");
198 SETAXES(DeltaEtvsEta,
ETA,
"#DeltaE_{T} [GeV]");
199 SETAXES(DeltaEtOverEtvsEta,
ETA,
"#DeltaE_{T}/E_{T}");
200 SETAXES(DeltaEtvsPhi,
PHI,
"#DeltaE_{T} [GeV]");
201 SETAXES(DeltaEtOverEtvsPhi,
PHI,
"#DeltaE_{T}/E_{T}");
202 SETAXES(DeltaEtvsDeltaR,
"#DeltaR",
"#DeltaE_{T} [GeV]");
203 SETAXES(DeltaEtOverEtvsDeltaR,
"#DeltaR",
"#DeltaE_{T}/E_{T}");
212 SETAXES(DeltaPhivsEt,
ET,
"#Delta#phi [rad]");
213 SETAXES(DeltaPhivsEta,
ETA,
"#Delta#phi [rad]");
220 SETAXES(NRec,
"Number of Rec Objects",
"");
222 SETAXES(EtaSeen,
"seen #eta",
"");
223 SETAXES(PhiSeen,
"seen #phi [rad]",
"");
224 SETAXES(EtSeen,
"seen E_{T} [GeV]",
"");
225 SETAXES(EtvsEtaSeen,
"seen #eta",
"seen E_{T}");
226 SETAXES(EtvsPhiSeen,
"seen #phi [rad]",
"seen E_{T}");
228 SETAXES(PhiRec,
"#phi [rad]",
"");
229 SETAXES(EtRec,
"E_{T} [GeV]",
"");
230 SETAXES(ExRec,
"E_{X} [GeV]",
"");
231 SETAXES(EyRec,
"E_{Y} [GeV]",
"");
233 SETAXES(EtRecOverTrueEtvsTrueEt,
ET,
"Rec E_{T} / E_{T} [GeV]");
235 SETAXES(EtaGen,
"generated #eta",
"");
236 SETAXES(PhiGen,
"generated #phi [rad]",
"");
237 SETAXES(EtGen,
"generated E_{T} [GeV]",
"");
238 SETAXES(EtvsPhiGen,
"generated #phi [rad]",
"generated E_{T} [GeV]");
239 SETAXES(EtvsEtaGen,
"generated #eta",
"generated E_{T} [GeV]");
241 SETAXES(NGen,
"Number of Gen Objects",
"");
245 SETAXES(SumEt,
"SumEt [GeV]",
"");
246 SETAXES(TrueSumEt,
"TrueSumEt [GeV]",
"");
247 SETAXES(DeltaSetvsSet,
"TrueSumEt",
"#DeltaSumEt [GeV]");
248 SETAXES(DeltaMexvsSet,
"TrueSumEt",
"#DeltaMEX [GeV]");
249 SETAXES(DeltaSetOverSetvsSet,
"TrueSumEt",
"#DeltaSumEt/trueSumEt");
250 SETAXES(RecSetvsTrueSet,
"TrueSumEt",
"SumEt");
251 SETAXES(RecSetOverTrueSetvsTrueSet,
"TrueSumEt",
"SumEt/trueSumEt");
252 SETAXES(TrueMexvsTrueSet,
"TrueSumEt",
"TrueMEX");
255 TDirectory* oldpwd = gDirectory;
258 TIter
next( gROOT->GetListOfFiles() );
260 const bool debug=
false;
262 while ( TFile *
file = (TFile *)
next() )
264 if (debug)
cout<<
"file "<<
file->GetName()<<endl;
268 cout<<
"DQM subdir"<<endl;
269 cout<<
DQM->pwd().c_str()<<endl;
276 cout<<
"current dir"<<endl;
#define BOOK1D(name, title, nbinsx, lowx, highx)
#define BOOK2D(name, title, nbinsx, lowx, highx, nbinsy, lowy, highy)
#define SETAXES(name, xtitle, ytitle)