118 const int fnQoverPtBins = 100;
120 const double eta_bound = 2.5;
121 const double phi_bound =
M_PI;
122 const double p_bound = 0.5;
123 const double pt_bound = 15;
125 const double z_bound = 0.4;
126 const double d_bound = 0.15;
128 h_DELTA =
new TH1F(
"h_DELTA",
";#delta [GeV]",200,-50,50);
130 h_pt =
new TH1F(
"Pt",
"p_{T} of both #mu; p_{T} [GeV]", 100, 0., 100.);
131 h_pt_pos =
new TH1F(
"Pt_Pos",
"p_{T} of #mu^{+}; p_{T} [GeV]", 100, 0., 100.);
132 h_pt_neg =
new TH1F(
"Pt_Neg",
"p_{T} of #mu^{-}; p_{T} [GeV]", 100, 0., 100.);
134 h_z0 =
new TH1F(
"h_z0",
"z_{0}: longitudinal impact param.; z_{0} [mm]", 100, -150., 150.);
135 h_z0_pos =
new TH1F(
"h_z0_Pos",
"z_{0} of #mu^{+};z_{0} [mm]",100, -150., 150.);
136 h_z0_neg =
new TH1F(
"h_z0_Neg",
"z_{0} of #mu^{-};z_{0} [mm]",100, -150., 150.);
137 h_d0 =
new TH1F(
"h_d0",
"d_{0}: transvers. impact param.; d_{0} [mm]", 100, -0.08, 0.08);
138 h_d0_pos =
new TH1F(
"h_d0_Pos",
"d_{0} of #mu^{+};d_{0} [mm]",100, -0.08, 0.08);
139 h_d0_neg =
new TH1F(
"h_d0_Neg",
"d_{0} of #mu^{-};d_{0} [mm]",100, -0.08, 0.08);
141 h_mass =
new TH1F(
"ZMass",
";Mass [GeV]",100,70,110);
156 entries =
new TH2F(
"entries",
"Entries per #eta-#phi bin;#eta;#phi;entries", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
158 z0delta_vs_etaphi =
new TH3F(
"Delta_z0_VsEtaPhi",
";#eta;#phi;#delta_{z_{0}} [mm]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound, 50,-z_bound,z_bound);
160 z0deltacorrections_vs_etaphi =
new TH2D(
"z0CorrectionVsEtaPhi",
";#eta;#phi;#delta_{z_{0}} [mm]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
162 z0deltacorrections_vs_etaphi_err =
new TH2D(
"z0CorrectionVsEtaPhi_Err",
";#eta;#phi;#delta_{z_{0}}", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
165 z0delta =
new TH1D(
"Delta_z0",
";#delta_{z_{0}} [mm]", 100,-z_bound,z_bound);
167 z0delta_pos =
new TH1D(
"Delta_z0_Pos",
";#delta_{z_{0}} [mm]", 100,-z_bound,z_bound);
169 z0delta_neg =
new TH1D(
"Delta_z0_Neg",
";#delta_{z_{0}} [mm]", 100,-z_bound,z_bound);
171 z0delta_etaphi =
new TH1D(
"Delta_z0_etaphi",
";#delta_{z_{0}} [mm]", 100,-z_bound,z_bound);
173 z0delta_etaphi_pos =
new TH1D(
"Delta_z0_etaphi_Pos",
";#delta_{z_{0}} [mm]", 100,-z_bound,z_bound);
175 z0delta_etaphi_neg =
new TH1D(
"Delta_z0_etaphi_Neg",
";#delta_{z_{0}} [mm]", 100,-z_bound,z_bound);
179 d0delta_vs_etaphi =
new TH3F(
"Delta_d0_VsEtaPhi",
";#eta;#phi;#delta_{d_{0}} [mm]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound, 50,-d_bound, d_bound);
181 d0deltacorrections_vs_etaphi =
new TH2D(
"d0CorrectionVsEtaPhi",
";#eta;#phi;#delta_{d_{0}} [mm]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
183 d0deltacorrections_vs_etaphi_err =
new TH2D(
"d0CorrectionVsEtaPhi_Err",
";#eta;#phi;#delta_{d_{0}}", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
185 d0delta =
new TH1D(
"Delta_d0",
";#delta_{d_{0}} [mm]", 100,-d_bound,d_bound);
187 d0delta_pos =
new TH1D(
"Delta_d0_Pos",
";#delta_{d_{0}} [mm]", 100,-d_bound,d_bound);
189 d0delta_neg =
new TH1D(
"Delta_d0_Neg",
";#delta_{d_{0}} [mm]", 100,-d_bound,d_bound);
191 d0delta_etaphi =
new TH1D(
"Delta_d0_etaphi",
";#delta_{d_{0}} [mm]", 100,-d_bound,d_bound);
193 d0delta_etaphi_pos =
new TH1D(
"Delta_d0_etaphi_Pos",
";#delta_{d_{0}} [mm]", 100,-d_bound,d_bound);
195 d0delta_etaphi_neg =
new TH1D(
"Delta_d0_etaphi_Neg",
";#delta_{d_{0}} [mm]", 100,-d_bound,d_bound);
198 delta_vs_etaphi =
new TH3F(
"DeltaPVsEtaPhi",
";#eta;#phi;#delta_{r}", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound, 100,-p_bound,p_bound);
200 deltacorrections_vs_etaphi =
new TH2D(
"PCorrectionVsEtaPhi",
";#eta;#phi;#delta_{r}", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
202 deltacorrections_vs_etaphi_err =
new TH2D(
"PCorrectionVsEtaPhi_Err",
";#eta;#phi;#delta_{r}", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
205 lambda_vs_etaphi =
new TH3F(
"LambdaVsEtaPhi",
";#eta;#phi;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound, 100,-pt_bound,pt_bound);
207 lambdacorrections_vs_etaphi =
new TH2D(
"LambdaCorrectionVsEtaPhi",
";#eta;#phi;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
208 lambdacorrections_vs_etaphi_err =
new TH2D(
"LambdaCorrectionVsEtaPhi_Err",
";#eta;#phi;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
209 lambdacorrections_vs_etaphi_RMS =
new TH2D(
"LambdaCorrectionVsEtaPhi_RMS",
";#eta;#phi;RMS #delta_{sagitta} [GeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
212 lambda_vs_eta =
new TH2F(
"LambdaVsEta",
";#eta;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, 100,-pt_bound,pt_bound);
213 lambda_vs_eta_pos =
new TH2F(
"LambdaVsEta_Pos",
";#eta;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, 100,-pt_bound,pt_bound);
214 lambda_vs_eta_neg =
new TH2F(
"LambdaVsEta_Neg",
";#eta;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, 100,-pt_bound,pt_bound);
216 lambdacorrections_vs_eta =
new TH1D(
"LambdaCorrectionVsEta",
";#eta;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound);
218 lambda =
new TH1D(
"Lambda",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
219 lambda_pos =
new TH1D(
"Lambda_Pos",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
220 lambda_neg =
new TH1D(
"Lambda_Neg",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
222 lambda_eta =
new TH1D(
"Lambda_eta",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
223 lambda_eta_pos =
new TH1D(
"Lambda_eta_Pos",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
224 lambda_eta_neg =
new TH1D(
"Lambda_eta_Neg",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
226 lambda_etaphi =
new TH1D(
"Lambda_etaphi",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
227 lambda_etaphi_pos =
new TH1D(
"Lambda_etaphi_Pos",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
228 lambda_etaphi_neg =
new TH1D(
"Lambda_etaphi_Neg",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
232 h_pt_truth =
new TH1D(
"Pt_Truth",
";p_{T} [GeV]",500,0,500);
233 h_pt_pos_truth =
new TH1D(
"Pt_Pos_Truth",
";p_{T} [GeV]",500,0,500);
234 h_pt_neg_truth =
new TH1D(
"Pt_Neg_Truth",
";p_{T} [GeV]",500,0,500);
236 delta_vs_etaphi_truth =
new TH3F(
"DeltaPVsEtaPhi_Truth",
";#eta;#phi;#delta_{r}", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound, 100,-p_bound,p_bound);
237 deltacorrections_vs_etaphi_truth =
new TH2D(
"PCorrectionVsEtaPhi_Truth",
";#eta;#phi;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
238 deltacorrections_vs_etaphi_truth_err =
new TH2D(
"PCorrectionVsEtaPhi_Truth_Err",
";#eta;#phi;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
240 lambda_vs_etaphi_truth =
new TH3F(
"LambdaVsEtaPhi_Truth",
";#eta;#phi;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound, 100,-pt_bound,pt_bound);
241 lambdacorrections_vs_etaphi_truth =
new TH2D(
"LambdaCorrectionVsEtaPhi_Truth",
";#eta;#phi;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
242 lambdacorrections_vs_etaphi_truth_err =
new TH2D(
"LambdaCorrectionVsEtaPhi_Truth_Err",
";#eta;#phi;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, fnPhiBins,-phi_bound,phi_bound);
244 lambda_vs_eta_truth =
new TH2F(
"LambdaVsEta_Truth",
";#eta;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, 100,-pt_bound,pt_bound);
247 truth_mom_bias_vs_eta =
new TH2F(
"TruthMomentumBiasVsEta",
";#eta;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, 100,-pt_bound,pt_bound);
250 truth_mass_bias_vs_eta =
new TH2F(
"TruthMassBiasVsEta",
";#eta;#delta_{sagitta} [TeV^{-1}]", fnEtaBins,-eta_bound,eta_bound, 100,-pt_bound,pt_bound);
253 lambda_truth =
new TH1D(
"Lambda_Truth",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
254 lambda_truth_pos =
new TH1D(
"Lambda_Truth_Pos",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
255 lambda_truth_neg =
new TH1D(
"Lambda_Truth_Neg",
";#delta_{sagitta} [TeV^{-1}]", 100,-pt_bound,pt_bound);
257 delta_phi_truth =
new TH1D(
"DeltaPhi_Truth",
";#phi_{Truth} - #phi_{Rec}", 100,-0.01,0.01);
259 delta_eta_truth =
new TH1D(
"DeltaEta_Truth",
";#eta_{Truth} - #eta_{Rec}", 100,-0.01,0.01);
261 delta_M2_vs_zpt_truth =
new TH2D(
"delta_M2_vs_zpt_truth",
";Z p_{T} [GeV]; #Delta (M^2)", 100,0,100, 100, -1.0, 1.0 );
262 delta_M2_vs_zpt =
new TH2D(
"delta_M2_vs_zpt",
";Z p_{T} [GeV]; #Delta (M^2)", 100,0,100, 100, -1.0, 1.0 );
264 delta_M2_vs_etaphi_pos =
new TProfile2D(
"delta_M2_vs_etaphi_pos",
";#eta;#phi; #Delta (M^2)", 20,-2.5,2.5, 20, -3.14, 3.14 );
265 delta_M2_vs_etaphi_neg =
new TProfile2D(
"delta_M2_vs_etaphi_neg",
";#eta;#phi; #Delta (M^2)", 20,-2.5,2.5, 20, -3.14, 3.14 );
270 h_QoverPt =
new TH2F(
"h_QoverPt",
"q/p_{T} whole ID", 2*fnPhiBins, -phi_bound, phi_bound, fnQoverPtBins, -1/pt_bound, 1/pt_bound);
271 h_QoverPt->GetXaxis()->SetTitle(
"#phi [rad]");
272 h_QoverPt->GetYaxis()->SetTitle(
"q/p_{T} [GeV^{-1}]");
274 h_QoverPt3D =
new TH3F(
"h_QoverPt3D",
"q/p_{T} whole ID",
275 fnEtaBins, -eta_bound, eta_bound,
276 2*fnPhiBins, -phi_bound, phi_bound,
277 fnQoverPtBins, -1/pt_bound, 1/pt_bound);
280 h_QoverPt3D->GetZaxis()->SetTitle(
"q/p_{T} [GeV^{-1}]");