AliRoot Core  edcc906 (edcc906)
AliFMD1.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 FMD1.
26 // FMD1 has only one ring, of type `inner'.
27 // It is sitting at z=320.
28 // It is the FMD ring with highest eta.
29 // FMD1 currently has no support defined.
30 //
31 #include "AliFMD1.h" // ALIFMD1_H
32 #include <AliLog.h>
33 // #include "AliFMDRing.h" // ALIFMDRING_H
34 
35 
36 //====================================================================
37 ClassImp(AliFMD1)
38 #if 0
39  ; // This is to keep Emacs from indenting the next line
40 #endif
41 
42 //____________________________________________________________________
44  : AliFMDDetector(1, inner, 0)
45 {
46  // Subtracting 0.25 cm puts the middle plane of the detector at 320
47  // cm
48  Double_t off = 0; // -0.25
49  if (off != 0)
50  AliWarning(Form("FMD1 is off by %fcm", off));
51  SetInnerZ(321.5 + off);
52 
53 }
54 
55 //____________________________________________________________________
56 void
58 {
59  // Initialize
61  SetInnerHoneyHighR(22.3716);
62 }
63 
64 //____________________________________________________________________
65 //
66 // EOF
67 //
Declaration of FMD1 declaration.
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: AliFMD1.cxx:57
virtual void Init()
Geometry description and parameters of the FMD1 detector. The FMD1 has only one ring.
Definition: AliFMD1.h:26
AliFMD1(AliFMDRing *inner)
Definition: AliFMD1.cxx:43
void SetInnerHoneyHighR(Double_t x)
Geometry description and parameters of a ring in the FMD detector.
Definition: AliFMDRing.h:41
void SetInnerZ(Double_t x)