24 for(Int_t i = 0; i<fkNScinti; i++){
60 g[i] =
new TGraph2D();
62 for(Int_t i = 0; i<100000; i++){
63 Double_t x = 400*gRandom->Rndm() - 200;
64 Double_t y = 400*gRandom->Rndm() - 200;
65 Double_t z = 400*gRandom->Rndm() - 50;
68 g[vol]->SetPoint(g[vol]->GetN(),x,y,z);
71 g[0]->SetMarkerColor(kCyan);
72 g[1]->SetMarkerColor(kBlue);
73 g[2]->SetMarkerColor(kRed);
75 TH3F* h =
new TH3F(
"h",
";x;y;z;",100,0,200,100,0,200,100,-50,350);
76 TCanvas* c =
new TCanvas();
78 for(Int_t i = 0; i<fkNScinti+3; i++)
static const Int_t fkNScinti
Int_t GetVolume(Double_t x, Double_t y, Double_t z)