25 double dx = mc[0] - tmp_T.
x[0];
26 double dy = mc[1] - tmp_T.
y[0];
27 double dtx = mc[2] - tmp_T.
tx[0];
28 double dty = mc[3] - tmp_T.
ty[0];
29 double dqp = mc[4] - tmp_T.
qp[0];
32 double stx =
sqrt(tmp_T.
C22[0]);
33 double sty =
sqrt(tmp_T.
C33[0]);
34 double sqp =
sqrt(tmp_T.
C44[0]);
48 static bool first_call = 1;
50 TDirectory* curdir = gDirectory;
53 gDirectory->mkdir(
"L1ALGO");
54 gDirectory->cd(
"L1ALGO");
55 for (
int ist = 0; ist < algo->
NStations; ist++) {
57 sprintf(stname,
"%i", ist);
58 gDirectory->mkdir(stname);
59 gDirectory->cd(stname);
63 const char* stepname[3] = {
"D0",
"Ref",
"Sec"};
64 for (
int istep = 0; istep < 3; istep++) {
65 gDirectory->mkdir(stepname[istep]);
66 gDirectory->cd(stepname[istep]);
69 new TH1F(
"h_nduplets",
"h_nduplets", 50, 0, 5000);
71 const char* lmr[3] = {
"left",
"middle",
"right"};
72 for (
int ilmr = 0; ilmr < 3; ilmr++) {
73 gDirectory->mkdir(lmr[ilmr]);
74 gDirectory->cd(lmr[ilmr]);
77 new TH1F(
"h_pick_res_x",
"h_pick_res_x", 100, -2, 3);
79 new TH1F(
"h_pick_res_y",
"h_pick_res_y", 100, -1, 1);
81 new TH1F(
"h_pick_pull_x",
"h_pick_pull_x", 100, -10, 10);
83 new TH1F(
"h_pick_pull_y",
"h_pick_pull_y", 100, -10, 10);
85 new TH1F(
"h_res_x",
"h_res_x", 100, -.01, .01);
87 new TH1F(
"h_res_y",
"h_res_y", 100, -.1, .1);
89 new TH1F(
"h_res_tx",
"h_res_tx", 100, -.01, .01);
91 new TH1F(
"h_res_ty",
"h_res_ty", 100, -.01, .01);
93 new TH1F(
"h_res_qp",
"h_res_qp", 100, -.1, .1);
95 new TH1F(
"h_pull_x",
"h_pull_x", 100, -10, 10);
97 new TH1F(
"h_pull_y",
"h_pull_y", 100, -10, 10);
99 new TH1F(
"h_pull_tx",
"h_pull_tx", 100, -10, 10);
101 new TH1F(
"h_pull_ty",
"h_pull_ty", 100, -10, 10);
103 new TH1F(
"h_pull_qp",
"h_pull_qp", 100, -10, 10);
104 gDirectory->cd(
"..");
107 gDirectory->cd(
"..");
110 gDirectory->cd(
"..");
112 gDirectory->cd(
"..");