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.1.2.1 2003/04/14 16:24:06 hristov
19 Merging with v3-09-08. Several classes are exported from EVGEN to different directories to resolve the dependencies
21 Revision 1.1 2003/03/15 14:49:39 morsch
22 Classes imported from EVGEN
24 Revision 1.2 2001/03/24 10:08:30 morsch
25 Log tag and copyright notice added.
29 #include "AliMevSimConfig.h"
31 ClassImp(AliMevSimConfig)
34 //////////////////////////////////////////////////////////////////////////////////////////////////
36 AliMevSimConfig::AliMevSimConfig() {
41 //////////////////////////////////////////////////////////////////////////////////////////////////
43 AliMevSimConfig::AliMevSimConfig(Int_t modelType) {
46 SetModelType(modelType);
49 //////////////////////////////////////////////////////////////////////////////////////////////////
51 AliMevSimConfig::~AliMevSimConfig() {
54 //////////////////////////////////////////////////////////////////////////////////////////////////
56 void AliMevSimConfig::Init() {
62 fPsiRMean = fPsiRStDev = 0;
67 fNStDevMult = fNStDevTemp = fNStDevSigma = 3.0;
68 fNStDevExpVel = fNStdDevPSIr = fNStDevVn = fNStDevMultFac = 3.0;
70 fNIntegPts = fNScanPts = 100;
74 //////////////////////////////////////////////////////////////////////////////////////////////////
76 void AliMevSimConfig::SetModelType(Int_t modelType) {
78 if (modelType < 0 || modelType > kMAX_MODEL)
79 Error("SetModelType","Wrog Model Type indentifier (%d)",modelType);
81 fModelType = modelType;
84 //////////////////////////////////////////////////////////////////////////////////////////////////
86 void AliMevSimConfig::SetRectPlane(Int_t ctrl, Float_t psiRMean, Float_t psiRStDev) {
88 if (ctrl < 0 || ctrl > kMAX_CTRL)
89 Error("SetReactPlane","Wrong Control Parameter (%d)", ctrl);
91 fReacPlaneCntrl = ctrl;
93 fPsiRStDev = psiRStDev;
96 //////////////////////////////////////////////////////////////////////////////////////////////////
98 void AliMevSimConfig::SetMultFac(Float_t mean, Float_t stDev) {
101 fMultFacStDev = stDev;
104 //////////////////////////////////////////////////////////////////////////////////////////////////
106 void AliMevSimConfig::SetStDev(Float_t mult, Float_t temp, Float_t sigma,
107 Float_t expVel, Float_t psiR, Float_t Vn, Float_t multFac) {
111 fNStDevSigma = sigma;
112 fNStDevExpVel = expVel;
115 fNStDevMultFac =multFac;
118 //////////////////////////////////////////////////////////////////////////////////////////////////
120 void AliMevSimConfig::SetGrid(Int_t integr, Int_t scan) {
126 //////////////////////////////////////////////////////////////////////////////////////////////////