15 c1 =
new TCanvas(
"c1",
"Shared Memory Consumer Example",200,10,700,780);
16 pad1 =
new TPad(
"pad1",
"This is pad1",0.02,0.52,0.98,0.98,21);
17 pad2 =
new TPad(
"pad2",
"This is pad2",0.02,0.02,0.48,0.48,21);
18 pad3 =
new TPad(
"pad3",
"This is pad3",0.52,0.02,0.98,0.48,21);
41 hpxpy = (
TH2F *)
mfile->Get(
"hpxpy", hpxpy);
45 if (!
gROOT->IsBatch()) {
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
static TMapFile * Create(const char *name, Option_t *option="READ", Int_t size=kDefaultMapSize, const char *title="")
Create a memory mapped file.
1-D histogram with a float per channel (see TH1 documentation)}
virtual Double_t GetEntries() const
return the current number of entries
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
virtual void Sleep(UInt_t milliSec)
Sleep milliSec milli seconds.
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
virtual Double_t GetMean(Int_t axis=1) const
For axis = 1,2 or 3 returns the mean value of the histogram along X,Y or Z axis.
R__EXTERN TSystem * gSystem
virtual void Draw(Option_t *option="")
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)}
The most important graphics class in the ROOT system.
Double_t GetRMS(Int_t axis=1) const
ClassImp(TMCParticle) void TMCParticle printf(": p=(%7.3f,%7.3f,%9.3f) ;", fPx, fPy, fPz)
virtual void Update()
Update canvas pad buffers.
void Modified(Bool_t flag=1)