Fixed a bug in the Digit reader, moved clusterfinder to initialize from OCDB, Added...
[u/mrichter/AliRoot.git] / ITS / AliITSv11.h
CommitLineData
2b680d9b 1#ifndef ALIITSV11_H
2#define ALIITSV11_H
effd7456 3/* Copyright(c) 2007-2008, ALICE Experiment at CERN, All rights reserved. *
2b680d9b 4 * See cxx source for full Copyright notice */
effd7456 5//************************************************************************
6//
7// Inner Traking System geometry v11
8//
9// Based on ROOT geometrical modeler
10//
11// B. Nilsen, L. Gaudichet
12//************************************************************************
012f0f4c 13#include "AliITSInitGeometry.h"
2b680d9b 14#include "AliITS.h"
db486a6e 15class AliITSv11GeometrySPD;
16class AliITSv11GeometrySDD;
54c9a3d9 17class AliITSv11GeometrySSD;
db486a6e 18class AliITSv11GeometrySupport;
b7943f00 19
2b680d9b 20class AliITSv11 : public AliITS {
21
22 public:
23 AliITSv11();
fa4639a3 24 AliITSv11(const char *name, const char *title);
b7943f00 25 AliITSv11(Int_t debugITS, Int_t debugSPD = 0, Int_t debugSDD = 0,
26 Int_t debugSSD = 0, Int_t debugSUP = 0);
b7943f00 27 virtual ~AliITSv11() ;
2b680d9b 28 virtual void CreateGeometry();
29 virtual void CreateMaterials();
2b680d9b 30 virtual void Init();
31 virtual void SetDefaults();
b7943f00 32 virtual void DrawModule() const;
2b680d9b 33 virtual void StepManager();
b7943f00 34 //virtual AliITSv11GeometrySPD* GetSPDGeometry(){return fSPDgeom;}
35 virtual AliITSv11GeometrySDD* GetSDDGeometry(){return fSDDgeom;}
36 //virtual AliITSv11GeometrySupport* GetSupGeometry(){return fSupgeom;}
012f0f4c 37 virtual Int_t IsVersion() const { return kv11;} // ITS version number
b7943f00 38 virtual Int_t GetMajorVersion() const {// return Major Version Number
39 return fMajorVersion;}
40 virtual Int_t GetMinorVersion() const {// return Major Version Number
41 return fMinorVersion;}
b7943f00 42 virtual void SetMinorVersion(Int_t v=0){ // Choose between existing minor versions
43 fMinorVersion = v;}
44
45 virtual void SetDensityServicesByThickness(){// uses services density
46 // calculation based on the thickness of the services.
47 fByThick = kTRUE;}
48 virtual void SetDensityServicesByMass(){// uses services density
49 // calculation based on the Mass of the services.
50 fByThick = kFALSE;}
b7943f00 51
52 private:
e939a978 53 AliITSv11(const AliITSv11 &source); // copy constructor
54 AliITSv11& operator=(const AliITSv11 &source); // assignment operator
012f0f4c 55 //void InitAliITSgeom();
2b680d9b 56
012f0f4c 57 Bool_t fByThick; // Flag to use services materials by thickness
b7943f00 58 // ture, or mass false.
012f0f4c 59 Int_t fMajorVersion; // Major version number == IsVersion
60 Int_t fMinorVersion; // Minor version number
54c9a3d9 61 AliITSv11GeometrySPD *fSPDgeom; //SPD Geometry
fa4639a3 62 AliITSv11GeometrySDD *fSDDgeom; //! SDD Geometry
54c9a3d9 63 AliITSv11GeometrySSD *fSSDgeom; //SSD Geometry
64 AliITSv11GeometrySupport *fSupgeom; //Support Geometry
012f0f4c 65 AliITSInitGeometry fIgm; //! Geometry initlization object
2b680d9b 66
b7943f00 67 ClassDef(AliITSv11,1) // ITS version 11
2b680d9b 68};
69
70#endif