Sorry if my questions had been discussed previously.
My first question is related to the following problem:
I want to display a respons of electromagnetic calorimeter (EMC) by using
TH2 class. But my EMC has a hole inside its middle part. And I would want
to take it into account, i.e. visualize this feature. For this, I was trying
to apply TCutG class as follows (see macro emc.C in attachment). The
resulting picture is not what I would want. I want the hole to be placed
on a zero level, and a boundary of the hole to have exactly the same
definition as made by “hole->SetPoint”. Could you advice me what
I’m doing wrong? Maybe there exists more elegant and more inexpensive
way (method) to implement that (a hole inside a histogram).
My second question: is it feasible somehow to colour only a part
of histogram? For instance I want to isolate different clusters by
different colours. Again it looks like I need to use TCutG class.
Does something else exist to implement that?
emc.C (1.01 KB)