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.
1-D histogram with a float per channel (see TH1 documentation)
2-D histogram with a float per channel (see TH1 documentation)
3-D histogram with a float per channel (see TH1 documentation)
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.
TObject()
TObject constructor.
Named parameter, streamable and storable.
Random number generator class based on M.
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.