35 int idx = !strcmp(str,
"go 0") ? 0 : 1;
45 hpx =
new TH1F(
"hpx",
"This is the px distribution",100,-4,4);
48 hpx =
new TH2F(
"hpxpy",
"py vs px",40,-4,4,40,-4,4);
59 for (
int i = 0; i < 25000; i++) {
67 mess.WriteObject(hpx);
69 messlen += mess.Length();
70 cmesslen += mess.CompLength();
73 sock->
Send(
"Finished");
76 printf(
"Average compression ratio: %g\n", messlen/cmesslen);
R__EXTERN TBenchmark * gBenchmark
R__EXTERN TRandom * gRandom
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void Start(const char *name)
Starts Benchmark with the specified name.
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
1-D histogram with a float per channel (see TH1 documentation)}
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
2-D histogram with a float per channel (see TH1 documentation)}
static void EnableSchemaEvolutionForAll(Bool_t enable=kTRUE)
Static function enabling or disabling the automatic schema evolution.
virtual void SetSeed(ULong_t seed=0)
Set the random generator seed.
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
void SetCompressionLevel(Int_t level=ROOT::RCompressionSetting::ELevel::kUseMin)
See comments for function SetCompressionSettings.
virtual Int_t Recv(TMessage *&mess)
Receive a TMessage object.
virtual void Close(Option_t *opt="")
Close the socket.
virtual Int_t Send(const TMessage &mess)
Send a TMessage object.