11 #include "MicroStat/StatWeight.h"
45 void initialiseWeightList();
107 return fLegendProbaMin;
116 if (fTheLegend) fTheLegend->
Draw();
#define ClassDef(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Base class for KaliVeda framework.
Abstract base class container for multi-particle events.
Monte-Carlo sampling of events with statistical weights .
virtual ~MCSampler()
Destructor.
void PlotProbabilities(double emin=0., double emax=100., double estep=1., Option_t *opt="")
void PlotMultiplicities(double emin=0., double emax=100., double estep=1., Option_t *opt="")
MCSampler()
Default constructor.
StatWeight * GetWeight(Int_t i) const
void SetUpTreeBranches(KVEvent *&event, TTree *theTree, const TString &bname)
void SetEventList(TTree *t, const TString &branchname)
Define the TTree or TChain containing all possible events (partitions).
void SetLegendProbaMin(Double_t p)
void GenerateEvents(TTree *, KVEvent *event, Double_t, Long64_t npartitions, Long64_t nev_part=10)
Bool_t SetExcitationEnergy(Double_t Exx)
Long64_t PickRandomChannel()
void CalculateWeights(Double_t excitation_energy)
KVEvent * GetPartition(Long64_t i)
Double_t GetLegendProbaMin() const
void SetModifyMasses(Bool_t yes=kTRUE)
void SetStatWeight(const TString &)
StatWeight * GetRandomChannelWeight() const
void GenerateEvent(TTree *theTree, KVEvent *event)
TClonesArray * GetWeights() const
Double_t GetSumWeights() const
Abstract base class for calculating statistical weights for events .
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
void Draw(Option_t *option="") override