Hi rooters, I have a root Tree h1 filled with a class Event (very similar to the example in the root/tutorial directory) containing simple variables (float etot, int ncount) and also a TClonesArray* fHits of a class Hit. To analyze the Trees in different files, I made a TChain and used the MakeSelector method. In the resulting h1analysis.h class I read class h1analysis:public TSelector { public: //Event *fEvent; Int_t ncount; Float_t etot; etc... ... ... } I wonder: why the line Event* is commented? why the class Hit and the TClonesArray are not mentioned in h1analysis class? How can I read in the method Process of h1analysis class the content of the TClonesArray ? Thanks Paolo
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET