]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TFluka/TFlukaConfigOption.cxx
Step size region by region.
[u/mrichter/AliRoot.git] / TFluka / TFlukaConfigOption.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, 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
16 /* $Id$*/
17
18 #include "TFlukaConfigOption.h"
19 ClassImp(TFlukaConfigOption)
20
21
22 TFlukaConfigOption::TFlukaConfigOption()
23 {
24     // Default constructor
25 }
26
27
28 TFlukaConfigOption::TFlukaConfigOption(const char* cutName, Double_t cut)
29     : TNamed(cutName, "Cut")
30 {
31     // Constructor
32     fCutValue        = cut;
33     fMedium          = -1;
34 }
35
36 TFlukaConfigOption::TFlukaConfigOption(const char* cutName, Double_t cut, Int_t imed)
37     : TNamed(cutName, "Cut")
38 {
39     // Constructor
40     fCutValue       = cut;
41     fMedium         = imed;
42 }
43
44
45 TFlukaConfigOption::TFlukaConfigOption(const char* procName, Int_t flag)
46     : TNamed(procName, "Process")
47 {
48     // Constructor
49     fProcessFlag     = flag;
50     fMedium          = -1;
51 }
52
53 TFlukaConfigOption::TFlukaConfigOption(const char* procName, Int_t flag, Int_t imed)
54     : TNamed(procName, "Process")
55 {
56     // Constructor
57     fProcessFlag    = flag;
58     fMedium         = imed;
59 }