Re: [ROOT] TGeoChecker LegoPlot

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Feb 26 2004 - 14:50:53 MET


Hi Nicolas,

I agree with your point. We will make the change to something like:
  -by default we start at the origin of coordinates
  -if the argument option="start", we start at the current point
   set via gGeoManager->SetCurrentPoint(x,y,z)

Rene Brun

On Thu, 
26 Feb 2004, Nicolas Produit wrote:

> Hi,
> 
> 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.
> 
> Thanks
> 
> 
> 



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