KaliVeda
Toolkit for HIC analysis
mcweight.h
1 
4 #ifndef __MCWEIGHT_H
5 #define __MCWEIGHT_H
6 
7 #include "StatWeight.h"
8 
9 namespace MicroStat {
10 
17  class mcweight : public StatWeight {
18 
19  protected:
20 
21  public:
22  mcweight();
23  virtual ~mcweight();
24 
25  virtual void SetWeight(KVEvent* e, Double_t E);
26  void initGenerateEvent(KVEvent* partition);
27  void resetGenerateEvent();
29 
30  ClassDef(mcweight, 1) //Calculate microcanonical statistical weights for events
31  };
32 
33 }/* namespace MicroStat */
34 
35 #endif
int Int_t
#define e(i)
double Double_t
#define ClassDef(name, id)
Abstract base class container for multi-particle events.
Definition: KVEvent.h:67
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 microcanonical gas statistical weights for events .
Definition: mcweight.h:17
virtual ~mcweight()
Destructor.
Definition: mcweight.cpp:24
mcweight()
Default constructor.
Definition: mcweight.cpp:14
void resetGenerateEvent()
Definition: mcweight.cpp:53
virtual void SetWeight(KVEvent *e, Double_t E)
Calculate event weight for given available energy.
Definition: mcweight.cpp:34
void initGenerateEvent(KVEvent *partition)
Definition: mcweight.cpp:44
virtual void nextparticleGenerateEvent(Int_t, KVNucleus *)
Definition: mcweight.cpp:62
constexpr Double_t E()