]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EVGEN/AliSlowNucleonModelExp.h
- adding refined bad channel map
[u/mrichter/AliRoot.git] / EVGEN / AliSlowNucleonModelExp.h
... / ...
CommitLineData
1#ifndef ALISLOWNUCLEONMODELEXP_H
2#define ALISLOWNUCLEONMODELEXP_H
3/* Copyright(c) 198-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//
9// Experimental data inspired Gray Particle Model for p-Pb collisions
10// Fluctuations are calculated from a binomial distribution.
11// Author: A.Morsch
12//
13
14#include "AliSlowNucleonModel.h"
15
16class AliCollisionGeometry;
17
18class AliSlowNucleonModelExp : public AliSlowNucleonModel
19{
20 public:
21 AliSlowNucleonModelExp();
22 virtual ~AliSlowNucleonModelExp(){;}
23 virtual void GetNumberOfSlowNucleons(AliCollisionGeometry* geo,
24 Int_t& ngp, Int_t& ngn, Int_t& nbp, Int_t& nbn) const;
25 virtual void SetParameters(Float_t alpha1, Float_t alpha2);
26 virtual void SetSaturation(Bool_t saturation) {fApplySaturation = saturation;}
27 virtual void SetSaturationParams(Float_t ngray=15, Float_t nblack=28)
28 {fnGraySaturation=ngray; fnBlackSaturation=nblack;}
29
30 protected:
31 Float_t fP; // Number of protons in the target
32 Float_t fN; // Number of neutrons in the target
33 Float_t fAlphaGray; // Proportionality between gray particles and number of collisions
34 Float_t fAlphaBlack; // Proportionality between black particles and number of collisions
35 Bool_t fApplySaturation; // If true apply satoration to N_black vs. N_gray
36 Int_t fnGraySaturation; // N_gray value for N_black saturation
37 Int_t fnBlackSaturation; // N_black saturation value
38
39 ClassDef(AliSlowNucleonModelExp,2) // Gray Particle Model (Experiment inspired)
40};
41#endif
42
43
44
45
46
47
48