]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMD1.cxx
Reading QA thresholds from external file II
[u/mrichter/AliRoot.git] / FMD / AliFMD1.cxx
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    AliFMD1.cxx
17     @author  Christian Holm Christensen <cholm@nbi.dk>
18     @date    Sun Mar 26 18:00:23 2006
19     @brief   Implementation of FMD1 parameters 
20 */
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 //____________________________________________________________________
43 AliFMD1::AliFMD1(AliFMDRing* inner) 
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
57 AliFMD1::Init() 
58 {
59   // Initialize 
60   AliFMDDetector::Init();
61   SetInnerHoneyHighR(22.3716);
62 }
63
64 //____________________________________________________________________
65 //
66 // EOF
67 //