1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 //____________________________________________________________________
20 // Forward Multiplicity Detector based on Silicon wafers.
22 // This class is a singleton that handles various parameters of
25 #include "AliFMDParameters.h" // ALIFMDPARAMETERS_H
26 #include "AliFMDGeometry.h" // ALIFMDGEOMETRY_H
27 #include "AliFMDRing.h" // ALIFMDRING_H
28 #include "AliLog.h" // ALILOG_H
29 #include <Riostream.h>
31 //====================================================================
32 ClassImp(AliFMDParameters)
34 ; // This is here to keep Emacs for indenting the next line
37 //____________________________________________________________________
38 AliFMDParameters* AliFMDParameters::fgInstance = 0;
40 //____________________________________________________________________
42 AliFMDParameters::Instance()
44 // Get static instance
45 if (!fgInstance) fgInstance = new AliFMDParameters;
49 //____________________________________________________________________
50 AliFMDParameters::AliFMDParameters()
53 // Default constructor
55 SetAltroChannelSize();
56 SetChannelsPerAltro();
66 //__________________________________________________________________
68 AliFMDParameters::GetEdepMip() const
70 // Get energy deposited by a MIP in the silicon sensors
71 AliFMDGeometry* fmd = AliFMDGeometry::Instance();
73 * fmd->GetRing('I')->GetSiThickness()
74 * fmd->GetSiDensity());
77 //____________________________________________________________________