Unable to understand "AddHisto"-class in -E mode of MA5

Asked by SUBHASISH BEHERA

Dear Benjamin,
      I have gone through the paper arXiv : 1405.3982.

I am unable to follow the syntex : Manager()->AddHisto("<Name of Histogram: ptl1>",20,50,500,"<apply to this SignalRegion Name>");

My question is :

Q:1. What will be in the X-axis and Y-axis ?

Q:2. Bin and range is defined for X-axis only, What will be the bin or range in Y-axis ?

Q:3. Can we have more arguments in the AddHisto function ?

Thanks,

Subhasish

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Fuks
Solved:
Last query:
Last reply:
Revision history for this message
Best Benjamin Fuks (fuks) said :
#1

Dear Subhasish,

> Q:1. What will be in the X-axis and Y-axis ?
The X axis is the observable you choose to plot, the y-axis is the number of events.

> Q:2. Bin and range is defined for X-axis only, What will be the bin or range in Y-axis ?
There is none. You get the histogram under the form of a text file that you must then postprocess.

> Q:3. Can we have more arguments in the AddHisto function ?
No. Only 1D histograms are supported. However, the code is interface with root so that you could use all root functionalities associated with 2D and 3D plots.

Cheers,

Benjamin

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#2

Thanks Benjamin Fuks, that solved my question.