Hi Rooters,
I have a question about selecting bins in THnSparse. It is the following.
If I want to select only a certain range of a axis and do the projection of
the
THnSparse, then I do
thnsparse->GetAxis(axisX)->SetRange(bin0, bin1);
hh=(TH1D*)thnsparse->Projection(axisY);
But what if I want to selection discontinuous patches of bins, like e.g.
[bin0-bin1]+[bin4, bin5],
then is there a simple way to do the projection?
Many thanks!
best regards,
Xianguo
-- Xianguo Lu Physikalisches Institut Raum 204 OG2 Philosophenweg 12 D-69120 Heidelberg Tel: +49-6221-549499Received on Sat Mar 26 2011 - 15:12:53 CET
This archive was generated by hypermail 2.2.0 : Wed Mar 30 2011 - 11:50:01 CEST