46 : fHistType(0), fNHists(16), fDraw(0), fHist1D(0), fHist2D(0), fHist3D(0),
47 fRandom(0), fCHist1D(0), fCHist2D(0), fCHist3D(0)
97 while ((obj = nxt())){
100 if (sinput.
Contains(
"PROOF_Benchmark_HistType")){
104 if (sinput.
Contains(
"PROOF_BenchmarkNHists")){
112 Error(
"Begin",
"PROOF_BenchmarkNHists not type TParameter<Int_t>*");
116 if (sinput.
Contains(
"PROOF_BenchmarkDraw")){
124 Error(
"Begin",
"PROOF_BenchmarkDraw not type TParameter<Int_t>*");
130 if (!found_histtype){
132 Warning(
"Begin",
"PROOF_Benchmark_HistType not found; using default: %d",
136 Warning(
"Begin",
"PROOF_BenchmarkNHists not found; using default: %d",
140 Warning(
"Begin",
"PROOF_BenchmarkDraw not found; using default: %d",
168 while ((obj = nxt())){
171 if (sinput.
Contains(
"PROOF_Benchmark_HistType")){
175 if (sinput.
Contains(
"PROOF_BenchmarkNHists")){
183 Error(
"SlaveBegin",
"PROOF_BenchmarkNHists not type TParameter"
188 if (sinput.
Contains(
"PROOF_BenchmarkDraw")){
196 Error(
"SlaveBegin",
"PROOF_BenchmarkDraw not type TParameter"
203 if (!found_histtype){
205 Warning(
"SlaveBegin",
"PROOF_Benchmark_HistType not found; using default: %d",
209 Warning(
"SlaveBegin",
"PROOF_BenchmarkNHists not found; using default: %d",
213 Warning(
"SlaveBegin",
"PROOF_BenchmarkDraw not found; using default: %d",
239 100, -3., 3., 100, -3., 3.);
328 fCHist1D =
new TCanvas(
"CHist1D",
"Proof TSelHist Canvas (1D)", 200, 10,
331 nside = (nside*nside <
fNHists) ? nside+1 : nside;
348 fCHist2D =
new TCanvas(
"CHist2D",
"Proof TSelHist Canvas (2D)", 200, 10,
351 nside = (nside*nside <
fNHists) ? nside+1 : nside;
368 fCHist3D =
new TCanvas(
"CHist3D",
"Proof TSelHist Canvas (3D)", 200, 10,
371 nside = (nside*nside <
fNHists) ? nside+1 : nside;
380 if (
fHist3D[i]) printf(
"fHist3D[%d] found\n", i);
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
TVirtualPad * cd(Int_t subpadnumber=0) override
Set current canvas & pad.
void Update() override
Update canvas pad buffers.
void Print(Option_t *option="") const override
Default print for collections, calls Print(option, 1).
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.
void Draw(Option_t *option="") override
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)
Int_t Fill(Double_t) override
Invalid Fill method.
3-D histogram with a float per channel (see TH1 documentation)
Int_t Fill(Double_t) override
Invalid Fill method.
TObject * FindObject(const char *name) const override
Find object using its name.
void Add(TObject *obj) override
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
EHistType GetType() const
void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0) override
Automatic pad generation by division.
Named parameter, streamable and storable.
Random number generator class based on M.
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
PROOF selector for CPU-intensive benchmark test.
void SlaveBegin(TTree *tree) override
The SlaveBegin() function is called after the Begin() function.
Bool_t Process(Long64_t entry) override
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
void SlaveTerminate() override
The SlaveTerminate() function is called after all entries or objects have been processed.
~TSelHist() override
Destructor.
void Begin(TTree *tree) override
The Begin() function is called at the start of the query.
void Terminate() override
The Terminate() function is the last function to be called during a query.
TList * fInput
List of objects available during processing.
TSelectorList * fOutput
! List of objects created during processing
const char * GetOption() const override
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
A TTree represents a columnar dataset.
Double_t Sqrt(Double_t x)
Returns the square root of x.