Rev 192 | Rev 202 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 192 | Rev 199 | ||
---|---|---|---|
Line 79... | Line 79... | ||
79 | c_wfm->Divide(1,1); |
79 | c_wfm->Divide(1,1); |
80 | c_wfm->cd(1); |
80 | c_wfm->cd(1); |
81 | 81 | ||
82 | for (i=0; i<nch; i++) { |
82 | for (i=0; i<nch; i++) { |
83 | sprintf(histname,"chmax_%02d",i); |
83 | sprintf(histname,"chmax_%02d",i); |
84 | h1_chmax[i]=new TH1F(histname,histname, |
84 | h1_chmax[i]=new TH1F(histname,histname,1500,-0.88,0.88); |
85 | sprintf(histname,"chmaxt_%02d",i); |
85 | sprintf(histname,"chmaxt_%02d",i); |
86 | h1_chmaxt[i]=new TH1F(histname,histname,DWIDTH,-0.1,204.7); |
86 | h1_chmaxt[i]=new TH1F(histname,histname,DWIDTH,-0.1,204.7); |
87 | sprintf(histname,"chmin_%02d",i); |
87 | sprintf(histname,"chmin_%02d",i); |
88 | h1_chmin[i]=new TH1F(histname,histname, |
88 | h1_chmin[i]=new TH1F(histname,histname,1500,-0.88,0.88); |
89 | sprintf(histname,"chmint_%02d",i); |
89 | sprintf(histname,"chmint_%02d",i); |
90 | h1_chmint[i]=new TH1F(histname,histname,DWIDTH,-0.1,204.7); |
90 | h1_chmint[i]=new TH1F(histname,histname,DWIDTH,-0.1,204.7); |
91 | sprintf(histname,"letime_%02d",i); |
91 | sprintf(histname,"letime_%02d",i); |
92 | h1_letime[i]=new TH1F(histname,histname,500,d[i].twin[0],d[i].twin[1]); |
92 | h1_letime[i]=new TH1F(histname,histname,500,d[i].twin[0],d[i].twin[1]); |
93 | sprintf(histname,"cftime_%02d",i); |
93 | sprintf(histname,"cftime_%02d",i); |
Line 95... | Line 95... | ||
95 | sprintf(histname,"cftdif_%02d",i); |
95 | sprintf(histname,"cftdif_%02d",i); |
96 | h1_cftdif[i]=new TH1F(histname,histname,2000,d[i].twin[0]-d[trgch].twin[0],d[i].twin[1]-d[trgch].twin[0]); |
96 | h1_cftdif[i]=new TH1F(histname,histname,2000,d[i].twin[0]-d[trgch].twin[0],d[i].twin[1]-d[trgch].twin[0]); |
97 | sprintf(histname,"qdc_%02d",i); |
97 | sprintf(histname,"qdc_%02d",i); |
98 | h1_qdc[i]=new TH1F(histname,histname,500,-0.5,4.5); |
98 | h1_qdc[i]=new TH1F(histname,histname,500,-0.5,4.5); |
99 | sprintf(histname,"dpo_%02d",i); |
99 | sprintf(histname,"dpo_%02d",i); |
100 | h2_dpo[i]=new TH2F(histname,histname,DWIDTH,-0.1,204.7, |
100 | h2_dpo[i]=new TH2F(histname,histname,DWIDTH,-0.1,204.7,1500,-0.88,0.88); |
101 | sprintf(histname,"tdcadc_%02d",i); |
101 | sprintf(histname,"tdcadc_%02d",i); |
102 | h2_tdcadc[i]=new TH2F(histname,histname,250,-0.1,0.5,400,d[i].twin[0]-d[trgch].twin[0],d[i].twin[1]-d[trgch].twin[0]); |
102 | h2_tdcadc[i]=new TH2F(histname,histname,250,-0.1,0.5,400,d[i].twin[0]-d[trgch].twin[0],d[i].twin[1]-d[trgch].twin[0]); |
103 | sprintf(histname,"ctdcadc_%02d",i); |
103 | sprintf(histname,"ctdcadc_%02d",i); |
104 | h2_ctdcadc[i]=new TH2F(histname,histname,250,-0.1,0.5,400,d[i].twin[0]-d[trgch].twin[0],d[i].twin[1]-d[trgch].twin[0]); |
104 | h2_ctdcadc[i]=new TH2F(histname,histname,250,-0.1,0.5,400,d[i].twin[0]-d[trgch].twin[0],d[i].twin[1]-d[trgch].twin[0]); |
105 | gr_wfm[i]=new TGraph(DWIDTH); |
105 | gr_wfm[i]=new TGraph(DWIDTH); |