]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMD2.cxx
Export hit structure header
[u/mrichter/AliRoot.git] / FMD / AliFMD2.cxx
CommitLineData
4347b38f 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 **************************************************************************/
4347b38f 15/* $Id$ */
c2fc1258 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*/
b9ced2a3 21//____________________________________________________________________
4347b38f 22//
1a1fdef7 23// Concrete implementation of AliFMDDetector
4347b38f 24//
25// This implements the geometry for FMD2
088f8e79 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.
6169f936 29// Support will be simple compared to FMD3.
4347b38f 30//
e802be3e 31#include "AliFMD2.h" // ALIFMD2_H
ed82d35e 32#include "AliLog.h"
02a27b50 33// #include "AliFMDRing.h" // ALIFMDRING_H
4347b38f 34
1a1fdef7 35//====================================================================
925e6570 36ClassImp(AliFMD2)
1a1fdef7 37#if 0
38 ; // This is here to keep Emacs for indenting the next line
39#endif
4347b38f 40
41//____________________________________________________________________
1a1fdef7 42AliFMD2::AliFMD2(AliFMDRing* inner, AliFMDRing* outer)
43 : AliFMDDetector(2, inner, outer)
b9ced2a3 44{
9f662337 45 // Constructor
ed82d35e 46 // SetInnerZ(83.4);
47 // SetOuterZ(75.2);
b2e6f0b0 48 // Double_t off = 0.414256-0.1963; // 2.35
1589afa1 49 Double_t off = 0; // 0.414256-0.1963+.27; // 2.35
b2e6f0b0 50 if (off < 0) off = 0;
2e0139df 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);
b9ced2a3 55}
56
4347b38f 57
58//____________________________________________________________________
1a1fdef7 59void
60AliFMD2::Init()
4347b38f 61{
9f662337 62 // Initialize
1a1fdef7 63 AliFMDDetector::Init();
64 SetInnerHoneyHighR(GetOuterHoneyHighR());
4347b38f 65}
66
4347b38f 67//____________________________________________________________________
68//
69// EOF
70//