[ROOT] TTreeFormula: Should this work?

From: Mike Kordosky (kordosky@mail.hep.utexas.edu)
Date: Fri Jun 29 2001 - 08:36:05 MEST


Hi,

I have a tree with a TClonesArray branch, named fSummary.  The array
contains objects of type:

class TestSummary: public TObject{
	private:
			UShort_t fType;
			Double_t fMean;
			Float_t fHV;
			TH1F* fH;
	public:
		TestSummary(): fH(0) { }
	// ... //
}

I am writing this in split mode 2, root-3.01.05.

I find that I can do such things as:

tree->Draw("fSummary[1].fMean");

but not:

tree->Draw("fSummary[3].fH.GetMean()");
tree->Draw("fSummary.fH.GetMean()");

which give a segv.  Is this the expected behaviour? Based on examples I
have found, the problem appears to be the clones array.  Is there any plan
to support such queries in the future?

Mike Kordosky

///////////////////////////////////////////////////////////////////  
// Graduate Research Assistant  //  High Energy Physics          //
// RLM Office: (512) 471-8426  //  University of Texas, Austin   //
// RLM Lab: (512) 471-3526    //  kordosky@hep.utexas.edu        //
// ENS Lab: (512) 475-8673   //  kordosky@fnal.gov               //
///////////////////////////////////////////////////////////////////



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:50 MET