ES1_6075.cxx 3.71 KB
Newer Older
Vratislav Chudoba's avatar
Vratislav Chudoba committed
1
void ES1_6075()
2 3 4 5 6
{

	TStopwatch sw;
	sw.Start();

Vratislav Chudoba's avatar
Vratislav Chudoba committed
7
	BeAnalysis ana;
8

Vratislav Chudoba's avatar
Vratislav Chudoba committed
9
	ana.SetCMAngularRange(60, 75);
10

Vratislav Chudoba's avatar
Vratislav Chudoba committed
11
	//	ana.SetFigures("figures/", ".eps");
12

Vratislav Chudoba's avatar
Vratislav Chudoba committed
13 14 15 16
	//	ana.SetChainsToDraw(0, 0, 0, 0, 1, 1);
	ana.SetChainsToDraw();
	Bool_t epsilonT[6] = {0,0,1,0,0};
	Bool_t cosThetaT[6] = {0,0,1,0,0};
17

Vratislav Chudoba's avatar
Vratislav Chudoba committed
18 19
	Bool_t epsilonY[6] = {0,0,1,0,0};
	Bool_t cosThetaY[6] = {0,0,1,0,0};
20

Vratislav Chudoba's avatar
Vratislav Chudoba committed
21
	Bool_t thetaAT[6] = {0,0,1,0,0};
22 23


Vratislav Chudoba's avatar
Vratislav Chudoba committed
24
	ana.SetExpChain("../../../be/rootdata/correlations/v5_exp/Be.", 0, 40);
25 26

	const Long64_t eMaxEvents = 5000000;
Vratislav Chudoba's avatar
Vratislav Chudoba committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
	Long64_t eEvents[6] = {eMaxEvents, eMaxEvents, eMaxEvents, eMaxEvents, eMaxEvents, eMaxEvents};
	ana.SetNoExpEvents(eEvents);

	const Long64_t sMaxEvents = 3000000;
	Long64_t sEvents[6] = {sMaxEvents, 2700000, sMaxEvents, 2700000, 2690000, 2710000};
	ana.SetNoSimEvents(sEvents);

	Int_t lowSimFile[6] = {0, 0, 0, 0, 0, 0};
	Int_t upSimFile[6] = {14, 14, 14, 14, 14, 14};
	ana.SetNoSimFiles(lowSimFile, upSimFile);
	ana.SetSimChains("../../../be/rootdata/correlations/v5_6075/Sim_mix_br_al_0_50-85_",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_noal_0_50-85_",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_al_180_50-85_",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_noal_180_50-85_",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_al_90_50-85_",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_noal_90_50-85_");

	ana.SetInputChains("../../../be/rootdata/correlations/v5_6075/Sim_mix_br_al_0_50-85_000.root",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_noal_0_50-85_000.root",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_al_180_50-85_000.root",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_noal_180_50-85_000.root",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_al_90_50-85_000.root",
					"../../../be/rootdata/correlations/v5_6075/Sim_mix_br_noal_90_50-85_000.root");


	ana.OpenExpChain();
	ana.OpenSimChains();

	ana.SetRatiosGStoEX("sRatio>0.051 && sRatio<0.101",
			"sRatio>0.050 && sRatio<0.100",
			"sRatio>0.047 && sRatio<0.097",
			"sRatio>0.048 && sRatio<0.098",
			"sRatio>0.051 && sRatio<0.101",
			"sRatio>0.051 && sRatio<0.101");
	ana.SetCuts();
62 63 64 65 66 67

	Long64_t eEventsECuts[5][6] = {3950000, 3950000, 3800000, 3850000, 3950000, 3900000,
									eMaxEvents, eMaxEvents, 4100000, eMaxEvents, eMaxEvents, eMaxEvents,
									3050000, 3150000, 3200000, 3200000, 3250000, 3350000,
									3850000, 3950000, 3900000, 3900000, 4000000, 4000000,
									4100000, 4100000, 4000000, 4100000, eMaxEvents, eMaxEvents};
Vratislav Chudoba's avatar
Vratislav Chudoba committed
68
	ana.ExpEventsECuts(eEventsECuts);
69 70 71 72

	const Long64_t sMaxEvents = 3000000;

	Long64_t sEventsECuts[5][6] = {sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents,
Vratislav Chudoba's avatar
Vratislav Chudoba committed
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
										sMaxEvents, 2630000, sMaxEvents, sMaxEvents, 2660000, 2660000,
										sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents,
										sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents,
										sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents, sMaxEvents};
	ana.SimEventsECuts(sEventsECuts);

	ana.SetRangeProportion(1.1, 1);

	///////////////////////////////////////////////////////////////////////////////////

	ana.SetSpectra();
	ana.Spectra();

	ana.SetEpsilonTintervals(epsilonT);
	//	ana.SetEpsilonTintervals();
	ana.EpsilonT();

	sw.Print();
	sw.Continue();

	ana.SetCosThetaTkIntervals(cosThetaT);
	//	ana.CosThetaTk();

	sw.Print();
	sw.Continue();

	ana.SetEpsilonYintervals(epsilonY);
	//	ana.EpsilonY();

	sw.Print();
	sw.Continue();

	ana.SetCosThetaYkIntervals(cosThetaY);
	//	ana.CosThetaYk();

	sw.Print();
	sw.Continue();

	ana.SetThetaATintervals(thetaAT);
	////	ana.SetThetaATintervals();
	//	ana.ThetaAT();

	sw.Print();
	sw.Continue();

	Info("ES1_90120.cxx", "Finished.");

	return;

122 123 124
}