fixed the tainted variables
[u/mrichter/AliRoot.git] / ITS / AliITSvSPD02.h
CommitLineData
6078cf56 1#ifndef ALIITSVSPD02_H
2#define ALIITSVSPD02_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5/*
6 $Id$
7*/
8// ITS step manager and geometry class for the ITS SPD test beam geometry
9// of Summer 2002.
7d62fb64 10///////////////////////////////////////////////////////////////////////
11// Step manager and
12// geometry class
13// for the ITS
14// SPD test beam
15// geometry of summer 2002
16//
17///////////////////////////////////////////////////////////////////////
012f0f4c 18#include "AliITSInitGeometry.h"
6078cf56 19#include "AliITS.h"
20
21class AliITSvSPD02 : public AliITS{
22 public:
23 AliITSvSPD02(); // default constructor
a421d869 24 AliITSvSPD02(const char *title,Int_t geomnum=2002); // standard constructor
6078cf56 25 virtual ~AliITSvSPD02(); // destructor
6078cf56 26 virtual void CreateGeometry();
27 virtual void CreateMaterials();
28 virtual Int_t IsVersion() const {// returns the ITS version number
012f0f4c 29 return (Int_t)kvSPD02;}
a421d869 30 virtual void Init();
012f0f4c 31 //virtual void SetDefaults();
78b50563 32 virtual void DrawModule() const;
6078cf56 33 virtual void StepManager();
6078cf56 34 virtual void SetMinorVersion(Int_t v=22){ // Choose between existing minor versions
35 fMinorVersion = v;}
36 virtual void SetThicknessDet1(Float_t v=300.){
37 // Set detector thickness in layer 1
38 fDet1 = v;}
39 virtual void SetThicknessDet2(Float_t v=300.){
40 // Set detector thickness in layer 2
41 fDet2 = v;}
42 virtual void SetThicknessChip1(Float_t v=300.){
43 // Set chip thickness in layer 1
44 fChip1 = v;}
45 virtual void SetThicknessChip2(Float_t v=300.){
46 // Set chip thickness in layer 2
47 fChip2 = v;}
12e7c97c 48 // Replacement default simulation initilization.
012f0f4c 49 //virtual void SetDefaultSimulation();
a421d869 50 //
51 private:
52 void BuildGeometry2002();
53 void CreateGeometry2002();
54 void CreateMaterials2002();
12e7c97c 55
6078cf56 56 private:
e939a978 57 AliITSvSPD02(const AliITSvSPD02 &source); // Copy constructor
58 AliITSvSPD02& operator=(const AliITSvSPD02 &source); // = operator
6078cf56 59 Int_t fMajorVersion; // Major version number == IsVersion
60 Int_t fMinorVersion; // Minor version number
a421d869 61 Int_t fGeomNumber; // Geometry version number (year)
6078cf56 62 Float_t fDet1; // thickness of detector in SPD layer 1
63 Float_t fDet2; // thickness of detector in SPD layer 2
64 Float_t fChip1; // thickness of chip in SPD layer 1
65 Float_t fChip2; // thickness of chip in SPD layer 2
66 Int_t fIDMother; //! ITS Mother Volume id.
012f0f4c 67 AliITSInitGeometry fIgm;//! Get access to decoding and AliITSgeom init functins
6078cf56 68
7dd2cbe4 69 ClassDef(AliITSvSPD02,5) // Hits manager and geometry for SPD testbeam
6078cf56 70};
71#endif