30void parallelMergeClient(
const std::string &socketPath)
44 hpx =
new TH1F(
"hpx",
"This is the px distribution",100,-4,4);
47 hpx =
new TH2F(
"hpxpy",
"py vs px",40,-4,4,40,-4,4);
51 tree->SetAutoFlush(4000000);
52 tree->Branch(
"px",&px);
58 for (
int i = 0;
i < 25000000; ) {
R__EXTERN TBenchmark * gBenchmark
R__EXTERN TRandom * gRandom
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
1-D histogram with a float per channel (see TH1 documentation)
TH1 is the base class of all histogram classes in ROOT.
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)
Int_t GetServerIdx() const
Int_t Write(const char *name=nullptr, Int_t opt=0, Int_t bufsiz=0) override
Write memory objects to this file and upload them to the parallel merge server.
Bool_t UploadAndReset()
Upload the current file data to the merging server.
A TTree represents a columnar dataset.