1 #include "KVSubEventMaker.h"
69 std::random_device rd;
75 auto req_int = std::floor(required);
76 auto req_frac = required - req_int;
80 if (req_frac > 1.e-10) {
85 if (i < req_int)
p->AddGroup(
GetName());
winID h TVirtualViewer3D TVirtualGLPainter p
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 g
R__EXTERN TRandom * gRandom
Description of properties and kinematics of atomic nuclei.
Global variable for defining random subevents.
void Init() override
Initialisation of internal variables, called once before beginning treatment.
void Calculate() override
Calculation of global variable value(s) after filling is finished.
void fill(const KVNucleus *) override
add to internal list
std::vector< KVNucleus * > particles
Double_t getvalue_int(Int_t) const override
void Reset() override
Reset internal variables, called before treatment of each event.
void init()
PRIVATE method.
void Copy(TObject &obj) const override
Double_t GetParameter(const Char_t *par) const
Int_t fType
type of variable global; = kOneBody, kTwoBody or kNBody
const char * GetName() const override
virtual Double_t Uniform(Double_t x1, Double_t x2)