3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ///////////////////////////////////////////////////////////////////////////////
11 // Utility class to compute and draw Radiation Length Map //
14 ///////////////////////////////////////////////////////////////////////////////
18 class AliLego : public TNamed {
21 Float_t fThetaMin; //Minimum generation theta
22 Float_t fThetaMax; //Maximum generation theta
23 Float_t fPhiMin; //Minimum generation phi
24 Float_t fPhiMax; //Maximum generation phi
25 Float_t fRadMin; //Generation radius
26 Float_t fRadMax; //Maximum tracking radius
27 Float_t fZMax; //Maximum tracking Z
28 Int_t fNtheta; //Number of bins in Theta
29 Int_t fNphi; //Number of bins in Phi
30 Int_t fThetaBin; //Current theta bin
31 Int_t fPhiBin; //Current phi bin
32 Float_t fCurTheta; //Current theta of track
33 Float_t fCurPhi; //Current phi of track
34 Float_t fTotRadl; //Total Radiation length
35 Float_t fTotAbso; //Total absorption length
36 Float_t fTotGcm2; //Total G/CM2 traversed
37 TH2F *fHistRadl; //Radiation length map
38 TH2F *fHistAbso; //Interaction length map
39 TH2F *fHistGcm2; //g/cm2 length map
40 TH2F *fHistReta; //Radiation length map as a function of eta
44 AliLego(const char *name, const char *title);
46 virtual void GenerateKinematics();
47 virtual void Init(Int_t ntheta,Float_t themin,Float_t themax, Int_t nphi, Float_t phimin,
48 Float_t phimax,Float_t rmin,Float_t rmax,Float_t zmax);
49 Float_t PropagateCylinder(Float_t *x, Float_t *v, Float_t r, Float_t z);
51 virtual void StepManager();
53 ClassDef(AliLego,1) //Utility class to compute and draw Radiation Length Map