]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIITSMIXTURE_H | |
2 | #define ALIITSMIXTURE_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* | |
7 | $Id$ | |
8 | */ | |
9 | #include <TGeoMaterial.h> | |
10 | ||
11 | class AliITSMixture : public TGeoMixture{ | |
12 | public: | |
13 | AliITSMixture(){}; | |
14 | AliITSMixture(const char *name,Int_t N,Double_t *w,TObjArray *m, | |
15 | Double_t rho=-1.,Double_t radlen=0.,Double_t intleng=0.); | |
16 | virtual ~AliITSMixture(){}; | |
17 | private: | |
18 | ClassDef(AliITSMixture,1) // Extension of TGeoMixture class | |
19 | } | |
20 | ; | |
21 | #endif | |
22 | ||
23 | #ifndef ALIITSGEOCABLE_H | |
24 | #define ALIITSGEOCABLE_H | |
25 | ||
26 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
27 | * See cxx source for full Copyright notice */ | |
28 | ||
29 | /* | |
30 | $Id$ | |
31 | */ | |
32 | #include <TGeoTube.h> | |
33 | #include <TObjArray.h> | |
34 | #include <TObject.h> | |
35 | #include <TVector3.h> | |
36 | ||
37 | class AliITSGeoCable : public TObject{ | |
38 | public: | |
39 | AliITSGeoCable(); | |
40 | AliITSGeoCable(const char *name,const TObjArray *vect,const Double_t Rmin, | |
41 | const Double_t Rmax,const TVector3 ns = TVector3(0.,0.,1.), | |
42 | const TVector3 ne = TVector3(0.,0.,1.)); | |
43 | virtual ~AliITSGeoCable(); | |
44 | virtual Double_t GetRmin(){return fRmin;} | |
45 | virtual Double_t GetRmax(){return fRmax;} | |
46 | virtual TVector3& GetNormStart(){return fNs;} | |
47 | virtual TVector3& GetNormEnd(){return fNe;} | |
48 | virtual TObjArray* GetArrayOfTubes(){return fTubes;} | |
49 | virtual TObjArray* GetArrayOfCombiTrans(){return fTranRot;} | |
50 | private: | |
51 | Double_t fRmin; // Minimum radius | |
52 | Double_t fRmax; // Maximum radius | |
53 | TVector3 fNs; // Starting normal vector | |
54 | TVector3 fNe; // Ending normal vector | |
55 | TObjArray *fTubes; // Array of Ctub objects | |
56 | TObjArray *fTranRot; // Array of Rotations | |
57 | ClassDef(AliITSGeoCable,1) // Extension of TGeoMixture class | |
58 | ; | |
59 | }; | |
60 | #endif |