KaliVeda
Toolkit for HIC analysis
mdweight.h
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 
20  class mdweight : public StatWeight {
21  private:
26  static Double_t edist(Double_t*, Double_t*);
28 
30 
31  protected:
32 
33  public:
34  mdweight();
35  virtual ~mdweight();
36 
37  virtual void SetWeight(KVEvent* e, Double_t E);
38  void SetAnisotropy(double a, double b)
39  {
45  }
46 
47  void initGenerateEvent(KVEvent* partition);
48  void resetGenerateEvent();
50 
51  void printKElist() const
52  {
53  fKEDist.Print();
54  }
55 
56  ClassDef(mdweight, 1) //Calculate molecular dynamics ensemble weights for events
57  };
58 
59 }/* namespace MicroStat */
60 
61 #endif
int Int_t
double Double_t
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t b
Abstract base class container for multi-particle events.
Definition: KVEvent.h:67
Extended version of ROOT THashList.
Definition: KVHashList.h:29
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:126
Abstract base class for calculating statistical weights for events .
Definition: StatWeight.h:21
Calculate molecular dynamics ensemble weights for events .
Definition: mdweight.h:20
void resetGenerateEvent()
Definition: mdweight.cpp:171
Double_t log10twelve
Definition: mdweight.h:22
void initGenerateEvent(KVEvent *partition)
Definition: mdweight.cpp:153
virtual void SetWeight(KVEvent *e, Double_t E)
Definition: mdweight.cpp:120
Double_t eDisp
Definition: mdweight.h:23
void printKElist() const
Definition: mdweight.h:51
TF1 * getKEdist(Int_t, Double_t)
function used to draw random CosTheta values
Definition: mdweight.cpp:42
Double_t massTot
Definition: mdweight.h:23
static Double_t edist(Double_t *, Double_t *)
Definition: mdweight.cpp:19
Double_t massTot0
Definition: mdweight.h:23
virtual ~mdweight()
Destructor.
Definition: mdweight.cpp:109
virtual void nextparticleGenerateEvent(Int_t, KVNucleus *)
Definition: mdweight.cpp:188
void SetAnisotropy(double a, double b)
Definition: mdweight.h:38
KVHashList fKEDist
Definition: mdweight.h:24
Double_t log2pi
Definition: mdweight.h:22
virtual void Print(Option_t *option, const char *wildcard, Int_t recurse=1) const
virtual void SetParameters(const Double_t *params)
TArc a