jhplot.stat
Class FactorialMoments
- java.lang.Object
-
- jhplot.stat.FactorialMoments
-
public class FactorialMoments extends java.lang.Object
Normalised factorial moments (NFM). They characterise local multiplicity fluctuations inside a restricted phase space. It can calculate factorial moments (getFM() method) or normalized factorial moment (getNFM() method). The original version with horizontal binning was proposed in: A.Bialas, R.Peschanski, Nucl. Phys. B273 (1986) 703 B308 (1988) 857
-
-
Constructor Summary
Constructors Constructor and Description FactorialMoments(int NmaxOrder, int Bins, int step, double Min, double Max)
Initialize factorial-moment calculations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
doc()
Show online documentation.boolean
eval()
Evaluate factorial moments at the end of the runP1D
getAv()
Return average multiplicity as a function of binP1D
getFM(int order)
Return factorial moments (without normalization): log(FM) as a function of number of bins.P1D
getNFM(int order)
Return results: NFM as a function of number of bins.void
run(double[] v)
Collect information about sampling.
-
-
-
Constructor Detail
-
FactorialMoments
public FactorialMoments(int NmaxOrder, int Bins, int step, double Min, double Max)
Initialize factorial-moment calculations.- Parameters:
NmaxOrder
- Maximum order of factorial moments for the calculationsBins
- Defines Max number of bins used to divide the phase space (>1). The actual number of divisions is step*Bins. Therefore, 10 bins with step=4 means 400 divisions between Min and Maxstep
- used to increase step for divisionsMin
- Min value in XMax
- Max value in X
-
-
Method Detail
-
run
public void run(double[] v)
Collect information about sampling. Put this method in a loop and pass vector with particle characteristics.- Parameters:
v
- - vector characterizing particles (like momentum, speed etc)
-
eval
public boolean eval()
Evaluate factorial moments at the end of the run- Returns:
- true if success
-
getNFM
public P1D getNFM(int order)
Return results: NFM as a function of number of bins. The order should be >1 but smaller than 5;- Parameters:
order
- order of normalized factorial moment (from 2-5)- Returns:
- normalized factorial moment
-
getFM
public P1D getFM(int order)
Return factorial moments (without normalization): log(FM) as a function of number of bins. The order should be >1 but smaller than 5;- Parameters:
order
- order of factorial moment (from 2-10)- Returns:
- factorial moment
-
getAv
public P1D getAv()
Return average multiplicity as a function of bin- Returns:
- average multiplicity in bins
-
doc
public void doc()
Show online documentation.
-
-
DMelt 3.0 © DataMelt by jWork.ORG