KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
mcweight.h
Go to the documentation of this file.
1 
4 #ifndef __MCWEIGHT_H
5 #define __MCWEIGHT_H
6 
7 #include "StatWeight.h"
8 
9 namespace MicroStat {
10 
16  class mcweight : public StatWeight {
17 
18  protected:
19 
20  public:
21  mcweight();
22  virtual ~mcweight();
23 
24  virtual void SetWeight(KVEvent* e, Double_t E);
25  void initGenerateEvent(KVEvent* partition);
26  void resetGenerateEvent();
28 
29  ClassDef(mcweight, 1) //Calculate microcanonical statistical weights for events
30  };
31 
32 }/* namespace MicroStat */
33 
34 #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:66
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:125
Abstract base class for calculating statistical weights for events .
Definition: StatWeight.h:20
Calculate microcanonical gas statistical weights for events .
Definition: mcweight.h:16
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()