651 {
652
653 float xy_max = 200;
655 float res_max = 5;
656 float cl_q_max = 500;
657 float cl_nhit_max = 20;
658
659 cout << "define_track_histo" << endl;
660
661 TString dname = "track_histo";
662 output-> mkdir(dname, "histograms of fitted tracks");
663 output->cd(dname);
664
665
667
668
669 h_track_chi2 = new TH1F("h_track_chi2", "fitted track chi2", 8000, 0, 8000);
670
671
672 h_track_xpoca = new TH1F("h_track_xpoca", "fitted track point of closest approach x (mm)", 100, -xy_max, xy_max);
673 h_track_ypoca = new TH1F("h_track_ypoca", "fitted track point of closest approach y (mm)", 100, -xy_max, xy_max);
674 h_track_zpoca = new TH1F("h_track_zpoca", "fitted track point of closest approach z (mm)", 100, -z_max, z_max);
675
676
677
678 h_test_residual_rphi = new TH1F("h_test_residual_rphi", "test plane: residual in R * phi (mm)", 100, -res_max, res_max);
679 h_test_res_rphi_vs_chi2 = new TH2F("h_test_res_rphi_vs_chi2", "test plane: residual in R * phi (mm) vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
680
681
682 h_test_residual_rphi_tpc = new TH1F("h_test_residual_rphi_tpc", "test plane: TPC residual in R * phi (mm)", 100, -res_max, res_max);
683 h_test_res_rphi_vs_chi2_tpc = new TH2F("h_test_res_rphi_vs_chi2_tpc", "test plane: TPC residual in R * phi (mm) vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
684
685
686 h_test_residual_z = new TH1F("h_test_residual_z", "test plane: residual in z (mm)", 100, -res_max, res_max);
687 h_test_res_z_vs_chi2 = new TH2F("h_test_res_z_vs_chi2", "test plane: residual in z (mm) vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
688
689
690 h_test_residual_z_tpc = new TH1F("h_test_residual_z_tpc", "test plane: TPC residual in z (mm)", 100, -res_max, res_max);
691 h_test_res_z_vs_chi2_tpc = new TH2F("h_test_res_z_vs_chi2_tpc", "test plane: TPC residual in z (mm) vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
692
693
694
695 h_residual_rphi_L1_S1 = new TH1F("h_residual_rphi_L1_S1", "residual in R * phi (mm) on L1, S1", 100, -res_max, res_max);
696 h_residual_rphi_L1_S2 = new TH1F("h_residual_rphi_L1_S2", "residual in R * phi (mm) on L1, S2", 100, -res_max, res_max);
697 h_residual_rphi_L2_S1 = new TH1F("h_residual_rphi_L2_S1", "residual in R * phi (mm) on L2, S1", 100, -res_max, res_max);
698 h_residual_rphi_L2_S2 = new TH1F("h_residual_rphi_L2_S2", "residual in R * phi (mm) on L2, S2", 100, -res_max, res_max);
699 h_residual_rphi_L3_S1 = new TH1F("h_residual_rphi_L3_S1", "residual in R * phi (mm) on L3, S1", 100, -res_max, res_max);
700 h_residual_rphi_L3_S2 = new TH1F("h_residual_rphi_L3_S2", "residual in R * phi (mm) on L3, S2", 100, -res_max, res_max);
701
702 h_res_rphi_vs_chi2_L1_S1 = new TH2F("h_res_rphi_vs_chi2_L1_S1", "residual in R * phi (mm) on L1, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
703 h_res_rphi_vs_chi2_L1_S2 = new TH2F("h_res_rphi_vs_chi2_L1_S2", "residual in R * phi (mm) on L1, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
704 h_res_rphi_vs_chi2_L2_S1 = new TH2F("h_res_rphi_vs_chi2_L2_S1", "residual in R * phi (mm) on L2, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
705 h_res_rphi_vs_chi2_L2_S2 = new TH2F("h_res_rphi_vs_chi2_L2_S2", "residual in R * phi (mm) on L2, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
706 h_res_rphi_vs_chi2_L3_S1 = new TH2F("h_res_rphi_vs_chi2_L3_S1", "residual in R * phi (mm) on L3, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
707 h_res_rphi_vs_chi2_L3_S2 = new TH2F("h_res_rphi_vs_chi2_L3_S2", "residual in R * phi (mm) on L3, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
708
709
710 h_residual_rphi_L1_S1_tpc = new TH1F("h_residual_rphi_L1_S1_tpc", "TPC residual in R * phi (mm) on L1, S1", 100, -res_max, res_max);
711 h_residual_rphi_L1_S2_tpc = new TH1F("h_residual_rphi_L1_S2_tpc", "TPC residual in R * phi (mm) on L1, S2", 100, -res_max, res_max);
712 h_residual_rphi_L2_S1_tpc = new TH1F("h_residual_rphi_L2_S1_tpc", "TPC residual in R * phi (mm) on L2, S1", 100, -res_max, res_max);
713 h_residual_rphi_L2_S2_tpc = new TH1F("h_residual_rphi_L2_S2_tpc", "TPC residual in R * phi (mm) on L2, S2", 100, -res_max, res_max);
714 h_residual_rphi_L3_S1_tpc = new TH1F("h_residual_rphi_L3_S1_tpc", "TPC residual in R * phi (mm) on L3, S1", 100, -res_max, res_max);
715 h_residual_rphi_L3_S2_tpc = new TH1F("h_residual_rphi_L3_S2_tpc", "TPC residual in R * phi (mm) on L3, S2", 100, -res_max, res_max);
716
717 h_res_rphi_vs_chi2_L1_S1_tpc = new TH2F("h_res_rphi_vs_chi2_L1_S1_tpc", "TPC residual in R * phi (mm) on L1, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
718 h_res_rphi_vs_chi2_L1_S2_tpc = new TH2F("h_res_rphi_vs_chi2_L1_S2_tpc", "TPC residual in R * phi (mm) on L1, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
719 h_res_rphi_vs_chi2_L2_S1_tpc = new TH2F("h_res_rphi_vs_chi2_L2_S1_tpc", "TPC residual in R * phi (mm) on L2, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
720 h_res_rphi_vs_chi2_L2_S2_tpc = new TH2F("h_res_rphi_vs_chi2_L2_S2_tpc", "TPC residual in R * phi (mm) on L2, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
721 h_res_rphi_vs_chi2_L3_S1_tpc = new TH2F("h_res_rphi_vs_chi2_L3_S1_tpc", "TPC residual in R * phi (mm) on L3, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
722 h_res_rphi_vs_chi2_L3_S2_tpc = new TH2F("h_res_rphi_vs_chi2_L3_S2_tpc", "TPC residual in R * phi (mm) on L3, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
723
724
725 h_residual_z_L1_S1 = new TH1F("h_residual_z_L1_S1", "residual in z (mm) on L1, S1", 100, -res_max, res_max);
726 h_residual_z_L1_S2 = new TH1F("h_residual_z_L1_S2", "residual in z (mm) on L1, S2", 100, -res_max, res_max);
727 h_residual_z_L2_S1 = new TH1F("h_residual_z_L2_S1", "residual in z (mm) on L2, S1", 100, -res_max, res_max);
728 h_residual_z_L2_S2 = new TH1F("h_residual_z_L2_S2", "residual in z (mm) on L2, S2", 100, -res_max, res_max);
729 h_residual_z_L3_S1 = new TH1F("h_residual_z_L3_S1", "residual in z (mm) on L3, S1", 100, -res_max, res_max);
730 h_residual_z_L3_S2 = new TH1F("h_residual_z_L3_S2", "residual in z (mm) on L3, S2", 100, -res_max, res_max);
731
732 h_res_z_vs_chi2_L1_S1 = new TH2F("h_res_z_vs_chi2_L1_S1", "residual in z (mm) on L1, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
733 h_res_z_vs_chi2_L1_S2 = new TH2F("h_res_z_vs_chi2_L1_S2", "residual in z (mm) on L1, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
734 h_res_z_vs_chi2_L2_S1 = new TH2F("h_res_z_vs_chi2_L2_S1", "residual in z (mm) on L2, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
735 h_res_z_vs_chi2_L2_S2 = new TH2F("h_res_z_vs_chi2_L2_S2", "residual in z (mm) on L2, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
736 h_res_z_vs_chi2_L3_S1 = new TH2F("h_res_z_vs_chi2_L3_S1", "residual in z (mm) on L3, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
737 h_res_z_vs_chi2_L3_S2 = new TH2F("h_res_z_vs_chi2_L3_S2", "residual in z (mm) on L3, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
738
739
740 h_residual_z_L1_S1_tpc = new TH1F("h_residual_z_L1_S1_tpc", "TPC residual in z (mm) on L1, S1", 100, -res_max, res_max);
741 h_residual_z_L1_S2_tpc = new TH1F("h_residual_z_L1_S2_tpc", "TPC residual in z (mm) on L1, S2", 100, -res_max, res_max);
742 h_residual_z_L2_S1_tpc = new TH1F("h_residual_z_L2_S1_tpc", "TPC residual in z (mm) on L2, S1", 100, -res_max, res_max);
743 h_residual_z_L2_S2_tpc = new TH1F("h_residual_z_L2_S2_tpc", "TPC residual in z (mm) on L2, S2", 100, -res_max, res_max);
744 h_residual_z_L3_S1_tpc = new TH1F("h_residual_z_L3_S1_tpc", "TPC residual in z (mm) on L3, S1", 100, -res_max, res_max);
745 h_residual_z_L3_S2_tpc = new TH1F("h_residual_z_L3_S2_tpc", "TPC residual in z (mm) on L3, S2", 100, -res_max, res_max);
746
747 h_res_z_vs_chi2_L1_S1_tpc = new TH2F("h_res_z_vs_chi2_L1_S1_tpc", "TPC residual in z (mm) on L1, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
748 h_res_z_vs_chi2_L1_S2_tpc = new TH2F("h_res_z_vs_chi2_L1_S2_tpc", "TPC residual in z (mm) on L1, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
749 h_res_z_vs_chi2_L2_S1_tpc = new TH2F("h_res_z_vs_chi2_L2_S1_tpc", "TPC residual in z (mm) on L2, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
750 h_res_z_vs_chi2_L2_S2_tpc = new TH2F("h_res_z_vs_chi2_L2_S2_tpc", "TPC residual in z (mm) on L2, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
751 h_res_z_vs_chi2_L3_S1_tpc = new TH2F("h_res_z_vs_chi2_L3_S1_tpc", "TPC residual in z (mm) on L3, S1 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
752 h_res_z_vs_chi2_L3_S2_tpc = new TH2F("h_res_z_vs_chi2_L3_S2_tpc", "TPC residual in z (mm) on L3, S2 vs chi2", 100, -res_max, res_max, 1000, 0, 1000);
753
754
755 h_signal_charge_2d = new TH1F("h_signal_charge_2d", "total charge of the signal (fC)", cl_q_max, 0, cl_q_max);
756 h_signal_charge_1d_x = new TH1F("h_signal_charge_1d_x", "charge x of the signal (fC)", cl_q_max, 0, cl_q_max);
757 h_signal_charge_1d_v = new TH1F("h_signal_charge_1d_v", "charge v of the signal (fC)", cl_q_max, 0, cl_q_max);
758 h_signal_size_1d_x = new TH1F("h_signal_size_1d_x", "cl.size x of the signal", cl_nhit_max, 0, cl_nhit_max);
759 h_signal_size_1d_v = new TH1F("h_signal_size_1d_v", "cl.size v of the signal", cl_nhit_max, 0, cl_nhit_max);
760
761 h_signal_charge_2d_chi2cut = new TH1F("h_signal_charge_2d_chi2cut", "total charge of the signal (fC) with a chi2 cut", cl_q_max, 0, cl_q_max);
762 h_signal_charge_1d_x_chi2cut = new TH1F("h_signal_charge_1d_x_chi2cut", "charge x of the signal (fC) with a chi2 cut", cl_q_max, 0, cl_q_max);
763 h_signal_charge_1d_v_chi2cut = new TH1F("h_signal_charge_1d_v_chi2cut", "charge v of the signal (fC) with a chi2 cut", cl_q_max, 0, cl_q_max);
764 h_signal_size_1d_x_chi2cut = new TH1F("h_signal_size_1d_x_chi2cut", "cl.size x of the signal with a chi2 cut", cl_nhit_max, 0, cl_nhit_max);
765 h_signal_size_1d_v_chi2cut = new TH1F("h_signal_size_1d_v_chi2cut", "cl.size v of the signal with a chi2 cut", cl_nhit_max, 0, cl_nhit_max);
766
767
768 h_background_charge_2d = new TH1F("h_background_charge_2d", "total charge of the background (fC)", cl_q_max, 0, cl_q_max);
769 h_background_charge_1d_x = new TH1F("h_background_charge_1d_x", "charge x of the background (fC)", cl_q_max, 0, cl_q_max);
770 h_background_charge_1d_v = new TH1F("h_background_charge_1d_v", "charge v of the background (fC)", cl_q_max, 0, cl_q_max);
771 h_background_size_1d_x = new TH1F("h_background_size_1d_x", "cl.size x of the background", cl_nhit_max, 0, cl_nhit_max);
772 h_background_size_1d_v = new TH1F("h_background_size_1d_v", "cl.size v of the background", cl_nhit_max, 0, cl_nhit_max);
773
774
777 h_track_selection_vs_phi =
new TH1F(
"h_track_selection_vs_phi",
"Number of track selected vs phi (deg)",
MAX_PHI_BIN,
MIN_PHI,
MAX_PHI);
778
779
780 h_eff_vs_z =
new TH1F(
"h_eff_vs_z",
"Track efficiency vs z (mm)",
MAX_Z_BIN,
MIN_Z,
MAX_Z);
782 h_track_selection_vs_z =
new TH1F(
"h_track_selection_vs_z",
"Number of track selected vs z (mm)",
MAX_Z_BIN,
MIN_Z,
MAX_Z);
783
784
787
788
790
791
792 h_eff_vs_v_1d =
new TH1F(
"h_eff_vs_v_1d",
"Track efficiency 1D vs v",
MAX_V_BIN,
MIN_V,
MAX_V);
793
794
795 h_eff_vs_FEB = new TH1F("h_eff_vs_FEB", "Track efeficiency 2x1D vs FEB",80,0,80);
796
797
798 h_resolution_rphi_vs_chi2 =
new TH1F(
"h_resolution_rphi_vs_chi2" ,
"test plane: cc resolution in R * phi (mm) vs chi2" ,
CHI_BIN,
CHI_MIN,
CHI_MAX);
799 h_resolution_rphi_tpc_vs_chi2 =
new TH1F(
"h_resolution_rphi_tpc_vs_chi2",
"test plane: tpc resolution in R * phi (mm) vs chi2",
CHI_BIN,
CHI_MIN,
CHI_MAX);
800
801 h_resolution_z_vs_chi2 =
new TH1F(
"h_resolution_z_vs_chi2" ,
"test plane: cc resolution in z (mm) vs chi2" ,
CHI_BIN,
CHI_MIN,
CHI_MAX);
802 h_resolution_z_tpc_vs_chi2 =
new TH1F(
"h_resolution_z_tpc_vs_chi2",
"test plane: tpc resolution in z (mm) vs chi2",
CHI_BIN,
CHI_MIN,
CHI_MAX);
803
804
805
806
807 h_test_residual_rphi_vs_angxy_L1_cc =
new TH2F(
"h_test_residual_rphi_vs_angxy_L1_cc" ,
"test plane: CC residual in R * phi (mm) vs ang_{xy}_{L1}", 100, -5, 5,
ANG_BIN,
ANG_MIN,
ANG_MAX);
808 h_test_residual_rphi_vs_angxy_L1_tpc =
new TH2F(
"h_test_residual_rphi_vs_angxy_L1_tpc",
"test plane: TPC residual in R * phi (mm) vs ang_{xy}_{L1}", 100, -5, 5,
ANG_BIN,
ANG_MIN,
ANG_MAX);
809
810
811 h_test_residual_rphi_vs_angxy_L2_cc =
new TH2F(
"h_test_residual_rphi_vs_angxy_L2_cc" ,
"test plane: CC residual in R * phi (mm) vs ang_{xy}_{L2}", 100, -5, 5,
ANG_BIN,
ANG_MIN,
ANG_MAX);
812 h_test_residual_rphi_vs_angxy_L2_tpc =
new TH2F(
"h_test_residual_rphi_vs_angxy_L2_tpc",
"test plane: TPC residual in R * phi (mm) vs ang_{xy}_{L2}", 100, -5, 5,
ANG_BIN,
ANG_MIN,
ANG_MAX);
813
814
815 h_test_residual_rphi_vs_angxy_L3_cc =
new TH2F(
"h_test_residual_rphi_vs_angxy_L3_cc" ,
"test plane: CC residual in R * phi (mm) vs ang_{xy}_{L3}", 100, -5, 5,
ANG_BIN,
ANG_MIN,
ANG_MAX);
816 h_test_residual_rphi_vs_angxy_L3_tpc =
new TH2F(
"h_test_residual_rphi_vs_angxy_L3_tpc",
"test plane: TPC residual in R * phi (mm) vs ang_{xy}_{L3}", 100, -5, 5,
ANG_BIN,
ANG_MIN,
ANG_MAX);
817
818
819 h_resolution_vs_ang_xy_L1 =
new TH1F(
"h_resolution_vs_ang_xy_L1",
"cc resolution in R * phi (mm) vs L1 ang_{xy}",
ANG_BIN,
ANG_MIN,
ANG_MAX);
820 h_resolution_vs_ang_xy_L2 =
new TH1F(
"h_resolution_vs_ang_xy_L2",
"cc resolution in R * phi (mm) vs L2 ang_{xy}",
ANG_BIN,
ANG_MIN,
ANG_MAX);
821 h_resolution_vs_ang_xy_L3 =
new TH1F(
"h_resolution_vs_ang_xy_L3",
"cc resolution in R * phi (mm) vs L3 ang_{xy}",
ANG_BIN,
ANG_MIN,
ANG_MAX);
822
823
824 h_resolution_tpc_vs_ang_xy_L1 =
new TH1F(
"h_resolution_tpc_vs_ang_xy_L1",
"tpc resolution in R * phi (mm) vs L1 ang_{xy}",
ANG_BIN,
ANG_MIN,
ANG_MAX);
825 h_resolution_tpc_vs_ang_xy_L2 =
new TH1F(
"h_resolution_tpc_vs_ang_xy_L2",
"tpc resolution in R * phi (mm) vs L2 ang_{xy}",
ANG_BIN,
ANG_MIN,
ANG_MAX);
826 h_resolution_tpc_vs_ang_xy_L3 =
new TH1F(
"h_resolution_tpc_vs_ang_xy_L3",
"tpc resolution in R * phi (mm) vs L3 ang_{xy}",
ANG_BIN,
ANG_MIN,
ANG_MAX);
827
828
829 int u_NbinX = 50;
830 int u_NbinY = 50;
831 int u_NbinZ = 50;
832 float u_minXY = -xy_max;
833 float u_maxXY = xy_max;
834 float u_minZ = -z_max;
835 float u_maxZ = z_max;
836 h_map_xy_event_trk = new TH2F("h_map_xy_event_trk" ,"event map xy" ,u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
837 h_map_xz_event_trk = new TH2F("h_map_xz_event_trk" ,"event map xz" ,u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
838 h_map_xy_2d = new TH2F("h_map_xy_2d" ,"event map xy cluster 2d",u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
839 h_map_xz_2d = new TH2F("h_map_xz_2d" ,"event map xz cluster 2d",u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
840 h_map_xy_1d_tpc = new TH2F("h_map_xy_1d_tpc" ,"event map xy cluster 1d",u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
841 h_map_xz_1d_tpc = new TH2F("h_map_xz_1d_tpc" ,"event map xz cluster 1d",u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
842 h_map_xy_tpc_eff = new TH2F("h_map_xy_tpc_eff" ,"eff map xy tpc" ,u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
843 h_map_xz_tpc_eff = new TH2F("h_map_xz_tpc_eff" ,"eff map xz tpc" ,u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
844 h_map_xy_tpc_fail = new TH2F("h_map_xy_tpc_fail" ,"fail map xy tpc" ,u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
845 h_map_xz_tpc_fail = new TH2F("h_map_xz_tpc_fail" ,"fail map xz tpc" ,u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
846 h_map_xy_cc_eff = new TH2F("h_map_xy_cc_eff" ,"eff map xy cc" ,u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
847 h_map_xz_cc_eff = new TH2F("h_map_xz_cc_eff" ,"eff map xz cc" ,u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
848 h_map_xy_cc_tpc_diff = new TH2F("h_map_xy_cc_tpc_diff" ,"diff cc tpc map xy" ,u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
849 h_map_xz_cc_tpc_diff = new TH2F("h_map_xz_cc_tpc_diff" ,"diff cc tpc map xz" ,u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
850 h_map_xy_cc_tpc_diff2= new TH2F("h_map_xy_cc_tpc_diff2","diff cc tpc map xy" ,u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
851 h_map_xz_cc_tpc_diff2= new TH2F("h_map_xz_cc_tpc_diff2","diff cc tpc map xz" ,u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
852 h_map_xy_q2d = new TH2F("h_map_xy_q2d" ,"charge cluster 2D xy" ,u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
853 h_map_xz_q2d = new TH2F("h_map_xz_q2d" ,"charge cluster 2D xz" ,u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
854 h_map_xy_dT = new TH2F("h_map_xy_dT" ,"delta Time hits xy" ,u_NbinX,u_minXY,u_maxXY,u_NbinY,u_minXY,u_maxXY);
855 h_map_xz_dT = new TH2F("h_map_xz_dT" ,"delta Time hits xz" ,u_NbinX,u_minXY,u_maxXY,u_NbinZ,u_minZ,u_maxZ);
856 h_ang_trk_meas = new TH2F("h_ang_trk_meas" ,"h_ang_trk_meas" ,180 ,-90 ,90 ,180 ,-90 ,90 );
857 h_ang_diff_vs_trk = new TH2F("h_ang_diff_vs_trk" ,"h_ang_diff_vs_trk" ,180 ,-90 ,90 ,180 ,-90 ,90 );
858 h_ang_diff = new TH1F("h_ang_diff" ,"h_ang_diff" ,180 ,-90 ,90);
859 h_ang_tpc =new TH1F("h_ang_tpc" ,"h_ang_tp" ,720 ,-360 ,360);
860
861
863 for(int j=0;j<i;j++){
864 h_deltaX_order_size[j][i] = new TH1F(Form("deltaX_%i%i",j,i),Form("deltaX strip %i and size %i",j,i),100,-0.05,0.05);
865 h_deltaZ_order_size[j][i] = new TH1F(Form("deltaZ_%i%i",j,i),Form("deltaZ strip %i and size %i",j,i),100,-0.1,0.1);
866 }
867 f_deltaX[i] = new TF1(Form("f_deltaX_size_%i",i),"pol1");
868 f_deltaZ[i] = new TF1(Form("f_deltaZ_size_%i",i),"pol1");
869 }
870
871
872 output->cd();
873}