]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/macro/ITS/Config.C
updated for changes in Config.C
[u/mrichter/AliRoot.git] / AliGeant4 / macro / ITS / Config.C
CommitLineData
676fb573 1void Config(Int_t version)
2{
3 gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libITS");
4
5 AliITS* ITS = 0;
6 switch (version) {
29d92eb4 7 case 1: ITS = new AliITSv1("ITS","Old ITS coarse version as of the ALICE TP"); break;
8 case 3: ITS = new AliITSv3("ITS","Old ITS detailed version as of the ALICE TP"); break;
9 case 5: ITS = new AliITSv5("ITS","Current ITS detailed version used for the ITS TDR"); break;
10 case 6: ITS = new AliITSv5symm( "ITS","Updated ITS TDR detailed version with symmetric services");break;
11 case 7: ITS = new AliITSv5asymm("ITS","Updates ITS TDR detailed version with asymmetric services");break;
12 case 8: ITS = new AliITSvPPRcoarseasymm("ITS","New ITS coarse version with asymmetric services"); break;
13 case 9: ITS = new AliITSvPPRcoarsesymm( "ITS","New ITS coarse version with symmetric services"); break;
14 //
676fb573 15 }
16
29d92eb4 17 //=================== ITS parameters ============================
18 //
19 // As the innermost detector in ALICE, the Inner Tracking System "impacts" on
20 // almost all other detectors. This involves the fact that the ITS geometry
21 // still has several options to be followed in parallel in order to determine
22 // the best set-up which minimizes the induced background. All the geometries
23 // available to date are described in the following. Read carefully the comments
24 // and use the default version (the only one uncommented) unless you are making
25 // comparisons and you know what you are doing. In this case just uncomment the
26 // ITS geometry you want to use and run Aliroot.
27 //
28 // Detailed geometries:
29 // ====================
30 //AliITS *ITS = new AliITSv3("ITS","Old ITS detailed version as of the ALICE TP");
31 //AliITS *ITS = new AliITSv5("ITS","Current ITS detailed version used for the ITS TDR");
32 //AliITS *ITS = new AliITSv5symm("ITS","Updated ITS TDR detailed version with symmetric services");
33 //AliITS *ITS = new AliITSv5asymm("ITS","Updates ITS TDR detailed version with asymmetric services");
34 //
35 //
36 // Coarse geometries (warning: no hits are produced with these coarse geometries and they unuseful for reconstruction !):
37 // ======================================================================================================================
38 //AliITS *ITS = new AliITSv1("ITS","Old ITS coarse version as of the ALICE TP");
39 //AliITS *ITS = new AliITSvPPRcoarseasymm("ITS","New ITS coarse version with asymmetric services");
40 //AliITS *ITS = new AliITSvPPRcoarsesymm("ITS","New ITS coarse version with symmetric services");
41 //
42 //
43 // Geant3 <-> EUCLID conversion
44 // ============================
45 //
46 // SetEUCLID is a flag to output (=1) or not to output (=0) both geometry and
47 // media to two ASCII files (called by default ITSgeometry.euc and
48 // ITSgeometry.tme) in a format understandable to the CAD system EUCLID.
49 // The default (=0) means that you dont want to use this facility.
50 //
51 ITS->SetEUCLID(0);
676fb573 52}