]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - FMD/AliFMD2.cxx
Woops. TObject::MakeZombie is irrevertable. Made
[u/mrichter/AliRoot.git] / FMD / AliFMD2.cxx
... / ...
CommitLineData
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$ */
16/** @file AliFMD2.cxx
17 @author Christian Holm Christensen <cholm@nbi.dk>
18 @date Sun Mar 26 18:25:51 2006
19 @brief Concrete implementation of AliFMDDetector for FMD2
20*/
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//====================================================================
36ClassImp(AliFMD2)
37#if 0
38 ; // This is here to keep Emacs for indenting the next line
39#endif
40
41//____________________________________________________________________
42AliFMD2::AliFMD2(AliFMDRing* inner, AliFMDRing* outer)
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//____________________________________________________________________
59void
60AliFMD2::Init()
61{
62 // Initialize
63 AliFMDDetector::Init();
64 SetInnerHoneyHighR(GetOuterHoneyHighR());
65}
66
67//____________________________________________________________________
68//
69// EOF
70//