Removing inheritances from TAttLine, TAttMarker and AliRndm in AliModule. The copy...
[u/mrichter/AliRoot.git] / ITS / AliITSvSSD03.h
CommitLineData
2ef7007f 1#ifndef ALIITSVSSD03_H
2#define ALIITSVSSD03_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
7d62fb64 6////////////////////////////////////////////////////////////////////////////
7// ITS step manager and geometry class for the ITS SSD test beam geometry //
8// of june 2003. //
9////////////////////////////////////////////////////////////////////////////
2ef7007f 10#include "AliITS.h"
11
12class AliITSvSSD03 : public AliITS{
13 public:
14 AliITSvSSD03(); // default constructor
15 AliITSvSSD03(const char *title,Int_t geomnum=2003); // standard constructor
2ef7007f 16 virtual ~AliITSvSSD03(); // destructor
17 virtual void BuildGeometry();
18 virtual void CreateGeometry();
19 virtual void CreateMaterials();
20 virtual Int_t IsVersion() const {// returns the ITS version number
21 return 1;}
22 virtual void Init();
23 virtual void SetDefaults();
24 virtual void DrawModule() const;
25 virtual void StepManager();
26 virtual void SetWriteDet(Bool_t det=kTRUE){ // set .det write
27 fGeomDetOut = det;}
28 virtual void SetWriteDet(const char *f){ // set write file
29 strncpy(fWrite,f,60);fGeomDetOut = kTRUE;}
30 virtual void SetReadDet(Bool_t det=kTRUE){ //set .det read
31 fGeomDetIn = det;}
32 virtual void SetReadDet(const char *f){ // set read file
33 strncpy(fRead,f,60);fGeomDetIn = kTRUE;}
34 virtual void SetEUCLID(Bool_t euclid=kTRUE){ // set write Euclid file
35 fEuclidOut = euclid;}
36 virtual void SetEUCLIDFileName(const char *f){ // set write file
37 fEuclidGeometry=f;fEuclidOut = kTRUE;}
38 virtual void SetMinorVersion(Int_t v=22){ // Choose between existing minor versions
39 fMinorVersion = v;}
40 virtual void SetThicknessDet1(Float_t v=300.){
41 // Set detector thickness in layer 1
42 fDet1 = v;}
43 virtual void SetThicknessDet2(Float_t v=300.){
44 // Set detector thickness in layer 2
45 fDet2 = v;}
46 virtual void SetThicknessChip1(Float_t v=300.){
47 // Set chip thickness in layer 1
48 fChip1 = v;}
49 virtual void SetThicknessChip2(Float_t v=300.){
50 // Set chip thickness in layer 2
51 fChip2 = v;}
52 // Replacement default simulation initilization.
53 virtual void SetDefaultSimulation();
54 //
55 private:
56 void BuildGeometry2003();
57 void CreateGeometry2003();
58 void CreateMaterials2003();
59
60 private:
e939a978 61 AliITSvSSD03(const AliITSvSSD03 &source); // Copy constructor
62 AliITSvSSD03& operator=(const AliITSvSSD03 &source); // = operator
2ef7007f 63 void InitAliITSgeom();
64 Bool_t fGeomDetOut; // Flag to write .det file out
65 Bool_t fGeomDetIn; // Flag to read .det file or directly from Geat.
66 Int_t fMajorVersion; // Major version number == IsVersion
67 Int_t fMinorVersion; // Minor version number
68 Int_t fGeomNumber; // Geometry version number (year)
69 char fEuclidGeomDet[60];// file where detector transormation are define.
70 char fRead[60]; //! file name to read .det file
71 char fWrite[60]; //! file name to write .det file
72 Float_t fDet1; // thickness of detector in SSD layer 1
73 Float_t fDet2; // thickness of detector in SSD layer 2
74 Float_t fChip1; // thickness of chip in SSD layer 1
75 Float_t fChip2; // thickness of chip in SSD layer 2
76 Int_t fIDMother; //! ITS Mother Volume id.
77
78 ClassDef(AliITSvSSD03,2) // Hits manager and geometry for SSD testbeam
79};
80#endif