AliRoot Core  edcc906 (edcc906)
AliFMD2.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 2004, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 /* $Id$ */
21 //____________________________________________________________________
22 //
23 // Concrete implementation of AliFMDDetector
24 //
25 // This implements the geometry for FMD2
26 // The FMD2 has two ring, one of both types.
27 // FMD2 is mounted on the space-frame via 4 flanges
28 // Support is not fleshed ot yet.
29 // Support will be simple compared to FMD3.
30 //
31 #include "AliFMD2.h" // ALIFMD2_H
32 #include "AliLog.h"
33 // #include "AliFMDRing.h" // ALIFMDRING_H
34 
35 //====================================================================
36 ClassImp(AliFMD2)
37 #if 0
38  ; // This is here to keep Emacs for indenting the next line
39 #endif
40 
41 //____________________________________________________________________
43  : AliFMDDetector(2, inner, outer)
44 {
45  // Constructor
46  // SetInnerZ(83.4);
47  // SetOuterZ(75.2);
48  // Double_t off = 0.414256-0.1963; // 2.35
49  Double_t off = 0; // 0.414256-0.1963+.27; // 2.35
50  if (off < 0) off = 0;
51  if (off != 0)
52  AliWarning(Form("Z position of FMD2 rings may be wrong by %fcm!", off));
53  SetInnerZ(83.4+off);
54  SetOuterZ(75.2+off);
55 }
56 
57 
58 //____________________________________________________________________
59 void
61 {
62  // Initialize
65 }
66 
67 //____________________________________________________________________
68 //
69 // EOF
70 //
Base class for the geometry description and parameters of the FMD sub detectors FMD1, FMD2, and FMD3.
#define AliWarning(message)
Definition: AliLog.h:541
virtual void Init()
Definition: AliFMD2.cxx:60
virtual void Init()
void SetOuterZ(Double_t x)
void SetInnerHoneyHighR(Double_t x)
Double_t GetOuterHoneyHighR() const
Geometry description and parameters of a ring in the FMD detector.
Definition: AliFMDRing.h:41
AliFMD2(AliFMDRing *inner, AliFMDRing *outer)
Definition: AliFMD2.cxx:42
Geometry parameters of the FMD2 detector. This has two rings.
Definition: AliFMD2.h:27
void SetInnerZ(Double_t x)
Geometry parameters of the FMD2 detector.