I always used MakeClass. But with this tree I again have a problem:
> //////////////////////////////////////////////////////////
> // This class has been automatically generated on
> // Mon Dec 25 16:49:00 2017 by ROOT version 5.26/00d
> // from TTree t/tree with events
> // found on file: test_newgeom_corrYZ.root
> //////////////////////////////////////////////////////////
>
> #ifndef testclass_h
> #define testclass_h
>
> #include <TROOT.h>
> #include <TChain.h>
> #include <TFile.h>
>
> class testclass {
> public :
> TTree *fChain; //!pointer to the analyzed TTree or TChain
> Int_t fCurrent; //!current Tree number in a TChain
>
> // Declaration of leaf types
> Int_t np;
> Double_t cnp;
> Int_t ncp;
> Double_t cncp;
> Int_t ntrk;
> Double_t cntrk;
> Int_t ntrkf;
> Double_t cntrkf;
> Int_t tpc;
> Double_t ctpc;
> Int_t dch;
> Double_t cdch;
> Int_t farich;
> Double_t cfarich;
> Int_t csi;
> Double_t ccsi;
> Int_t ifr;
> Double_t cifr;
> Int_t farichL1;
> Double_t cfarichL1;
> Int_t farichL3;
> Double_t cfarichL3;
> //Event *event;
> EventHeader fHeader;
> //vector<Primary> fPrimary;
> //vector<TPCHit> fTPCHits;
> //vector<DCHHit> fDCHHits;
> //vector<FRCHit> fFRCHits;
> //vector<FRCPoint> fFRCPoints;
> //vector<CSIHit> fCSIHits;
> //vector<IFRHit> fIFRHits;
> //vector<BEPoint> fBEPoints;
> ...
Most of data, which are objects (not numbers or arrays) are not included in class - only fHeader is included. Why?