Class StatMoments2D#

Inheritance Relationships#

Base Type#

Class Documentation#

class StatMoments2D : public OrbitUtils::CppPyWrapper#

Public Functions

StatMoments2D()#

Constructor with max order = 2 by default

StatMoments2D(int maxOrder)#

Constructor with maximal order parameter

virtual ~StatMoments2D()#

Destructor

void setMaxOrder(int maxOrder)#

Sets the maximal order of the moments

int getMaxOrder()#

Returns the maximal order of the moments

void clean()#

Initialize all internal arrays to get ready to gather statistical information.

void account(double u, double up)#

Takes into account the one point (u,up)

double getStatMoment(int order_u, int order_up)#

Returns the statistical moment of the distribution with particular orders for u and up

double getStatMomentU(int order_u)#

Returns the statistical moment of the distribution with particular order for u

double getStatMomentUP(int order_up)#

Returns the statistical moment of the distribution with particular order for up

double getMinU()#

Returns the minimal value of u

double getMaxU()#

Returns the maximal value of u

double getMinUP()#

Returns the minimal value of up

double getMaxUP()#

Returns the maximal value of up

int getCount()#

Returns the number of points in the statistic

void synchronizeMPI(pyORBIT_MPI_Comm *pyComm)#

It will synchronize the moments through the MPI communicator

double getEmittance()#

Returns the emittance

double getAlpha()#

Returns Twiss alpha

double getBeta()#

Returns Twiss beta

double getGamma()#

Returns Twiss gamma

double getRmsU()#

Returns the rms value of u

double getRmsUP()#

Returns the rms value of up