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 Revision 1.2 2001/03/24 10:08:30 morsch
19 Log tag and copyright notice added.
23 #include "AliMevSimConfig.h"
25 ClassImp(AliMevSimConfig)
28 //////////////////////////////////////////////////////////////////////////////////////////////////
30 AliMevSimConfig::AliMevSimConfig() {
35 //////////////////////////////////////////////////////////////////////////////////////////////////
37 AliMevSimConfig::AliMevSimConfig(Int_t modelType) {
40 SetModelType(modelType);
43 //////////////////////////////////////////////////////////////////////////////////////////////////
45 AliMevSimConfig::~AliMevSimConfig() {
48 //////////////////////////////////////////////////////////////////////////////////////////////////
50 void AliMevSimConfig::Init() {
56 fPsiRMean = fPsiRStDev = 0;
61 fNStDevMult = fNStDevTemp = fNStDevSigma = 3.0;
62 fNStDevExpVel = fNStdDevPSIr = fNStDevVn = fNStDevMultFac = 3.0;
64 fNIntegPts = fNScanPts = 100;
68 //////////////////////////////////////////////////////////////////////////////////////////////////
70 void AliMevSimConfig::SetModelType(Int_t modelType) {
72 if (modelType < 0 || modelType > kMAX_MODEL)
73 Error("SetModelType","Wrog Model Type indentifier (%d)",modelType);
75 fModelType = modelType;
78 //////////////////////////////////////////////////////////////////////////////////////////////////
80 void AliMevSimConfig::SetRectPlane(Int_t ctrl, Float_t psiRMean, Float_t psiRStDev) {
82 if (ctrl < 0 || ctrl > kMAX_CTRL)
83 Error("SetReactPlane","Wrong Control Parameter (%d)", ctrl);
85 fReacPlaneCntrl = ctrl;
87 fPsiRStDev = psiRStDev;
90 //////////////////////////////////////////////////////////////////////////////////////////////////
92 void AliMevSimConfig::SetMultFac(Float_t mean, Float_t stDev) {
95 fMultFacStDev = stDev;
98 //////////////////////////////////////////////////////////////////////////////////////////////////
100 void AliMevSimConfig::SetStDev(Float_t mult, Float_t temp, Float_t sigma,
101 Float_t expVel, Float_t psiR, Float_t Vn, Float_t multFac) {
105 fNStDevSigma = sigma;
106 fNStDevExpVel = expVel;
109 fNStDevMultFac =multFac;
112 //////////////////////////////////////////////////////////////////////////////////////////////////
114 void AliMevSimConfig::SetGrid(Int_t integr, Int_t scan) {
120 //////////////////////////////////////////////////////////////////////////////////////////////////