#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include "TH1F.h"
#include "TROOT.h"
#include "TStyle.h"
#include "TFile.h"
#include "TTree.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TSystem.h"
#include "WCSimRootEvent.hh"
Go to the source code of this file.
|
Double_t | ks_hits = hits->KolmogorovTest(hits2) |
|
Double_t | ks_charge = charge->KolmogorovTest(charge2) |
|
Double_t | ks_time = time->KolmogorovTest(time2) |
|
cout<< "***********************************************************"<< endl;cout<< "ks test for # of digitized hits: "<< ks_hits<< endl;cout<< "ks test for average charge: "<< ks_charge<< endl;cout<< "ks test for average time: "<< ks_time<< endl;float win_scale=0.75;int n_wide(2);int n_high(2);TCanvas *c1=new TCanvas("c1", "Test Plots", 500 *n_wide *win_scale, 500 *n_high *win_scale);c1-> | Draw () |
|
TLegend * | leg = new TLegend(0.2,0.7,0.55,0.85, "") |
|
TCanvas * | c2 = new TCanvas("c2", "Test Plots", 500*n_wide*win_scale, 500*n_high*win_scale) |
|
TCanvas * | c3 = new TCanvas() |
|
TCanvas * | c4 = new TCanvas() |
|
TCanvas * | c5 = new TCanvas() |
|
| return |
|
◆ AddEntry() [1/2]
leg AddEntry |
( |
hits |
, |
|
|
filename |
, |
|
|
"l" |
|
|
) |
| |
◆ AddEntry() [2/2]
leg AddEntry |
( |
hits2 |
, |
|
|
filename2 |
, |
|
|
"l" |
|
|
) |
| |
◆ cd() [1/4]
◆ cd() [2/4]
◆ cd() [3/4]
◆ cd() [4/4]
◆ Divide()
◆ Draw() [1/4]
◆ Draw() [2/4]
◆ Draw() [3/4]
hit_pmts2 Draw |
( |
"same" |
| ) |
|
◆ Draw() [4/4]
◆ GetXaxis()
time GetXaxis |
( |
| ) |
-> SetTitle("Total Charge / # digitized hits") |
◆ SetBorderSize()
◆ SetFillColor()
◆ SetLineColor()
charge2 SetLineColor |
( |
kRed |
| ) |
|
◆ SetOptFit()
◆ SetOptStat()
◆ verification_HitsChargeTime()
int verification_HitsChargeTime |
( |
const char * |
filename = "wcsimtest.root" , |
|
|
const char * |
filename2 = "../../WCSim_clean/verification-test-scripts/wcsimtest.root" , |
|
|
bool |
verbose = false |
|
) |
| |
◆ c2
TCanvas* c2 = new TCanvas("c2", "Test Plots", 500*n_wide*win_scale, 500*n_high*win_scale) |
◆ c3
TCanvas* c3 = new TCanvas() |
◆ c4
TCanvas* c4 = new TCanvas() |
◆ c5
TCanvas* c5 = new TCanvas() |
◆ Draw
◆ ks_charge
Double_t ks_charge = charge->KolmogorovTest(charge2) |
◆ ks_hits
Double_t ks_hits = hits->KolmogorovTest(hits2) |
◆ ks_time
Double_t ks_time = time->KolmogorovTest(time2) |
◆ leg
TLegend* leg = new TLegend(0.2,0.7,0.55,0.85, "") |
◆ return