evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtSpinDensity.hh>

Public Member Functions

 EvtSpinDensity (const EvtSpinDensity &density)
 
EvtSpinDensityoperator= (const EvtSpinDensity &density)
 
virtual ~EvtSpinDensity ()
 
 EvtSpinDensity ()
 
void setDim (int n)
 
int getDim () const
 
void set (int i, int j, const EvtComplex &rhoij)
 
const EvtComplexget (int i, int j) const
 
double normalizedProb (const EvtSpinDensity &d)
 
void setDiag (int n)
 
int check ()
 

Private Attributes

EvtComplexPtrPtr rho
 
int dim
 

Friends

std::ostream & operator<< (std::ostream &s, const EvtSpinDensity &d)
 

Detailed Description

Definition at line 28 of file EvtSpinDensity.hh.

Constructor & Destructor Documentation

◆ EvtSpinDensity() [1/2]

EvtSpinDensity::EvtSpinDensity ( const EvtSpinDensity density)

Definition at line 34 of file EvtSpinDensity.cpp.

◆ ~EvtSpinDensity()

EvtSpinDensity::~EvtSpinDensity ( )
virtual

Definition at line 63 of file EvtSpinDensity.cpp.

◆ EvtSpinDensity() [2/2]

EvtSpinDensity::EvtSpinDensity ( )

Definition at line 74 of file EvtSpinDensity.cpp.

Member Function Documentation

◆ check()

int EvtSpinDensity::check ( )

Definition at line 163 of file EvtSpinDensity.cpp.

◆ get()

const EvtComplex & EvtSpinDensity::get ( int  i,
int  j 
) const

Definition at line 113 of file EvtSpinDensity.cpp.

◆ getDim()

int EvtSpinDensity::getDim ( ) const

Definition at line 102 of file EvtSpinDensity.cpp.

◆ normalizedProb()

double EvtSpinDensity::normalizedProb ( const EvtSpinDensity d)

Definition at line 132 of file EvtSpinDensity.cpp.

◆ operator=()

EvtSpinDensity & EvtSpinDensity::operator= ( const EvtSpinDensity density)

Definition at line 49 of file EvtSpinDensity.cpp.

◆ set()

void EvtSpinDensity::set ( int  i,
int  j,
const EvtComplex rhoij 
)

Definition at line 107 of file EvtSpinDensity.cpp.

◆ setDiag()

void EvtSpinDensity::setDiag ( int  n)

Definition at line 119 of file EvtSpinDensity.cpp.

◆ setDim()

void EvtSpinDensity::setDim ( int  n)

Definition at line 80 of file EvtSpinDensity.cpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  s,
const EvtSpinDensity d 
)
friend

Member Data Documentation

◆ dim

int EvtSpinDensity::dim
private

Definition at line 47 of file EvtSpinDensity.hh.

◆ rho

EvtComplexPtrPtr EvtSpinDensity::rho
private

Definition at line 46 of file EvtSpinDensity.hh.


The documentation for this class was generated from the following files: