23 "Demo memory mapped file with histograms");
27 hpx =
new TH1F(
"hpx",
"This is the px distribution",100,-4,4);
28 hpxpy =
new TH2F(
"hpxpy",
"py vs px",40,-4,4,40,-4,4);
29 hprof =
new TProfile(
"hprof",
"Profile of pz versus px",100,-4,4,0,20);
32 hpx->SetFillColor(48);
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
static TMapFile * Create(const char *name, Option_t *option="READ", Int_t size=kDefaultMapSize, const char *title="")
Create a memory mapped file.
static void SetMapAddress(Long_t addr)
Set preferred map address.
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
R__EXTERN TRandom * gRandom
THist< 2, float, THistStatContent, THistStatUncertainty > TH2F