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]);
68 h_nduplets[ist][istep] =
new TH1F(
"h_nduplets",
"h_nduplets",50,0,5000);
70 const char* lmr[3]={
"left",
"middle",
"right"};
71 for(
int ilmr=0; ilmr<3; ilmr++){
72 gDirectory->mkdir(lmr[ilmr]);
73 gDirectory->cd(lmr[ilmr]);
75 h_pick_res_x[ist][ilmr][istep] =
new TH1F(
"h_pick_res_x",
"h_pick_res_x",100,-2,3);
76 h_pick_res_y[ist][ilmr][istep] =
new TH1F(
"h_pick_res_y",
"h_pick_res_y",100,-1,1);
77 h_pick_pull_x[ist][ilmr][istep] =
new TH1F(
"h_pick_pull_x",
"h_pick_pull_x",100,-10,10);
78 h_pick_pull_y[ist][ilmr][istep] =
new TH1F(
"h_pick_pull_y",
"h_pick_pull_y",100,-10,10);
79 h_res_x[ist][ilmr][istep] =
new TH1F(
"h_res_x",
"h_res_x",100,-.01,.01);
80 h_res_y[ist][ilmr][istep] =
new TH1F(
"h_res_y",
"h_res_y",100,-.1,.1);
81 h_res_tx[ist][ilmr][istep] =
new TH1F(
"h_res_tx",
"h_res_tx",100,-.01,.01);
82 h_res_ty[ist][ilmr][istep] =
new TH1F(
"h_res_ty",
"h_res_ty",100,-.01,.01);
83 h_res_qp[ist][ilmr][istep] =
new TH1F(
"h_res_qp",
"h_res_qp",100,-.1,.1);
84 h_pull_x[ist][ilmr][istep] =
new TH1F(
"h_pull_x",
"h_pull_x",100,-10,10);
85 h_pull_y[ist][ilmr][istep] =
new TH1F(
"h_pull_y",
"h_pull_y",100,-10,10);
86 h_pull_tx[ist][ilmr][istep] =
new TH1F(
"h_pull_tx",
"h_pull_tx",100,-10,10);
87 h_pull_ty[ist][ilmr][istep] =
new TH1F(
"h_pull_ty",
"h_pull_ty",100,-10,10);
88 h_pull_qp[ist][ilmr][istep] =
new TH1F(
"h_pull_qp",
"h_pull_qp",100,-10,10);
91 } gDirectory->cd(
"..");
93 } gDirectory->cd(
"..");
TH1F * h_pull_y[20][3][3]
TH1F * h_res_tx[20][3][3]
TH1F * h_res_ty[20][3][3]
TH1F * h_res_qp[20][3][3]
TH1F * h_pull_qp[20][3][3]
TH1F * h_pick_pull_x[20][3][3]
TH1F * h_pull_ty[20][3][3]
void Pulls(int i, int j, int k, double *mc, L1TrackPar &T, fvec qp0, L1FieldRegion &fld)
TH1F * h_pull_x[20][3][3]
TH1F * h_pull_tx[20][3][3]
TH1F * h_pick_res_y[20][3][3]
TH1F * h_pick_pull_y[20][3][3]
TH1F * h_pick_res_x[20][3][3]
friend F32vec4 sqrt(const F32vec4 &a)
static CbmL1 * Instance()
reconstructed tracks