KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
mdweight.h
Go to the documentation of this file.
1 
4 #ifndef __MDWEIGHT_H
5 #define __MDWEIGHT_H
6 
7 #include "StatWeight.h"
8 #include "TF1.h"
9 #include "KVHashList.h"
10 
11 namespace MicroStat {
12 
19  class mdweight : public StatWeight {
20  private:
25  static Double_t edist(Double_t*, Double_t*);
27 
29 
30  protected:
31 
32  public:
33  mdweight();
34  virtual ~mdweight();
35 
36  virtual void SetWeight(KVEvent* e, Double_t E);
37  void SetAnisotropy(double a, double b)
38  {
44  }
45 
46  void initGenerateEvent(KVEvent* partition);
47  void resetGenerateEvent();
49 
50  void printKElist() const
51  {
52  fKEDist.Print();
53  }
54 
55  ClassDef(mdweight, 1) //Calculate molecular dynamics ensemble weights for events
56  };
57 
58 }/* namespace MicroStat */
59 
60 #endif
int Int_t
#define b(i)
double Double_t
#define ClassDef(name, id)
Base class container for multi-particle events.
Definition: KVEvent.h:176
Extended version of ROOT THashList.
Definition: KVHashList.h:28
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:125
Abstract base class for calculating statistical weights for events .
Definition: StatWeight.h:17
Calculate molecular dynamics ensemble weights for events .
Definition: mdweight.h:19
void resetGenerateEvent()
Definition: mdweight.cpp:173
Double_t log10twelve
Definition: mdweight.h:21
void initGenerateEvent(KVEvent *partition)
Definition: mdweight.cpp:153
virtual void SetWeight(KVEvent *e, Double_t E)
Definition: mdweight.cpp:119
Double_t eDisp
Definition: mdweight.h:22
void printKElist() const
Definition: mdweight.h:50
TF1 * getKEdist(Int_t, Double_t)
function used to draw random CosTheta values
Definition: mdweight.cpp:41
Double_t massTot
Definition: mdweight.h:22
static Double_t edist(Double_t *, Double_t *)
Definition: mdweight.cpp:18
Double_t massTot0
Definition: mdweight.h:22
virtual ~mdweight()
Destructor.
Definition: mdweight.cpp:108
virtual void nextparticleGenerateEvent(Int_t, KVNucleus *)
Definition: mdweight.cpp:190
void SetAnisotropy(double a, double b)
Definition: mdweight.h:37
KVHashList fKEDist
Definition: mdweight.h:23
Double_t log2pi
Definition: mdweight.h:21
virtual void Print(Option_t *option, const char *wildcard, Int_t recurse=1) const
virtual void SetParameters(const Double_t *params)
auto * a