KaliVeda
Toolkit for HIC analysis
MicroStat::mdweight Class Reference

Detailed Description

Calculate molecular dynamics ensemble weights for events .

Examples
MicroStat_example.C, and MicroStat_example2.C.

Definition at line 20 of file mdweight.h.

#include <mdweight.h>

Inheritance diagram for MicroStat::mdweight:

Public Member Functions

 mdweight ()
 
virtual ~mdweight ()
 Destructor. More...
 
void initGenerateEvent (KVEvent *partition)
 
virtual void nextparticleGenerateEvent (Int_t, KVNucleus *)
 
void printKElist () const
 
void resetGenerateEvent ()
 
void SetAnisotropy (double a, double b)
 
virtual void SetWeight (KVEvent *e, Double_t E)
 
- Public Member Functions inherited from MicroStat::StatWeight
 StatWeight ()
 Default constructor. More...
 
virtual ~StatWeight ()
 Destructor. More...
 
Int_t Compare (const TObject *obj) const
 sort according to weight More...
 
void GenerateEvent (KVEvent *partition, KVEvent *event)
 
Double_t GetAvailableEnergy () const
 
Long64_t GetIndex () const
 
Double_t GetWeight () const
 
Bool_t IsSortable () const
 
void ls (Option_t *="") const
 
void SetIndex (Long64_t i)
 

Constructor & Destructor Documentation

◆ mdweight()

MicroStat::mdweight::mdweight ( )

Definition at line 90 of file mdweight.cpp.

◆ ~mdweight()

MicroStat::mdweight::~mdweight ( )
virtual

Destructor.

Definition at line 110 of file mdweight.cpp.

Member Function Documentation

◆ initGenerateEvent()

void MicroStat::mdweight::initGenerateEvent ( KVEvent *  partition)
virtual

Call before generating an event with StatWeight::GenerateEvent using the given partition and available energy

Implements MicroStat::StatWeight.

Examples
MicroStat_example.C, and MicroStat_example2.C.

Definition at line 154 of file mdweight.cpp.

◆ nextparticleGenerateEvent()

void MicroStat::mdweight::nextparticleGenerateEvent ( Int_t  N,
KVNucleus *  part 
)
virtual

Called by StatWeight::GenerateEvent when adding a particle to the event N is the number of particles still to add including this one

The algorithm was written by Daniel Cussol (LPC Caen, France).

Implements MicroStat::StatWeight.

Definition at line 189 of file mdweight.cpp.

◆ printKElist()

void MicroStat::mdweight::printKElist ( ) const
inline

Definition at line 51 of file mdweight.h.

◆ resetGenerateEvent()

void MicroStat::mdweight::resetGenerateEvent ( )
virtual

Called by StatWeight::GenerateEvent before generating another event using the same partition as the last

Implements MicroStat::StatWeight.

Examples
MicroStat_example.C, and MicroStat_example2.C.

Definition at line 172 of file mdweight.cpp.

◆ SetAnisotropy()

void MicroStat::mdweight::SetAnisotropy ( double  a,
double  b 
)
inline

Set anisotropy of particle momentum distribution a,b are maximum and minimum of P(cos theta) i.e. P(cos theta = +/-1) = a P(cos theta= 0) = b

Definition at line 38 of file mdweight.h.

◆ SetWeight()

void MicroStat::mdweight::SetWeight ( KVEvent *  e,
Double_t  E 
)
virtual

Set available energy, E, and calculate statistical weight for this event

Implements MicroStat::StatWeight.

Examples
MicroStat_example.C, and MicroStat_example2.C.

Definition at line 121 of file mdweight.cpp.