I am a novice in ROOT. I am using it for the first time, so my question may be naive.
I have a root file generated by Delphes. I can not access the branches and leaves in a tree. I set the command
$ TFile f=new TFile(“abc.root”,“read”);
$ TTree t=(TTree*)f->Get(“Delphes”);
This shows me list of all branches /leaves which are particles PT, momentums etc.
*Br 192 :Electron : Int_t Electron_ *
*Entries : 20000 : Total Size= 178247 bytes File Size = 37276 *
*Baskets : 46 : Basket Size= 64000 bytes Compression= 4.40 *
*Br 195 :Electron.PT : Float_t PT[Electron_] *
*Entries : 20000 : Total Size= 90018 bytes File Size = 15123 *
*Baskets : 46 : Basket Size= 4577 bytes Compression= 5.86 *
I want to access the PTs of the particles here. How can I do this ? I was trying with
It does not work. Any help/suggestions will be appreciated.