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")){
101 if ((
fHistType = dynamic_cast<TPBHistType *>(obj))) found_histtype =
kTRUE;
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")){
172 if ((
fHistType = dynamic_cast<TPBHistType *>(obj))) found_histtype =
kTRUE;
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);
virtual void Begin(TTree *tree)
The Begin() function is called at the start of the query.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
Random number generator class based on M.
TSelectorList * fOutput
! List of objects created during processing
tomato 3-D histogram with a float per channel (see TH1 documentation)}
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...
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
tomato 1-D histogram with a float per channel (see TH1 documentation)}
TObject * FindObject(const char *name) const
Find object using its name.
virtual void SlaveTerminate()
The SlaveTerminate() function is called after all entries or objects have been processed.
virtual const char * GetOption() const
virtual void SlaveBegin(TTree *tree)
The SlaveBegin() function is called after the Begin() function.
EHistType GetType() const
Named parameter, streamable and storable.
virtual void Terminate()
The Terminate() function is the last function to be called during a query.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
tomato 2-D histogram with a float per channel (see TH1 documentation)}
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
char * Form(const char *fmt,...)
Int_t Fill(Double_t)
Invalid Fill method.
virtual Bool_t Process(Long64_t entry)
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
virtual ~TSelHist()
Destructor.
THist< 3, float, THistStatContent, THistStatUncertainty > TH3F
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
TList * fInput
List of objects available during processing.
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
virtual void Add(TObject *obj)
A TTree object has a header with a name and a title.
const AParamType & GetVal() const
PROOF selector for CPU-intensive benchmark test.
Double_t Sqrt(Double_t x)
virtual void Update()
Update canvas pad buffers.
virtual void Print(Option_t *option="") const
Default print for collections, calls Print(option, 1).
virtual const char * GetName() const
Returns name of object.
Int_t Fill(Double_t)
Invalid Fill method.
THist< 2, float, THistStatContent, THistStatUncertainty > TH2F
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.