[ROOT] TGeoChecker LegoPlot

From: Nicolas Produit (Nicolas.Produit@obs.unige.ch)
Date: Thu Feb 26 2004 - 11:07:03 MET


I have to compute the amount of material that a straight line crossed
depending on its entry point and it direction.

I think that TGeoChecker::LegoPlot is just doing what I need.

But looking into the code of:

 TH2F *TGeoChecker::LegoPlot(Int_t ntheta, Double_t themin, Double_t themax,
                            Int_t nphi,   Double_t phimin, Double_t phimax,
                            Double_t /*rmin*/, Double_t /*rmax*/, Option_t *option)

it seems that the start point of all tracks is just choosen arbitrarily at coordinates:
start[0] = start[1] = start[2] = 1E-3;

It would be handy to be able to give the start point in the call.


Nicolas Produit                 
INTEGRAL Science Data Center    Phone:  +41 22 950 91 40
16, Chemin d'Ecogia             Fax:    +41 22 950 91 33
CH-1290 Versoix                 www:    http://isdc.unige.ch/

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET