]>
Commit | Line | Data |
---|---|---|
aee8290b | 1 | #ifndef ALIMAGFC_H |
2 | #define ALIMAGFC_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 | ||
0742d588 | 8 | //------------------------------------------------------------------------- |
9 | // Constant magnetic field class | |
10 | // Used by AliRun class | |
11 | // Author: | |
12 | //------------------------------------------------------------------------- | |
13 | ||
aee8290b | 14 | #include "AliMagF.h" |
15 | ||
16 | class AliMagFC : public AliMagF | |
17 | { | |
18 | //Alice Constant Magnetic Field | |
19 | ||
20 | public: | |
21 | AliMagFC(){} | |
d0f1ee3b | 22 | AliMagFC(const char *name, const char *title, Int_t integ, |
23 | Float_t factor, Float_t fmax); | |
aee8290b | 24 | virtual ~AliMagFC() {} |
6f3038e9 | 25 | virtual void Field(Float_t *x, Float_t *b) const; |
aee8290b | 26 | virtual void ReadField() {} |
6f3038e9 | 27 | virtual void ZDCField(Float_t *x, Float_t *b) const; |
aee8290b | 28 | ClassDef(AliMagFC,1) //Class for all Alice Constant MagField |
29 | }; | |
30 | ||
575c700d | 31 | |
32 | //ZDC part ------------------------------------------------------------------- | |
33 | ||
53cc0d31 | 34 | // ************************ LHC optics v6.5 ***************************** |
35 | static const Float_t kG1=20.757; | |
36 | static const Float_t kFDIP=-37.866; | |
575c700d | 37 | static const Float_t kFCORN2=-9.6979; |
38 | // | |
39 | // ZBEG Beginning of the inner triplet | |
40 | // D1BEG Beginning of separator dipole 1 | |
41 | // D2BEG Beginning of separator dipole 2 | |
42 | // CORBEG Corrector dipole beginning (because of dimuon arm) | |
43 | // | |
44 | static const Float_t kCORBEG2 = -1972.5,kCOREND2 = kCORBEG2 - 153., kCOR2RA2 = 4.5 * 4.5; | |
45 | // | |
46 | static const Float_t kZBEG = -2296.5; | |
47 | static const Float_t kZ1BEG = kZBEG + 0., kZ1END = kZ1BEG - 637.,kZ1RA2 = 3.5 * 3.5; | |
48 | static const Float_t kZ2BEG = kZBEG - 908.5, kZ2END = kZ2BEG - 550.,kZ2RA2 = 3.5 * 3.5; | |
49 | static const Float_t kZ3BEG = kZBEG - 1558.5, kZ3END = kZ3BEG - 550.,kZ3RA2 = 3.5 * 3.5; | |
50 | static const Float_t kZ4BEG = kZBEG - 2430., kZ4END = kZ4BEG - 637.,kZ4RA2 = 3.5 * 3.5; | |
51 | static const Float_t kD1BEG = - 5838.3 ,kD1END = kD1BEG - 945., kD1RA2 = 4.5 * 4.5; | |
52 | static const Float_t kD2BEG = - 12167.8 ,kD2END = kD2BEG - 945., kD2RA2 = 4.5 * 4.5; | |
53 | // | |
54 | static const Float_t kXCEN1D2 = -9.7 ,kYCEN1D2 = 0.; | |
55 | static const Float_t kXCEN2D2 = 9.7 ,kYCEN2D2 = 0.; | |
56 | ||
57 | //ZDC part ------------------------------------------------------------------- | |
58 | ||
aee8290b | 59 | #endif |