Hi Horst,
This is the expected behaviour.
When you are in command mode, only the current pad is updated.
However, if you click on your first pad, it will also be updated
and you should see the same picture in both pads.
What you want to do is to display the result of a first pass
in top pad, and in the second pad show a DIFFERENT object.
After the first pass, you should copy the resulting histogram
into a "clone" histogram and add new entries to the clone.
See the modified macro below:
{
pad1->cd();
MW21->Draw("dMW21r>>hdMW21", "dMW21r > 0");
// draw coordinate with cut, save in (not yet existing) histogram
hdMW21
TH1F *h2 = (TH1F*)->Clone();
h2->SetName("h2");
pad2->cd();
MW21->Draw("dMW21u>>+h2", "dMW21u > 0");
// draw other coordinate with cut, add to histogram hdMW21
}
Rene Brun