23 TH1D *
hpx =
new TH1D(
"hpx",
"This is the px distribution",100,-4,4);
48 serv->
RegisterCommand(
"/Start",
"bFillHist=kTRUE;",
"button;rootsys/icons/ed_execute.png");
49 serv->
RegisterCommand(
"/Stop",
"bFillHist=kFALSE;",
"button;rootsys/icons/ed_interrupt.png");
56 serv->
RegisterCommand(
"/ResetHPX",
"/hpx/->Reset()",
"button;rootsys/icons/ed_delete.png");
57 serv->
RegisterCommand(
"/ResetHPXPY",
"/hpxpy/->Reset()",
"button;rootsys/icons/bld_delete.png");
63 serv->
SetItemField(
"/Debug",
"value",
"\\(\\displaystyle{x+1\\over y-1}\\)");
85 serv->
SetItemField(
"/Debug",
"value",
Form(
"\\(\\displaystyle{x+1\\over y-1}\\) Loop:%d", cnt/kUPDATE));
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
Random number generator class based on M.
virtual void SetDirectory(TDirectory *dir)
By default when an histogram is created, it is added to the list of histogram objects in the current ...
Bool_t CreateItem(const char *fullname, const char *title)
virtual void Sleep(UInt_t milliSec)
Sleep milliSec milli seconds.
Bool_t Register(const char *subfolder, TObject *obj)
Register object in subfolder.
R__EXTERN TSystem * gSystem
virtual void SetFillColor(Color_t fcolor)
char * Form(const char *fmt,...)
1-D histogram with a double per channel (see TH1 documentation)}
Bool_t Hide(const char *fullname, Bool_t hide=kTRUE)
hides folder or element from web gui
Bool_t RegisterCommand(const char *cmdname, const char *method, const char *icon=0)
Register command which can be executed from web interface.
Int_t Fill(Double_t)
Invalid Fill method.
Bool_t SetItemField(const char *fullname, const char *name, const char *value)
2-D histogram with a double per channel (see TH1 documentation)}